Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Doesn't display on top of full screen windows, or maximized window without panel #7

Closed
RushingAlien opened this issue Mar 13, 2024 · 9 comments
Labels
fixed Fix already available in the repository

Comments

@RushingAlien
Copy link

Description

Hey it seems that window-thumbnails does not display on top of full screen windows or maximized windows when panel is not present (i.e on non-primary monitor)

Reproduce

  1. make window thumbnail
  2. Full screen a window
  3. Make sure focus is still on said window
    or
  4. make window thumbnail
  5. Mazimize a window when panel is not present
  6. Make sure focus is still on said window

System Details Report


Report details

  • Date generated: 2024-03-13 15:44:43

Hardware Information:

  • Hardware Model: ADVAN 1701
  • Memory: 16.0 GiB
  • Processor: AMD Ryzen™ 7 7735HS with Radeon™ Graphics × 16
  • Graphics: AMD Radeon™ Graphics
  • Disk Capacity: 1.0 TB

Software Information:

  • Firmware Version: 6.02
  • OS Name: Arch Linux
  • OS Build: rolling
  • OS Type: 64-bit
  • GNOME Version: 45.4
  • Windowing System: Wayland
  • Kernel Version: Linux 6.7.9-2-cachyos
@RushingAlien
Copy link
Author

Could be an upstream bug since it also happens with :

But i can't say what exactly the bug is, so it can help if you guys can figure out and report if it is upstream

@G-dH
Copy link
Owner

G-dH commented Mar 13, 2024

Consider installing the Disable unredirect fullscreen windows extension, which toggles the compositor setting that bypasses the compositor for fullscreen windows.

@RushingAlien
Copy link
Author

That's a pretty temporary solution, consider looking into gnome's notification and alt+f2 shell menu, looking glass too, they all work on full screen windows.

But for now ig I'll enable that the disabel direct scanout extension when i use this extension, thanks

@G-dH
Copy link
Owner

G-dH commented Mar 13, 2024

Unfortunately, I'm unable to reproduce this issue on any of my systems.

@RushingAlien
Copy link
Author

are you on x11 or wayland?

@G-dH
Copy link
Owner

G-dH commented Mar 13, 2024

Both. However, it seems that using Meta.disable_unredirect_for_display() when the thumbnail is on the screen should be the correct solution.

@G-dH
Copy link
Owner

G-dH commented Mar 14, 2024

Just a note for others: Meta.disable_unredirect_for_display(global.display) calls are being stacked, and each Meta.enable_unredirect_for_display(global.display) call works against the top of the stack. Therefore, a single Meta.disable_unredirect_for_display(global.display) call can globally disable unredirection, although GNOME Shell manages the enable and disable state for modal dialogs and animations. So it is important to not call disable repeatedly if you want to restore its original state on extension disable.

@G-dH G-dH added the fixed Fix already available in the repository label Mar 15, 2024
@RushingAlien
Copy link
Author

Can confirm that it works. :D
Thank you

@RushingAlien
Copy link
Author

Hey, just letting folks know, that once this merge request that allows direct scanout(unredirect) on non-fullscreen clients, this may not need to be done anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed Fix already available in the repository
Projects
None yet
Development

No branches or pull requests

2 participants