Bug 417669 - Wayland cursor position sent incorrectly to Xwayland firefox/thunderbird
Summary: Wayland cursor position sent incorrectly to Xwayland firefox/thunderbird
Status: RESOLVED DUPLICATE of bug 417444
Alias: None
Product: Breeze
Classification: Plasma
Component: gtk theme (show other bugs)
Version: 5.18.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Janet Blackquill
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-14 21:13 UTC by Tom B
Modified: 2020-02-15 23:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of issue. Red dot is drawn at cursor position. (2.72 KB, image/png)
2020-02-14 21:13 UTC, Tom B
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom B 2020-02-14 21:13:54 UTC
Created attachment 126040 [details]
screenshot of issue. Red dot is drawn at cursor position.

SUMMARY

This would be very easy to demonstrate with a screen recorder, unfortunately I cannot find anything that can record the screen on kde wayland.

STEPS TO REPRODUCE
1. Open firefox or thunderbird in plasma wayland
2. Try to click on something
3. Both firefox and thunderbird think the mouse cursor is about -10px x -10px out of position

Demo screnshot attached. I have created a test page here: https://codepen.io/Tom__B/pen/VwLeNyJ so you can see what it supposed to happen. It draws a red dot at the cursor position. As you can see in my screenshot, Firefox thinks the cursor is in a different place than it is.

I had thought this affected all GTK apps but testing in GIMP, the pencil draws at exactly the correct position.

Additional information:

I am running a 120 font DPI which scales the UI. Perhaps it's something to do with this scaling which causes the miscalculation.



SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.18.0
(available in About System)
KDE Plasma Version:  5.18.0
Comment 1 Nate Graham 2020-02-15 23:53:55 UTC

*** This bug has been marked as a duplicate of bug 417444 ***