5 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 3mo 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 3mo 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 3mo agoI think something like a per boot delta added to a (per app?) random base would preserve such functionality.
- echoangle 3mo agoJust generate a new random value instead of incrementing
- RedComet 3mo agoEven that is overkill if all you're interested in is if a change occured.
- echoangle 3mo 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 3mo agoI don’t think an app should have access to that (without some sort of very special permission).
- dylan604 3mo 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 3mo agoWhy do you need a count for that? Couldn’t they just generate a UUID every time the clipboard changes?
- jrmg 3mo agoThat’s even worse - now you have a tracking UUID that only changes when the user copies something.