No draggable areas to move the main window, other than the title bar
Versions
- OS: Fedora 42
- Gajim: 2.4.0
- GTK Version: 4.20.2
- Adw Version: 1.8.1
- GLib Version: 2.86.0
- Pango Version: 1.57.0
- PyGObject Version: 3.54.3
- cairo Version: 1.18.5
- pycairo Version: 1.28.0
- python-nbxmpp Version: 6.4.0
- libsoup Version: 3.6.5
Steps to reproduce the problem
- In the "General" global preferences page, switch off "Show Title Bar"
- Try to find a place where you can drag and move the main window :)
Actual behavior
There are no draggable areas (that I could find), so it is impossible to move (or maximize) the window, except if you know some cheating tricks like GNOME Shell's Super+drag combo.
Expected behavior
I have seen various other GTK4/libadwaita apps have draggable parts even without a traditional titlebar.
For example, Nautilus lets you drag anywhere at the top of its sidebar, main view headerbar's toolbar buttons and empty spaces, pathbar, etc. with simply the left mouse button:
demonstration of entirely draggable Nautilus CSD headerbar widgets area
If technically feasible here, it would be amazing if Gajim would let me click-and-drag these non-interactive areas (i.e. where drag is not used for something else):
- The minicolumn at the complete left of the main window, except the reorderable workspaces image buttons themselves of course; i.e. the regular buttons and empty spaces could be draggable
- The headerbar-like area at the top of the chats list (left) sidebar and at the top of the chatrooms (including non-selectable text and regular buttons)
- The empty-state "Start Chatting…" panel when no discussion is selected?
I don't know if the headerbar-like area would need to be part of an actual Gtk.HeaderBar or Adw.HeaderBar for this to work, or if there is a trick to this at the application level…