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

[regression] The titlebar can't be hidden anymore since sway 1.8 #7350

Closed
kit-ty-kate opened this issue Jan 4, 2023 · 15 comments
Closed

[regression] The titlebar can't be hidden anymore since sway 1.8 #7350

kit-ty-kate opened this issue Jan 4, 2023 · 15 comments
Labels
bug Not working as intended window-management Configuring and arranging toplevels

Comments

@kit-ty-kate
Copy link

  • Sway Version: 1.8

The following configuration mentioned in #6946, #5050 and #1286:

font pango:monospace 0
titlebar_border_thickness 0
titlebar_padding 0

Worked just fine in Sway 1.7 but doesn't work anymore in 1.8 due to #7092

As a temporary workaround font pango:monospace 1 can be used instead of font pango:monospace 0 but it's not the best solution.

@kit-ty-kate kit-ty-kate added the bug Not working as intended label Jan 4, 2023
@emersion
Copy link
Member

emersion commented Jan 4, 2023

Hiding the titlebar this way was a hack to begin with.

@kit-ty-kate
Copy link
Author

That may be the case but when a hack is used by most people* i feel like it becomes a feature of its own.
I've personally never seen any sway config or screenshot where the user kept the titlebar.

*: arguably my sample set might be biased, but still.

@sweenu
Copy link

sweenu commented Jan 5, 2023

I remember when I first started sway loosing a lot of time trying to find the option to disable titlebars. It seemed obvious to me that such an option would exist, coming from other wm where I didn't have that problem.
There will also inevitably be lost time in supporting people like me that try to do that and giving them hacks. There are already quite a few PR and issues related to this and if you look at i3, there's even more.
I know sway isn't looking to add more options, but it seems to me that this would be worth the time.

If not, then I'm sadly in favor of reinstigating a 0 font size. Better than nothing.

@Inginn
Copy link

Inginn commented Jan 6, 2023

yes just broke my settup.
I dont want a bar.
why would I go minimalizt/maximize my screen usage and then add a bar I dont want.

@nicgene
Copy link

nicgene commented Jan 6, 2023

Same here. My current workaround is font pango: monospace 0.001

@antioxx
Copy link

antioxx commented Jan 7, 2023

Same here. My current workaround is font pango: monospace 0.001
Thanks <3

@quackers19
Copy link

Same here. My current workaround is font pango: monospace 0.001

@ghost
Copy link

ghost commented Jan 8, 2023

I believe the official way of hiding titlebars is setting default_border to pixel [<n>] or none.

@Phylex
Copy link

Phylex commented Jan 10, 2023

Yea just updated to 1.8 and have the same problem. I‘d really appreciate either having a setting for this or reinstating the fix.
Either way, sway has been a really nice experience and I‘d like to say thanks to all involved.

@leinfink
Copy link

I believe the official way of hiding titlebars is setting default_border to pixel [<n>] or none.

This does not have the desired effect of also removing the bars in tabbed mode.

@mythi
Copy link

mythi commented Jan 18, 2023

Is it related that with 1.8 and Chrome PWA apps I started getting two titlebars?

@emersion
Copy link
Member

No, this is not related.

@emersion emersion added enhancement New feature or incremental improvement window-management Configuring and arranging toplevels and removed bug Not working as intended labels Jan 30, 2023
@emersion emersion added bug Not working as intended window-management Configuring and arranging toplevels and removed enhancement New feature or incremental improvement window-management Configuring and arranging toplevels labels Jan 30, 2023
@emersion
Copy link
Member

emersion commented Feb 1, 2023

#7408 has been merged to the 1.8 branch as a temporary fix. The master branch still doesn't allow a zero font size, and this is tracked by #7409. Patches welcome to fix this.

@emersion emersion closed this as completed Feb 1, 2023
@NgoHuy
Copy link

NgoHuy commented Apr 19, 2023

I want to hide the main title bar, not per tab title, the workaround removed all titles.

@emersion
Copy link
Member

emersion commented Dec 4, 2023

Reminder that a new Sway release is upcoming and this feature will go away unless someone steps up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended window-management Configuring and arranging toplevels
Development

Successfully merging a pull request may close this issue.