Closed peteruithoven closed 7 years ago
Seems like it happens more the bigger the magnifier is. In the smallest mode I can't reproduce the issue. It also seems to happen more in areas where the color changes rapidly, on even coloured surfaces I can't reproduce the issue.
It also happens very frequently when the magnifier touches my Wingpanel.
Hey Peter, thanks for your detailed bug report! I'll try to reproduce it. As a workaround it may help to move the magnifier on a smaller zoomlevel and use the bigger zoom just over the spot you want to pick.
I'd like to help you test any fixes. I'm able to build the source. But I have basically no experience with Vala and I don't really understand how you're filtering out the custom cursor. I'm assuming in Picker.snap?
Yes this is the method. I just read the reference of https://valadoc.org/gdk-3.0/Gdk.pixbuf_get_from_window.html and it seems, the function pixbuf_get_from_window can fail in many ways. I will have a look on it and we'll see if this is the reason for our bug.
Hi Peter I just released a new version, which should improve or even fix the issue the issue. A magnifier code is based on the ColourPicker of Stuart Langridge (https://github.com/stuartlangridge/ColourPicker/). He faces the same "flicker problem". It seems to have something to do with the maximum pointer size, which is even different for HiDPI and normal monitors. Please have a look at https://github.com/stuartlangridge/ColourPicker/issues/6 for a detailed description. Unfortunately I don't have a HiDPI monitor to validate any fixes. Could you or anyone with proper equipment check out the new version and give feedback?!
I've tried this again on my HiDPI laptop and it seems to be totally fixed! :tada: It didn't magnify a screenshot with itself included any more. There where also no longer (partial) instances of the magnifier sticking around while moving. I've tried it after making the magnifier as big as possible since that would cause the most issues. I wouldn't explain the old behaviour as "flickering" btw.
Thanks for the great work!
Good to hear! On my screen the magnifier flickered and had a kind of blurred tail. I couldn't really reproduce the "magnifier" sees itself behavior. Thanks to report the issue anyway :)
Loving the new magnifier! But I am noticing some glitches, it sometimes seems to magnify on itself, as if the magnifier is added to the screen data it's magnifying.
I've just installed ColorPicker to
1.0.0
.System info: