squirrel-sql-client / squirrel-sql-code

Share of the SQuirreL SQL source code originating from SourceForge, see https://squirrelsql.org
GNU Lesser General Public License v2.1
59 stars 11 forks source link

No more buttons to minimize/maximize/close window #22

Closed mrichez-saluc closed 10 months ago

mrichez-saluc commented 10 months ago

I'm using Squirrel 4.6 on Arch Linux, there are no buttons to minimize/maximize/close window.

2023-09-14_09-18

tsdh commented 10 months ago

What window manager or wayland compositor are you using? For example, I'm using sway and see the same as your screenshot but I'd consider it correct. The compositor adds the window decorations (borders, titlebar, and buttons) or maybe not (if it's a tiling compositor like sway), not the application itself.

There is a trend for client-side decorations (CSD) where the application is responsible for drawing its decorations itself. For example, most Gnome applications or Chrome/Electron-based applications do. Java applications, Emacs, Firefox, and many others don't. I guess that's the thing confusing you.

Basically, what you want is to tell your window manager/compositor to draw window decorations for some apps (like Squirrel) but not for others. Right now, you seem to have disabled them completely.

mrichez-saluc commented 10 months ago

My window manager is X11.

tsdh commented 10 months ago

X11 is no window manager. Something like Gnome, KDE, Xmonad, i3wm is.

mrichez-saluc commented 10 months ago

So, it's Gnome :-)

mrichez-saluc commented 10 months ago

Don't understand how, but it's now resolved... sorry for noise