"Toggle Window Fullscreen" on the new Fedora 34 (Wayland mode) makes mouse cursor disappear. #87962

Closed
opened 2021-05-01 12:54:39 +02:00 by Anton Raves · 9 comments

System Information
Operating system: Linux-5.11.16-300.fc34.x86_64-x86_64-with-glibc2.33 64 Bits
Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.11.16-300.fc34.x86_64, LLVM 12.0.0) X.Org 3.3 (Core Profile) Mesa 21.0.3

Blender Version
Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-30 16:49, hash: e61020049a
Worked: (newest version of Blender that worked as expected)

Short description of error
"Toggle Window Fullscreen" on the new Fedora 34 (Wayland mode) makes mouse cursor disappear.

Exact steps for others to reproduce the error
Just select "Toggle Window Fullscreen" from the "Window" menu item at the top menu bar. Please do not start whining about the GPU no longer being supported, this is just about a disappearing mouse cursor after an upgrade from Fedora 33 (where the mouse cursor still works) to Fedora 34. Reverting from fullscreen to Blender in a window and the mouse cursor is shown again. With a hidden mouse cursor Blender does respond to moving the mouse and hovering it over buttons.

**System Information** Operating system: Linux-5.11.16-300.fc34.x86_64-x86_64-with-glibc2.33 64 Bits Graphics card: AMD JUNIPER (DRM 2.50.0 / 5.11.16-300.fc34.x86_64, LLVM 12.0.0) X.Org 3.3 (Core Profile) Mesa 21.0.3 **Blender Version** Broken: version: 2.93.0 Beta, branch: master, commit date: 2021-04-30 16:49, hash: `e61020049a` Worked: (newest version of Blender that worked as expected) **Short description of error** "Toggle Window Fullscreen" on the new Fedora 34 (Wayland mode) makes mouse cursor disappear. **Exact steps for others to reproduce the error** Just select "Toggle Window Fullscreen" from the "Window" menu item at the top menu bar. Please do not start whining about the GPU no longer being supported, this is just about a disappearing mouse cursor after an upgrade from Fedora 33 (where the mouse cursor still works) to Fedora 34. Reverting from fullscreen to Blender in a window and the mouse cursor is shown again. With a hidden mouse cursor Blender does respond to moving the mouse and hovering it over buttons.
Author

Added subscriber: @Memento

Added subscriber: @Memento
Author

The problem is with Mutter, when following the following test fix, Blender can be toggled back and forth to fullscreen windows with a visible mouse cursor:

https:*bugzilla.redhat.com/show_bug.cgi?id=1943959#c3

For completeness, here are the commands given in that Red Hat / fedora bug report and its comments:

  • Type Alt+F2
  • In the dialog type "lg" (without the quotes) to open Looking Glass
  • Type "Meta.disable_unredirect_for_display(global.display)" (without the quotes) and press Enter
  • Press Escape to exit Looking Glass

Please note that this is a temporary fix, rebooting your system again will cause the mouse cursor to disappear again in fullscreen Blender.

The problem is with Mutter, when following the following test fix, Blender can be toggled back and forth to fullscreen windows with a visible mouse cursor: [https:*bugzilla.redhat.com/show_bug.cgi?id=1943959#c3 ](https:*bugzilla.redhat.com/show_bug.cgi?id=1943959#c3) For completeness, here are the commands given in that Red Hat / fedora bug report and its comments: * Type Alt+F2 * In the dialog type "lg" (without the quotes) to open Looking Glass * Type "Meta.disable_unredirect_for_display(global.display)" (without the quotes) and press Enter * Press Escape to exit Looking Glass Please note that this is a temporary fix, rebooting your system again will cause the mouse cursor to disappear again in fullscreen Blender.

Added subscriber: @christian.rauch

Added subscriber: @christian.rauch

Is this still the case on the current master? I merged HiDPI support (D11368) a while ago that also touched the cursor image and I cannot reproduce the issue that you described.

Is this still the case on the current master? I merged HiDPI support ([D11368](https://archive.blender.org/developer/D11368)) a while ago that also touched the cursor image and I cannot reproduce the issue that you described.
Author

I just tried Blender 3.0.0 Alpha 5f5cf21a83 and the problem is still there, switching Blender to "Window Fullscreen" and the mouse cursor in the viewport disappears. The same happens in a webbrowser (Brave / Chrome) too, when watching a YouTube video and then going fullscreen there, again the mouse cursor disappears, making it hard to change settings like resolution of the video.

I just tried logging out of Fedora 34, which by default uses Wayland these days, and logged back in using GNOME on Xorg, which makes Blender toggle "Window Fullscreen" without any problems, so it must be Wayland related...?

I just tried Blender 3.0.0 Alpha 5f5cf21a83 and the problem is still there, switching Blender to "Window Fullscreen" and the mouse cursor in the viewport disappears. The same happens in a webbrowser (Brave / Chrome) too, when watching a YouTube video and then going fullscreen there, again the mouse cursor disappears, making it hard to change settings like resolution of the video. I just tried logging out of Fedora 34, which by default uses Wayland these days, and logged back in using GNOME on Xorg, which makes Blender toggle "Window Fullscreen" without any problems, so it must be Wayland related...?

Well, if this also happens with other applications, then it is not Blender specific. Maybe this also happens only with newer GNOME versions or only with the AMD driver. I suggest you report that issue to https://gitlab.gnome.org/GNOME/mutter so it gets fixed in the Wayland compositor of GNOME Shell.

I take it that you are running the standard Blender with X11 on XWayland? if so, you could compile Blender with native Wayland support (https://wiki.blender.org/wiki/Building_Blender/Linux/Ubuntu).

In any case, I don't think there is anything that we can do in Blender to fix that issue. If this is not Blender-specific and can be fixed here, then please close this issue so we can keep track of issues with Blender itself that can be addressed by patches.

Well, if this also happens with other applications, then it is not Blender specific. Maybe this also happens only with newer GNOME versions or only with the AMD driver. I suggest you report that issue to https://gitlab.gnome.org/GNOME/mutter so it gets fixed in the Wayland compositor of GNOME Shell. I take it that you are running the standard Blender with X11 on XWayland? if so, you could compile Blender with native Wayland support (https://wiki.blender.org/wiki/Building_Blender/Linux/Ubuntu). In any case, I don't think there is anything that we can do in Blender to fix that issue. If this is not Blender-specific and can be fixed here, then please close this issue so we can keep track of issues with Blender itself that can be addressed by patches.
Author

Changed status from 'Needs Triage' to: 'Resolved'

Changed status from 'Needs Triage' to: 'Resolved'
Anton Raves self-assigned this 2021-07-07 20:17:58 +02:00
Author

Closing this report, reporting it at GNOME and hoping this report does stay inside the system, for others who may run into the same situation...

Closing this report, reporting it at GNOME and hoping this report does stay inside the system, for others who may run into the same situation...

@Memento Can you share a link to the issue report? I am curious about reproducing this.

@Memento Can you share a link to the issue report? I am curious about reproducing this.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#87962
No description provided.