4 ms·
Pasteboard counter exists to help apps to not ask again about the same item in the buffer. And nothing stops from using reset it every day.
by xenator 5mo ago
Pasteboard counter exists to help apps to not ask again about the same item in the buffer.
And nothing stops from using reset it every day.
- Barbing 5mo agoWould you elaborate on both points? Any way to reset it as an end user? (Not enough awareness of the issue for search engines to find much.)
- RedComet 5mo agoI think something like a per boot delta added to a (per app?) random base would preserve such functionality.
- echoangle 5mo agoJust generate a new random value instead of incrementing
- RedComet 5mo agoEven that is overkill if all you're interested in is if a change occured.
- echoangle 5mo agoWhat’s an easier way? I’m assuming they want the app to be able to detect when “a”, was copied, then “b” and then “a” again, so just looking at the value probably isn’t enough.
- maccard 5mo agoI don’t think an app should have access to that (without some sort of very special permission).
- dylan604 5mo agoAllowing an app to access the pasteboard without the user explicitly pasting into the app is weird to me. Maybe the thing I have in the pasteboard is not for this app but left over from use in another app. Since there's no easy way to clear the pasteboard, this will happen often. Maybe it's because I'm not an app dev that this doesn't make sense to me????
- echoangle 5mo agoWhy do you need a count for that? Couldn’t they just generate a UUID every time the clipboard changes?
- jrmg 5mo agoThat’s even worse - now you have a tracking UUID that only changes when the user copies something.