After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 679471 - [gtk3] Maximize the main window by default
[gtk3] Maximize the main window by default
Status: RESOLVED INVALID
Product: pitivi
Classification: Other
Component: User interface
Git
Other Linux
: Low enhancement
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-05 20:29 UTC by Jean-François Fortin Tam
Modified: 2012-08-22 12:45 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2012-07-05 20:29:10 UTC
Considering the following:
- Video editing requires a lot of screen space. When I'm doing actual editing (instead of testing) I always work maximized
- We will eventually use a dark GTK theme variant (bug #676504) to avoid visual pollution; however, this really makes sense for apps that are maximized (otherwise the rest of the desktop can still influence your visual perception)

I'm considering:
- Maximizing by default (user settings will still be remembered, of course)
- Hiding the titlebar when maximized:

http://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-hide-titlebar-when-maximized
Comment 1 Allan Day 2012-07-05 21:31:44 UTC
I generally advise against removing the titlebar if you still have a menubar, since it results in narrow click targets very close to the activities button and application menu.
Comment 2 Jean-François Fortin Tam 2012-07-06 00:05:17 UTC
Hm hm, that's a fair point. Whatsmore, I somewhat fear the onslaught of users asking how they can quit Pitivi or how to unmaximize it (that, in particular, is less obvious).

I guess that the "maximize by default" part of this bug report would be enough then.

Thanks for your input, Allan!
Comment 3 Allan Day 2012-07-06 00:15:23 UTC
It shouldn't be too hard to get rid of the menubar, if you want...
Comment 4 Jean-François Fortin Tam 2012-07-12 21:21:53 UTC
Allan, I'm open to the idea although I haven't been able to convince myself that getting rid of the menus completely is possible, given how many menu items pitivi has. Sure, a tiny lot of them could go away completely, but it's usually a mix of:

- Some functionalities that are not frequently used enough to be part of the main interface, yet frequently used enough that they should not be buried in a preferences dialog (or in the case of actionable items, it doesn't make sense for them to be in the prefs dialog)
- I typically follow the old rule of "if it can be done with a button or a contextual menu, it should also be accessible with toplevel menus".
- What about non-gnome systems?
- The probably intrusive changes to the code that would be required to move away from a menu-centric app.


So if I'm to consider removing entirely the menus eventually, I would need a very convincing plan for it (could be a separate bug report I guess)!
Comment 5 Jean-François Fortin Tam 2012-08-22 05:01:41 UTC
Actually... seems like it was already the default behavior. With an empty config, pitivi is maximized by default, so this bug report is now pretty much invalid.

However, if you know of a trick to put both the menubar and toolbars in "sliding" overlays in fullscreen mode (bug #603738) like gedit does with its toolbar, patches or hints welcome!
Comment 6 Allan Day 2012-08-22 09:39:34 UTC
(In reply to comment #5)
... 
> if you know of a trick to put both the menubar and toolbars in
> "sliding" overlays in fullscreen mode (bug #603738) like gedit does with its
> toolbar, patches or hints welcome!

A quick aside - Totem's full-screen will hopefully be changing in the near future:

 * https://live.gnome.org/Design/Apps/Videos/
 * https://live.gnome.org/GnomeOS/Design/Whiteboards/WindowStates

Probably not what you are looking for for PiTiVi, but might be interesting all the same.
Comment 7 Jean-François Fortin Tam 2012-08-22 12:45:35 UTC
Well the only difference that I can see is that totem would activate it on every mouse move (vs moving to the top edge of the screen like gedit/epiphany), that it would show the Shell's top bar (I don't see why) and it would use custom (clutter+css?) controls.

In my case I want to "rip out" gtk widgets and place them into a vbox that would somehow slide in and out of the top of the screen. I'm looking for a way to do that sliding vbox, so if you have pointers on that (especially code that is easy to understand for a pythonista), that's very appreciated! :)