I encountered a very annoying bug in Gnome Shell and finally managed to “fix” it. I want to share with you in case you encounter the same problem. In the dual-monitor setup, if I made any application to be displayed in full screen on the primary monitor (left screen-monitor “1” in the figure above), the mouse cursor will stay on the secondary monitor (right screen), and I only Can move it back to the main monitor if I move between the monitors between the tops of the screen. Error (i Reported Continue to happen after full screen exit).
This happens after displaying all windows in full screen (whether it is an application, a video or a web video like YouTube), which drives me crazy, so I investigated this issue and finally found the cause of this situation The reason and how to avoid it. It seems that this error is triggered by:
- Multi-monitor setup (obviously)
- Ubuntu Dock / Dash to Dock with auto-hide option enabled
- Ubuntu Dock / Dash to Dock is set to display on all monitors
- The location of Ubuntu Dock/Dash to Dock is set to the left (this is the default setting)
- There is no window covering the Ubuntu Dock/Dash on the second monitor to the Dock (so the Dock can be seen on the second monitor)
I should also add that because the “active hot corner” will interfere with the dock display function on the mouse hover function, it may be possible to move the mouse cursor between the monitors through the top of the screen. I tested whether Gnome Shell also Will happen Dash to the pier The extension, from which the Ubuntu Dock extension is expanded, and it is true, so the error is caused by some upstream issue.
Gnome Shell with Ubuntu Dock or Dash to Dock extension: Fix the problem that the mouse cursor stays on the second monitor in dual monitor settings
Before solving this problem, the solution is to change some Ubuntu Dock/Dash to Dock settings and then stop the error from occurring.
For example, disabling the Ubuntu Dock auto-hide function can solve this problem. Setting the docking station to display only on the main monitor (the left monitor in this case) can also solve this problem. This is because in this way, the “middle” of the monitor is not docked, so when moving between monitors, the mouse cursor does not have to pass through the Ubuntu Dock. Setting the location of the Ubuntu Dock to the bottom can also solve this problem.
These settings can be found in the “Settings”> “Dock” of the Ubuntu Dock or in the “Dash to Dock” extended settings.