-
-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tablet no longer maps to area correctly #6023
Comments
Yeah, I can replicate. Hyprland ignores what opentabletdriver is mapped to and automatically maps to the display your cursor is on. You can leave the opentabletdriver mapping to default (whole area/virtual display?) and Hyprland will do it's thing. You can set which monitor to map your tablet to in (It wasn't reported because next to no tablet users showed up to test it. I didn't even have a tablet for the first two days of the PR) |
Is this the way planned forward or just an oversight? I don't think that ignoring the drivers configuration is the best way of handling multiple displays? It kind of makes sense in terms of it being an input but it basically just throws away the configuration fluency that works everywhere else. If it is going to be this way then maybe tablet:output=driver or something would be a good default to prevent messing with configurations? |
"Be the change you want to see". I'll look at the code and see if there's a better way to manage this (add a config maybe?). Stock behaviour has definitely changed from before #5902 and vaxry doesn't even have a tablet to test with 😝 |
correct, I don't |
I have the same problem with two monitors. A weird thing worth mentioning is that I don't know if it's related to this issue or should be in another issue, but it seems like my monitors are placed at weird coordinates.
I'm using the new auto positions introduced in #5670 monitor=HDMI-A-1,1920x1080@74.97Hz,auto,1
monitor=HDMI-A-2,preferred,auto-left,1 |
Apparently this is an open issue on the OpenTabletDriver github issue tracker concerning this behaviour in KDE Plasma as well. 🤔 They describe the workaround being to let the compositor decide how to map things just like I've said here #6023 (comment). I've been having my fair share of obscure bugs with OTD (things that I can't replicate with |
I would still think having an option would be preferable? Breaking configuration compatibility which works nearly everywhere else OOTB is probably not the best option in my opinion, especially when "nearly everywhere" includes other operating systems. If an option is off the table then makes more sense to me to control externally managed drivers such as OTD on their driver and to have those "built into hyprland" (libwacom?) / not managed externally to be configured in the configuration file? It just leads to less problems on the users side in my eyes. |
|
I agree that it would be nice to have the option but I can't seem to make use of OTD without encountering some serious driver issues when iterating so I won't be continuing the debugging process on my end. |
That was the issue I made before being directed to this issue. I discovered this issue trying to play vr and use wlx-overlay-s, and was told by their maintainers when I brought up the issue:
Would that fall under this issue or should it be its own? |
@Stoppedpuma check out #7586 |
Should be fixed. #8352 |
Hyprland Version
System/Version info
Hyprland, built from branch main at commit 494b9415a1157279a1e1782ba635fc2ef6a18155 (layersurface: avoid restack on identical layers). Tag: v0.40.0-62-g494b9415, commits: 4668 flags: (if any) System Information: System name: Linux Release: 6.8.9-273-tkg-eevdf-llvm Version: #1 SMP PREEMPT_DYNAMIC TKG GPU information: 0c:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c5) (prog-if 00 [VGA controller])
Bug or Regression?
Regression
Description
Caused by #5902 I'm assuming.
Tablet area and display area in OpenTabletDriver no longer map correctly, neither the tablet area or display area seem to work correctly.
Possible reason this might not have been reported in the PR is that I'm using two displays?
Crash reports, logs, images, videos
Video showing cursor stopping near the middle of the screen:
1715453401.mp4
Screenshot of the display area in OpenTabletDriver:
The text was updated successfully, but these errors were encountered: