https://bugs.winehq.org/show_bug.cgi?id=45981
Bug ID: 45981 Summary: Irfanview. Selection with mouse gets broken after zooming Product: Wine Version: 3.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: shooreek@gmail.com Distribution: Ubuntu
"Selection" is a rectangular area that you can select when image is open.
Generally there are two ways to get selection broken 1) Select some area, zoom to it, switch to fullscreen and back 2) Select some area, zoom to it, switch to next image by hitting Space key
Steps to reproduce; - Configure Irfanview in the following way: View -> Display options -> Fit only big images to desktop - Printscreen you desktop and save to file - this is image you will be working with to reproduce the bug - Open image - Create a 100x100 pixels selection with mouse - Zoom to it by clicking left mouse button - Switch to fullscreen and back by hitting Enter key twice - Try to create another selection with mouse -> it is impossible. In the Irfanview window title one can see that X coordinate is equal to image width, which is outside the window due to fitting option. Therefore X coordinate for selection is locked to 0.
It looks like mouse cursor position is not correctly restored after zooming.
Irfanview 4.51 32-bit on Ubuntu/Kubuntu 18.04
https://bugs.winehq.org/show_bug.cgi?id=45981
shooreek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=40119
https://bugs.winehq.org/show_bug.cgi?id=45981
chanmaichop_kotsana@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |chanmaichop_kotsana@yahoo.c | |om
--- Comment #1 from chanmaichop_kotsana@yahoo.com --- I can confirm the problem with maximized IrfanView with Wine 3.14 and 3.18 on Ubuntu 18.04.1 LTS.
Clarification: If IrfanView is NOT maximized, I never encountered any problems. If I encountered the problem while maximized, I can "repair" it by switching from the maximized window to non-maximized.
I also tested IrfanView on a Windows 10 machine and it didn't have this problem there.