1. Set the following configuration: In "Appearance" settings, under "Behavior" tab, where it asks "Show the menus for a window", select "In the window's title bar".
2. Open any unmaximized window with menus, say gvim. The menus of the application are hidden on the top bar which looks nice and clean. Now try to absent-mindedly maximize the window by double clicking the top bar.
3. Usually unamximized windows are small and each program usually has at least 5~6 menu items. Therefore more than half of the top bar is occupied by the menu items. Double clicking on that range opens and immediately closes a menu item.
I doubt this is ever anyone's intention! On the contrary, if I double click on the top bar I expect the window to maximize. If suddenly menu items appear under my cursor, I wouldn't care; I would still expect double click to maximize the window.
Suggested solution:
If a menu item is double clicked, (un)maximize the window. This works also when the menus are in the menu bar, which is the desired behavior for unmaximizing if the window is already maximized.
The side effect is that if the menus are in the window's title bar and the menu bar is double-clicked, the window gets maximized. If this is not a desired side effect, it can be guarded against.
Steps to reproduce:
1. Set the following configuration: In "Appearance" settings, under "Behavior" tab, where it asks "Show the menus for a window", select "In the window's title bar".
2. Open any unmaximized window with menus, say gvim. The menus of the application are hidden on the top bar which looks nice and clean. Now try to absent-mindedly maximize the window by double clicking the top bar.
3. Usually unamximized windows are small and each program usually has at least 5~6 menu items. Therefore more than half of the top bar is occupied by the menu items. Double clicking on that range opens and immediately closes a menu item.
I doubt this is ever anyone's intention! On the contrary, if I double click on the top bar I expect the window to maximize. If suddenly menu items appear under my cursor, I wouldn't care; I would still expect double click to maximize the window.
Suggested solution:
If a menu item is double clicked, (un)maximize the window. This works also when the menus are in the menu bar, which is the desired behavior for unmaximizing if the window is already maximized.
The side effect is that if the menus are in the window's title bar and the menu bar is double-clicked, the window gets maximized. If this is not a desired side effect, it can be guarded against.
ProblemType: Bug 04.20140714- 0ubuntu1. 1 ature: Ubuntu 3.13.0- 36.63-generic 3.13.11.6 detection, composite, opengl, decor,mousepoll ,vpswitch, regex,animation ,snap,expo, move,compiztool box,place, grid,imgpng, gnomecompat, wall,ezoom, workarounds, staticswitcher, resize, fade,unitymtgra bhandles, scale,session, unityshell]
DistroRelease: Ubuntu 14.04
Package: unity 7.2.2+14.
ProcVersionSign
Uname: Linux 3.13.0-36-generic i686
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: i386
CompizPlugins: [core,bailer,
CurrentDesktop: Unity
Date: Mon Sep 29 15:52:08 2014
ExecutablePath: /usr/bin/compiz
InstallationDate: Installed on 2014-07-04 (87 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)