! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mouse cursor bug at screen edges with dual screen
Status:
RESOLVED: INVALID

Comments

Description Jean-Philippe Fleury 2012-01-26 00:37:02 CET
First, here's my configuration:

- video card: nVidia GeForce 8600M GT
- driver: nouveau
- OS: Xubuntu 11.10

Now, I have an external monitor (1280x1024) attached to my laptop (1440x900). With xfce4-settings-editor, I set the position (X, Y) of each display as the following:

|¯¯¯¯¯¯¯¯¯¯¯|
|           |
|     1     |
|           |
|___________|
            |¯¯¯¯¯¯¯¯¯¯¯¯¯|
            |             |
            |      2      |
            |_____________|

The monitor 1 (external) is set to (0, 0) and the monitor 2 (laptop) is set to (1280, 1024). Monitors are connected only at a corner, so I can switch my cursor from a screen to another by the bottom right corner (monitor 1) or the top left corner (monitor 2).

My monitor 1 has a horizontal bottom panel with main menu, show desktop, window buttons, and so on.

The problem is the following: when I move my cursor (^) at the very bottom of the monitor 1:

|¯¯¯¯¯¯¯¯¯¯¯|
|           |
|     1     |
|           |
|___________|
      ^

to access the panel:

|                       1                         |
|                                                 |
|__Main Menu__Show Desktop__Window Button 1__...__|
         ^

clicks don't have any effect. I must move up the cursor just a little bit (about 1 or 2 pixels) to be able to click on a button panel. The same bug occurs when I move the cursor at the very right of the monitor 1:

|¯¯¯¯¯¯¯¯¯¯¯|
|           |
|     1     ^
|           |
|___________|

to access the vertical scrollbar of a maximized window:

¯¯¯¯¯¯|
   S  |
   c  |
   r  |
   o  |
1  l  ^
   l  |
   b  |
   a  |
   r  |
______|

clicks don't have any effect. I must move left the cursor just a little bit (about 1 or 2 pixels too) to be able to move the scrollbar.

Note that this bug only happens for the screen edges where the corners are connected. For example, if I set my monitors as the following:

            |¯¯¯¯¯¯¯¯¯¯¯¯¯|
            |             |
            |      2      |
            |_____________|
|¯¯¯¯¯¯¯¯¯¯¯|
|           |
|     1     |
|           |
|___________|

There's no longer a bug with the horizontal bottom panel of the monitor 1, because the bottom edge of the monitor 1 is not connected to the shared corner (1280, 900).

The biggest problem with this bug is that it prevents from being able to use the cursor at the edges of the screen without full attention. For example, we can usually move the cursor to the very right of a screen and move the scrollbar without being fully attentive to the position of the cursor, because we know that when the cursor will reach the right edge, it will be in control of the scrollbar. However, with this bug, it's no longer the case.
Comment 1 Olivier Fourdan editbugs 2012-01-26 09:15:56 CET
Disable workspace wrapping:

  xfconf-query -c xfwm4 -p /general/wrap_workspaces -s false
  xfconf-query -c xfwm4 -p /general/wrap_windows -s false

Workspace wrapping uses invisible 1px windows on screen egde which will receive the click event in place of the app. 

These windows are removed when wrapping is disabled. No bug here.
Comment 2 Jean-Philippe Fleury 2012-01-26 10:39:46 CET
Hi,

Thanks for your answer. However, both "wrap_workspaces" and "wrap_windows" are disabled and I have the same behavior.
Comment 3 Olivier Fourdan editbugs 2012-01-26 10:45:40 CET
(In reply to comment #2)
> Thanks for your answer. However, both "wrap_workspaces" and "wrap_windows" are
> disabled and I have the same behavior.

Then it may not be a bug in xfwm4. Have you tried with another window manager?
Comment 4 Jean-Philippe Fleury 2012-01-27 05:39:17 CET
I've just tried with metacity and compiz, and I have the same behavior.

Which product may be causing this?

Bug #8381

Reported by:
Jean-Philippe Fleury
Reported on: 2012-01-26
Last modified on: 2020-05-21

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information