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

Title not visible running example on Gnome 41/42/Wayland #1391

Closed
satmandu opened this issue Mar 2, 2022 · 6 comments
Closed

Title not visible running example on Gnome 41/42/Wayland #1391

satmandu opened this issue Mar 2, 2022 · 6 comments

Comments

@satmandu
Copy link

satmandu commented Mar 2, 2022

This is what I see running cargo run --example window from glutin's head on Ubuntu 22.04 (Mutter ~ 42/Wayland).

screenshot-crop

As per

let wb = WindowBuilder::new().with_title("A fantastic window!");

it would seem that there should be a title, but instead, it is washed out on a white title bar.

Is there a way to get the title to show up?

I think this is referenced in both alacritty/alacritty#4739 and rust-windowing/winit#1312 . Is this a Gnome issue? Do I need to open an issue on the mutter gitlab issues board?

Here is the tail of WAYLAND_DEBUG=1 cargo run --example window &> wayland_title_debug.txt
wayland_title_debug.txt

@maroider
Copy link
Member

maroider commented Mar 3, 2022

It is indeed a Gnome issue. Gnome doesn't support server-side decorations, and sctk (and by extension winit) has dropped support for text in the fallback client-side decorations.

See Smithay/client-toolkit#196 for one proposed solution

@satmandu
Copy link
Author

satmandu commented Mar 3, 2022

Thanks for that info. looks like https://github.com/cmeissl/libdecor-rs is able to do the titling! Any chance of getting that functionality here?

screenshot-libdecor-rs-crop

@satmandu
Copy link
Author

satmandu commented Mar 3, 2022

Ah, I just saw rust-windowing/winit#1967 (comment) ...

@Eoin-McMahon
Copy link

What is the status on this? the problem occurs in Ubuntu 22.04 LTS

@maroider
Copy link
Member

As I understand it, progress has stalled because integrating libdecor upstream is proving difficult. I don't recall where I read this, however.

@kchibisov
Copy link
Member

Winit bug wrt title got fixed.

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

No branches or pull requests

4 participants