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

Top bar does not autohide for some apps #1073

Open
Dirleye opened this issue Dec 17, 2024 · 2 comments
Open

Top bar does not autohide for some apps #1073

Dirleye opened this issue Dec 17, 2024 · 2 comments

Comments

@Dirleye
Copy link

Dirleye commented Dec 17, 2024

The top bar doesn't always recognise that it needs to hide itself for certain apps.

The top bar will always autohide when a Iced app is open, as expected. Firefox also works fine. I have not tested with other GTK/Qt apps.
Electron apps (Discord and VSCode for me) as well as some games, do not cause the top bar to autohide on its own. It appears as demonstrated in the provided image.

As long as a working app such as COSMIC Files is open in one of the workspaces, this issue will be solved for all other workspaces and the Electron apps will behave normally with the top bar. Closing the working app will cause the top bar in workspaces with Electron apps to reappear again as shown in the image. Tiling windows within the same workspace works in the same way, with the top bar behaving normally for as long as a working app is also open.

I don't think this was always the case. I'm not sure how to get this bug to start happening as once it has, it persists across reboots.
For me I think it begun after opening a combination of VSCode, COSMIC Terminal and running xeyes via that terminal (all tiled in one workspace), then closing the terminal and xeyes. The top bar reappeared over VSCode and the bug has persisted from then on.

Both Wayland and XWayland apps seem to be affected.

image

@wash2
Copy link
Contributor

wash2 commented Dec 17, 2024

What version of cosmic-comp do you have installed?

@Dirleye
Copy link
Author

Dirleye commented Dec 17, 2024

1.0.0.alpha.4-1 on CachyOS

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

No branches or pull requests

2 participants