-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shoes image click weird behavior #397
Comments
This is very likely to be an oversight. Also, it may be challenging to implement for all degrees and other visual effects (blur, scaling, etc) that can be applied on an image. We don't have ways to test Shoes in a consistent, repetitive and automatic way. See #79 (specs) and #383 (@ccoupe suggested we generate events for GUI testing). Well done. It is a good catch on your part. Thanks for reporting. |
I just happened to have been looking at the hit detection code for #383 - the hit is for an image in a slot. In this case the default slot of the window which doesn't change (normally). Just a guess. Try putting the image in a an a second slot. |
Good idea but doesn't seem to work. |
It's always possible that |
I don't think it's about redrawing. There are few hypothesis but let's stick to one here.. the internal values (at C level) are the original image position and size for which click event is using because rotate is drawn/applied in real-time (click event has no knowledge of). It implies we should consider things like
We have no way to handle this at the moment, aka #370 and #372. I suggested a |
This issue. This bug. Does it make a difference? I'm deep into so cranky places in the event branch and I rather not switch to master to test this. |
You don't have to break your back and bend backward. It's more important to get the event manager right. My understanding is that it is a long standing issue that nobody noticed until @dredknight do some experiments. It should eventually be fixed but this issue can wait. |
Which is why you or @dredknight could try manually resizing the outer window with your mouse and report back what happens. Data collection. |
Already done. Not working. |
I opened this to report the issue so you can have it for future reference. Let me know if I can help with something here. |
Decided to test how this issue is behaving with GTK3. It seems there is no change and it still exists. |
Dear all I experimented a bit with some rotation on images and bumped into a weird behavior.
For example if the image is a thin horizontal line and you flip it 90 degrees it becomes vertical but the click area remains what the original image area was (horizontal).
I have uploaded a test image below.
Why is this happening ?
The text was updated successfully, but these errors were encountered: