mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2011
Posts: 451
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 451
I've tested the password eye in Wine and it works but the eye picture does not display.


I've tested:

Wine 5.0.3 (Nov 2020) on a Debian 11.2 VM (installed via apt-get)

Wine 7.1 (Jan 2022) on Debian 11.2 desktop install (compiled from source)

Screenshots from 5.0.3 (7.1 looks the same):

https://i.imgur.com/qJ5BQYw.png

https://i.imgur.com/MTg4GKu.png

Joined: Feb 2003
Posts: 2,812
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2003
Posts: 2,812
I would be very much surprised if subclassing worked in Wine.


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
Joined: Dec 2002
Posts: 5,420
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,420
Wine does support subclassing, however, subclassing is tricky because it depends on the control behaving in a specific way, and this can depend on the version of the control, the version of Windows, and so on. Under Wine, this becomes more difficult the more heavily subclassed a control is because Wine's implementation of, say, an editbox, may not exactly reproduce standard behaviour. I am going to disable the eye under Wine for now but have added it to my to-do list.

Update: I found a way to make it work under Wine. The Wine implementation of the editbox seems to differ from standard behaviour in how WM_GETMINMAXINFO affects the subsequent use of GetDC() vs GetWindowDC(). Thankfully, it looks like this was the only issue and the eye is now visible under Wine. This change will be in the next beta.

Last edited by Khaled; 04/02/22 09:04 PM.
Joined: Feb 2011
Posts: 451
K
KindOne Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 451
I've tested v7.67.5062 on both Debian VM and desktop. I can confirm it is fixed.

Thanks.


Link Copied to Clipboard