home-sweet-gnome / dash-to-panel

An icon taskbar for the Gnome Shell. This extension moves the dash into the gnome main panel so that the application launchers and system tray are combined into a single panel, similar to that found in KDE Plasma and Windows 7+. A separate dock is no longer needed for easy access to running and favorited applications.
GNU General Public License v2.0
3.81k stars 280 forks source link

Tablet stylus stops working with maximized windows when lifted away #2142

Open iacri opened 3 months ago

iacri commented 3 months ago

Things to do first

Describe the bug When lifting a wacom tablet pen away from the hovering range of the tablet and then bringing it back in range over a maximized window, the cursor doesn't reappear and the pen has no interaction with the window until it is dragged over the dash-to-panel panel. This is problematic while using krita maximized. Doesn't happen with windowed windows.

Expected: the pen controls the cursor as it was doing before being lifted from the tablet Actual: the cursor disappears and doesn't reappear as long as the pen hovers the maximized window and not the dash-to-panel panel; the pen also can't interact with the maximized window.

Linux distribution and version Fedora 40

GNOME Shell version GNOME Shell 46.3.1

Dash-to-Panel version 62

Where was Dash-to-Panel installed from? Gnome Extensions

Additional Info Available to both troubleshoot more and look into the code to find what could be causing this, given some directions

I noticed it doesn't only happen when maximized. As long as the window occupies 90% of the free screen estate I can repro.

Hirnmoder commented 2 months ago

Hi, I stumbled across this very issue yesterday and I also thought Dash-to-Panel was the culprit. I've taken similar steps to reproduce the issue but i found it to be more intricate than it seems at first glance.

I tried several configurations and it seems that it's not Dash-to-Panel's sole fault. The issue arises on my machine when the default gnome top panel is hidden on the Wacom-Display. This is afaik the default configuration of Dash-to-Panel, which makes it harder to pinpoint. This hints that the underlying issue is not Dash-to-Panel but rather GNOME itself.

You can verify this, using the following configuration:

I found this (quite unelegant) Workaround:

In fairness, this does not solve the issue, so maybe someone needs to escalate this issue (after checking and repoducing) to the GNOME project.

My HW/SW stack:

Hirnmoder commented 2 months ago

Addendum The proposed workaround does not work out-of-the-box for non-display-based Wacom tablet such as the One M or similar since there is no external display. I assume that if you enable the original gnome-shell top panel on the monitor that is receiving the drawing inputs from the One M it will work. However, due to the lack of available hardware I cannot test my hypothesis.

Hirnmoder commented 2 months ago

Maybe related to https://gitlab.gnome.org/GNOME/mutter/-/issues/3535