Created attachment 162872 [details] foobar2000 screenshot SUMMARY Drag & drop coordinates in Wine apps are wrong when Wayland fractional scaling is enabled. STEPS TO REPRODUCE 1. Set monitor to 150% scaling (Wayland session). 2. Install foobar2000, select Album List + Properties layout. 3. Drag file(s) from Dolphin to foobar2000 playlist area. OBSERVED RESULT The drop target area is off by a factor of 1.5. For example, if the playlist area top left corner is positioned at (640,360), the mouse needs to be moved to (960,540) for the drop reticle to appear. EXPECTED RESULT The mouse coordinates should match the drop target coordinates. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.111.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION Wine DPI scaling doesn't make seem to make a difference (configured via winecfg).
Can confirm this issue, the coordinates are offset. It also seems that the Wine application is not scaled at all, text wise.
(In reply to Akseli Lahtinen from comment #1) > Can confirm this issue, the coordinates are offset. It also seems that the > Wine application is not scaled at all, text wise. Thanks for confirming. Wine has its own DPI settings (winecfg -> Graphics -> Screen resolution > 144 dpi (for 150%)), which scales text and other elements, at least on my machine. This setting doesn't seem to change the drag & drop behaviour, however.
Fixed with 447994581b80e37394aa721d63d05f65a5fb538b
Confirmed fixed in Plasma 6.1 - thank you!