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

Window title bar not showing in secondary screen. #357

Open
paulo-roger opened this issue Nov 29, 2023 · 6 comments
Open

Window title bar not showing in secondary screen. #357

paulo-roger opened this issue Nov 29, 2023 · 6 comments
Labels

Comments

@paulo-roger
Copy link

paulo-roger commented Nov 29, 2023

Describe the bug
Window title bar not showing in secondary screen.

When a window is maximized in the secondary screen it auto-hides the title bar, even though the toggle Restrict functionalities to the primary screen is activated.

setting

To Reproduce
Steps to reproduce the behavior:

  1. Move window to secondary monitor
  2. Maximize window

Expected behavior
Title bar should not be hidden when the window is in the secondary screen, only in the primary.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • OS: Manjaro Linux
  • GNOME Shell version 45.1
  • Unite version 77

Logs

-- Boot 297d71ef118c4ddab41ac85e4f58783d --
nov 29 12:24:23 lenovo-v14 gnome-shell[1146]: Extension [email protected] already installed in /usr/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded

The complete log is here: https://bin.disroot.org/?70cb74f2f3c60597#8i1nF8VtPzuQhNectpQ7Y3Ete7ruV4Een2u1xEhDh2qx

Additional context
Instalation method: yay -S gnome-shell-extension-unite

@paulo-roger
Copy link
Author

Maybe it is related, but window titles are not hiding when tiling the windows.

@paulo-roger
Copy link
Author

Removed the extension and reinstalled it, still the same problem persist.

@paulo-roger
Copy link
Author

@jonian sorry to tag you directly. I really love this extension.

Would you have some hint for my case? I know some little javascript I could try something, I just don't know how to setup the environment to work with gnome extensions.

I really appreciate any input from you. Thank you.

@jonian
Copy link
Member

jonian commented Dec 16, 2023

Hi @paulo-roger, apologies for the late response, you can tag me any time your want, no problem. About the issues you are having:

When a window is maximized in the secondary screen it auto-hides the title bar, even though the toggle Restrict functionalities to the primary screen is activated.

This setting has some issues with client side decorated (CSD) windows. The extension uses CSS to hide the headerbars/titlebars and there is no way to know, in which screen the window is. If you are on wayland this issue happens with more GTK apps than on xorg because on xorg apps that don't have headerbars use server side decorations.

Maybe it is related, but window titles are not hiding when tiling the windows.

This is an issue that appeared on gnome 44 and can't be fixed by the extension. There is a workaround for this but it is not reliable and results in gnome-shell crashing. I have reported the issue on gnome tracker here.

@paulo-roger
Copy link
Author

paulo-roger commented Dec 17, 2023

Hi @paulo-roger, apologies for the late response, you can tag me any time your want, no problem.

@jonian, Thank you so much. You are very kind.

This setting has some issues with client side decorated (CSD) windows. The extension uses CSS to hide the headerbars/titlebars and there is no way to know, in which screen the window is. If you are on wayland this issue happens with more GTK apps than on xorg because on xorg apps that don't have headerbars use server side decorations.

I use X11, so it is odd for this issue to happen? Maybe another extension might be conflicting? I will disable all and leave only Unite and then report back.

Maybe it is related, but window titles are not hiding when tiling the windows.

This is an issue that appeared on gnome 44 and can't be fixed by the extension. There is a workaround for this but it is not reliable and results in gnome-shell crashing. I have reported the issue on gnome tracker here.

I see. Thanks for letting me know!

@fasdalf
Copy link

fasdalf commented Nov 25, 2024

Thank you for extension!
The bug still reproduces with v80 on gnome 46 with Xorg render.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants