Bug 460376 - [Wayland] Unable to adjust the starting location of the tablet drawing area
Summary: [Wayland] Unable to adjust the starting location of the tablet drawing area
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (show other bugs)
Version: 5.26.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
: 457704 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-10-13 15:39 UTC by Sebastian Parborg
Modified: 2022-11-01 13:52 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.26.3
Sentry Crash Report:


Attachments
Screenshot of settings window (19.38 KB, image/png)
2022-10-13 15:39 UTC, Sebastian Parborg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Parborg 2022-10-13 15:39:57 UTC
Created attachment 152775 [details]
Screenshot of settings window

SUMMARY

When setting up a custom drawing area, it seems like it is only possible to adjust the bottom right corner.
Even if the starting position is displayed in the UI, nothing seems to be able to change/adjust it.
(See attached screenshot)

I've tried dragging on the area box. This simply starts dragging the whole settings window.
I've tried different modifier keys (shift, ctrl, etc).
I've also tried to right click on the bottom right resize widget to see if that somehow magically started dragging the top corner.

STEPS TO REPRODUCE
1. Open the tablet settings
2. Select "Custom size"
3. Try to position the drawing area so that it doesn't start at the top left of the screen
4. Notice that there doesn't seem to be any way to do that.

OBSERVED RESULT
It is not possible to position the area so that the box is centered in the screen.

EXPECTED RESULT
The drawing area box should be able to be moved and positioned in any way the user likes.
From the look of it, this should already be supported code wise, but it might not be exposed in the UI?

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux, KDE Plasma 5.26.0
KDE Plasma Version: 5.26.0
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.5
Comment 1 Aleix Pol 2022-10-25 00:40:30 UTC
I can reproduce, it's very weird, the page below keeps scrolling under the mouse as I try to drag it. I need to find why that happens and how to absorb these events.
Comment 2 Bug Janitor Service 2022-10-25 01:14:28 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1219
Comment 3 Aleix Pol 2022-10-25 17:24:00 UTC
Git commit aae4a67a134b64ba8762887befc9289019345288 by Aleix Pol Gonzalez, on behalf of Aleix Pol.
Committed on 25/10/2022 at 17:16.
Pushed by apol into branch 'master'.

kcms/tablet: Fix dragging components

Different drag fallback mechanisms would be hijacking our events.

M  +7    -0    kcms/tablet/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/aae4a67a134b64ba8762887befc9289019345288
Comment 4 Nate Graham 2022-10-25 17:43:02 UTC
Git commit 32ac1394c7d3d70a18751b7343851991763942e4 by Nate Graham, on behalf of Aleix Pol.
Committed on 25/10/2022 at 17:42.
Pushed by ngraham into branch 'Plasma/5.26'.

kcms/tablet: Fix dragging components

Different drag fallback mechanisms would be hijacking our events.


(cherry picked from commit aae4a67a134b64ba8762887befc9289019345288)

M  +7    -0    kcms/tablet/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/commit/32ac1394c7d3d70a18751b7343851991763942e4
Comment 5 Sebastian Parborg 2022-10-26 10:31:13 UTC
I can confirm that this fixes it. Thanks! :)
Comment 6 Nate Graham 2022-11-01 13:52:01 UTC
*** Bug 457704 has been marked as a duplicate of this bug. ***