fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
25.02k stars 1.39k forks source link

Splash window on Sway still shows title #3582

Open grafov opened 1 year ago

grafov commented 1 year ago

Checklist

Describe the bug

I tried to make splash windows without title. My environment is Sway under Wayland. The splash window still shows title but it should not. I checked reference code of demo application https://github.com/fyne-io/fyne/blob/master/cmd/fyne_demo/tutorials/window.go and the bug persists with it. The build tag "wayland" doesn't affect window behavior: both builds for Wayland and X under sway show the title. But X build from the same code that run under Gnome/Xorg looks properly, title doesn't occured.

How to reproduce

  1. Build demo application htps://github.com/fyne-io/fyne/blob/master/cmd/fyne_demo
  2. Run it under Wayland/sway WM.
  3. Click "Windows/Splash Window" and see the result above: the window shows title.

Screenshots

screenshot-2023-01-18-17-23-00

Example code

https://github.com/fyne-io/fyne/blob/master/cmd/fyne_demo/tutorials/window.go

Fyne version

8c2509518b2df442a6b748d9b07754739592e6d7 (v2.3.0)

Go compiler version

go version go1.19.4

Operating system

Linux

Operating system version

Void Linux x86_64, Kernel: 6.1.3_1

Additional Information

No response

Jacalz commented 1 year ago

I can't replicate this on Gnome 44. FYI: We don't advertise Wayland support as functional yet. There are a lot of unimplemented aspects still.

byReqz commented 1 year ago

Same issue with i3 on X11. Trying to spawn a splash window but it gets managed by i3 and shows the regular title bar. The cli output of the demo app does not show any error.

Jacalz commented 1 year ago

@byReqz This issue is Wayland specific. Please open a new issue for what you are describing

Jacalz commented 10 months ago

Does the Sway window manager even support splash windows? The title that is displayed isn't rendered by us

andydotxyz commented 3 months ago

I cannot seem to find any info about borderless windows with sway or i3... Are there any docs or hints that would show what is missed?

For context a fullscreen window does show borderless as others do. Also of note is that gnome windows that love drawing their own borders also have the standard window border in Sway.