Comments (9)
I had this issue on version 1.5 (2011) recently on OS X 10.8.5, and realised that checking the preference "Dropbox Sync" was screwing it up.
Now I've it unchecked and it saves my preferences normally when I quit.
from flycut.
@bool-dev Apple forbids to use CGEventPost call for sandboxed apps. And this part is very import as we use CGEventPost to emulate Command+V shortcut. So there is no way to update AppStore version without breaking main functionality.
from flycut.
I'm seeing this problem too, exactly as @douglsmith has described.
from flycut.
This appears to be a defect of meaning originating somewhere back in the jumpcut code, though I haven't done the full archaeology on it. The "Save" preference is linked to the "savePreference" user default which appears to be used in the code to indicate for saving of preferences as well as saving of clippings (they are both saved to the same file, fwiw). I would suggest that we change Flycut to always save preferences and use the "Save" preference exclusively to control saving of clippings.
Thoughts? Is there any scenario where saving of Flycut preferences would be undesirable? Preferences and clippings are stored in ~/Library/Application Support/Flycut/com.generalarcade.flycut.plist.
- Mark
from flycut.
My initial analysis was incorrect. After digging into DBUserDefaults, NSUserDefaults, and the Flycut / Jumpcut code history I figured out how the preferences are saved. A fix has been submitted via pull request #40.
The problem originated in revision 8 of Jumpcut, which added use of NSUserDefaults without a call to NSUserDefaults's synchronize function on exit. NSUserDefaults documentation states that synchronize is automatically invoked at periodic intervals but not automatically at exit and thus was unreliable without an explicit call. The problem was masked by a call to synchronize whenever a clipping was added if save is enabled. Gennadiy improved synchronization in 2011 when he added clip storage to the same file as preferences. At exit, if the preferences say to save the clippings list, the change Gennadiy made will save the preferences. I extended upon that by calling synchronize at exit if the preferences say not to save the clippings list.
- Mark
from flycut.
Still not fixed!! On El Capitan.
from flycut.
@bool-dev version 1.8?
from flycut.
@TermiT Sorry missed your comment. Version 1.5 from AppStore, any reason that isn't updated as yet?
from flycut.
@TermiT thanks for explaining that! Done, 1.8 works as expected!
from flycut.
Related Issues (20)
- 3-second delay in opening Flycut on Mac Ventura 13.0 (22A380)
- Feature Request: 'Keep track of Image copy and show the copied items in list vertical like in Windows would be better.'
- The keyboard shortcut does not work in the Russian layout
- App regularly crashes on macOS Ventura 13.2 HOT 1
- What happened to sticky bezel? HOT 1
- [Feature Request] Hotkey that copies to the list rather than all
- Consistent CPU usage
- Using Numbers on Intel Mac HOT 2
- Ability to 'pin' select clips HOT 1
- Pretty icon in the status bar HOT 2
- Flycut HOT 4
- Lots of activity but no release in nearly 3 years HOT 1
- Feature request: provide a means to paste not just text, but text with style HOT 1
- Menu Selection not Pasting when Selected HOT 2
- Some functionality is lost on Sonoma (14.0) HOT 1
- A lot of 'NSStringPboardType' and other strange behavior in macOS Sonoma HOT 2
- Copy all screen to clipboard instead paste
- Got new Macbook Pro M3 Max, Flycut not working! HOT 4
- Flycut dead? HOT 9
- Unable to copy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flycut.