Bug 28780

Summary: When multiple virtual desktops exist, moving the cursor off the current desktop has unexpected results
Product: Mageia Reporter: Frank Griffin <ftg>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: minor    
Priority: Normal CC: davidwhodgins, lewyssmith, ouaurelien
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: Plasma CVE:
Status comment:

Description Frank Griffin 2021-04-15 03:02:59 CEST
This is a weird one.  I have a Plasma setup with 6 virtual desktops.  In System Settings, the Screen Edge settings for all of the edges are set to "no action".  However, when I am on desktop 1 and I try to move the cursor offscreen, it blocks at the top and left edges (as I would expect), but if I try to move off the right edge, the cursor disappears.  I can get it back if I scroll the touchpad repeatedly to the left, often way more than I scrolled to push it off the right edge, and the intimation is that scrolling off the right edge takes it to one of the other desktops.

However, if I try this same behavior with desktops 2-6, the cursor blocks at the right edge as I would expect.

Scrolling off the bottom of the desktop has a different, albeit minor, variation.  The cursor disappears, but it is apparently just below the panel as it displays miniatures of the windows for whichever taskbar icon it passed through on its way offscreen, and comes back immediately when scrolled up.  It seems to me that it should block at the lower edge of the panel and remain visible, since it behaves in that way in every respect other than scrolling below the bottom of the panel and disappearing.  This happens on all of the desktops.
Comment 1 Lewis Smith 2021-04-15 21:15:49 CEST
Mageia 8, Plasma

With 3 virtual desktops, I do not get the first 'problem' at all. On desktop 1, it blocks on the RH edge as with the LH. Same for the other two.
(Note; System Settings-Workspace Behaviour-Screen Edges : click each centre edge point, and ensure or set to 'No action').
CC'ing other people to try this, it is very quick.

Not sure what Plasma package would be relevant.
Could this be a Cauldron problem, not M8?

As for the second point about the cursor at screen bottom, there seems absolutely nothing wrong here. Certainly, once it has passed the tadkbar, it disappears - nominbally. Because at least with the default diadonal arrow shape, that itself goes off-screen. Just; and is instantly retrievable. As you said, if you pass over a window taskbar icon, that window miniature shows correctly.
Can we drop this point?

Can you please post the output of
 $ inxi -MSGxx
to summarise your system.

Status: NEW => NEEDINFO
CC: (none) => davidwhodgins, lewyssmith, ouaurelien
Severity: normal => minor

Comment 2 Frank Griffin 2021-04-15 21:40:49 CEST
We can drop the second point.  I was just curious as to why the cursor disappears as opposed to blocking.

inxi -MSGxx
System:    Host: localhost Kernel: 5.11.14-desktop-1.mga9 x86_64 bits: 64 compiler: gcc 
           v: 10.3.0 Desktop: KDE Plasma 5.21.4 tk: Qt 5.15.2 wm: kwin_x11 
           dm: GDM, LightDM, LXDM Distro: Mageia 9 mga9 
Machine:   Type: Laptop System: ASUSTeK product: VivoBook_ASUSLaptop X532FLC_S532FL v: 1.0 
           serial: <superuser required> 
           Mobo: ASUSTeK model: X532FLC v: 1.0 serial: <superuser required> 
           UEFI: American Megatrends v: X532FLC.304 date: 12/18/2019 
Graphics:  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: ASUSTeK driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:9b41 
           Device-2: NVIDIA GP108M [GeForce MX250] vendor: ASUSTeK driver: N/A 
           bus-ID: 02:00.0 chip-ID: 10de:1d13 
           Device-3: IMC Networks USB2.0 HD IR UVC WebCam type: USB driver: uvcvideo 
           bus-ID: 1-5:2 chip-ID: 13d3:56cb 
           Display: x11 server: Mageia X.org 1.20.11 compositor: kwin_x11 driver: 
           loaded: intel,v4l resolution: 1920x1080~60Hz s-dpi: 96 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.0.2 
           direct render: Yes

Status: NEEDINFO => NEW

Comment 3 Aurelien Oudelet 2021-04-20 11:50:24 CEST
No, the cursor does not disappear.

Plasma handles the cursor with coordinates (x;y) with limits set as the resolution.

See the cursor as a point. This point is the upper left end of the cursor for systems displaying languages left to right and the upper right end for systems displaying languages right to left.

On left to right language:
So this cursor is fully visible when it goes to the far left of the screen and slightly invisible at the far right of the screen. But if you bring your face closer to the screen you will see a thin line in the cursor image.

So does for bottom of the screen...
Not a bug.

Status: NEW => RESOLVED
Resolution: (none) => INVALID