| Summary: | Tablet mapping uses starting coordinates of a wrong screen until kded5 is restarted | ||
|---|---|---|---|
| Product: | [Unmaintained] wacomtablet | Reporter: | Valerii Malov <jazzvoid> |
| Component: | general | Assignee: | Jörg Ehrichs <Joerg.Ehrichs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Valerii Malov
2017-02-05 13:37:18 UTC
So I poked around a bit and it seems to be caused by QApplication::desktop()->screenGeometry() returning invalid, pre-setup geometry for some reason i.e. in XinputAdaptor::mapTabletToScreen initially screenList contains: 1920x1080+0+0 1680x1050+1920+0 which is my "boot" geometry and is incorrect After I restart kded5 screenList contains: 1920x1080+1680+0 1680x1050+0+0 which is my actual geometry, set through KDE screen settings and applied when I log in This messes up coordinate transformation matrix and breaks screen mapping as a result Not sure if it's a Qt bug. I'm using Qt 5.7.1 It actually seems to be fixed in current releng3.0 head, but there's no release with this fix (3.0.0 tag was almost two years ago) https://cgit.kde.org/wacomtablet.git/commit/?h=releng3.0&id=72efb5c0f38bb8fc5b6136b5437a8e8a1f372067 |