Window management - Dragging down a maximized window from the panel has not predictable results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ayatana Design |
Fix Released
|
High
|
John Lea | ||
Unity |
Fix Released
|
Medium
|
Marco Trevisan (Treviño) | ||
unity (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Dragging a window down from the top panel has a lot of issues, first of all:
- The window should be restored as soon as the mouse pointer drags content outside the panel area
- Once a window is restored it should not be placed outside the desktop area,
unless it fits into it, also it should be never below the launcher (when always visible).
In the case that the window is bigger than the available space, the window should be resized to fit on the monitor if possible. If this is not possible (e.g. it is a fixed size window that is larger than the monitor resolution) the top and left
borders should be always visible anyway.
- The just restored window, should be grabbed on a point of the top decoration
that is proportional to the x-offset grabbed on the panel, so if you start
dragging at the left of the panel, the window should be handled by the top-left
corner, if you start dragging on the right of the panel, the window shuold be
proportionally handled on the right.
Related branches
- Tim Penhey (community): Approve
-
Diff: 7874 lines (+3128/-2131)28 files modifiedUnityCore/Variant.cpp (+31/-2)
UnityCore/Variant.h (+6/-1)
plugins/unityshell/src/DashController.cpp (+5/-3)
plugins/unityshell/src/DashController.h (+1/-0)
plugins/unityshell/src/LauncherController.cpp (+51/-8)
plugins/unityshell/src/PanelController.cpp (+27/-20)
plugins/unityshell/src/PanelController.h (+2/-4)
plugins/unityshell/src/PanelIndicatorEntryView.cpp (+440/-347)
plugins/unityshell/src/PanelIndicatorEntryView.h (+69/-45)
plugins/unityshell/src/PanelIndicatorsView.cpp (+103/-42)
plugins/unityshell/src/PanelIndicatorsView.h (+27/-18)
plugins/unityshell/src/PanelMenuView.cpp (+934/-859)
plugins/unityshell/src/PanelMenuView.h (+78/-90)
plugins/unityshell/src/PanelTitlebarGrabAreaView.cpp (+125/-13)
plugins/unityshell/src/PanelTitlebarGrabAreaView.h (+27/-6)
plugins/unityshell/src/PanelTray.cpp (+92/-115)
plugins/unityshell/src/PanelTray.h (+21/-24)
plugins/unityshell/src/PanelView.cpp (+123/-149)
plugins/unityshell/src/PanelView.h (+40/-45)
plugins/unityshell/src/PluginAdapter.cpp (+158/-24)
plugins/unityshell/src/PluginAdapter.h (+12/-3)
plugins/unityshell/src/SwitcherController.cpp (+9/-2)
plugins/unityshell/src/UBusMessages.h (+1/-0)
plugins/unityshell/src/WindowButtons.cpp (+587/-220)
plugins/unityshell/src/WindowButtons.h (+33/-12)
plugins/unityshell/src/WindowManager.cpp (+38/-10)
plugins/unityshell/src/WindowManager.h (+12/-6)
plugins/unityshell/src/unityshell.cpp (+76/-63)
Changed in unity: | |
status: | New → In Progress |
assignee: | nobody → Marco Trevisan (Treviño) (3v1n0) |
importance: | Undecided → Medium |
Changed in compiz-grid-plugin: | |
status: | New → Invalid |
no longer affects: | compiz-grid-plugin |
description: | updated |
Changed in ayatana-design: | |
assignee: | nobody → John Lea (johnlea) |
summary: |
- Dragging down a maximized window from the panel has not predictable - results + Window management - Dragging down a maximized window from the panel has + not predictable results |
Changed in ayatana-design: | |
importance: | Undecided → High |
status: | New → Fix Committed |
tags: | added: udp |
Changed in unity: | |
milestone: | none → backlog |
Changed in unity (Ubuntu): | |
status: | New → In Progress |
Changed in unity: | |
milestone: | backlog → 5.6.0 |
Changed in unity (Ubuntu): | |
importance: | Undecided → Medium |
Changed in unity: | |
milestone: | 5.6.0 → 5.8.0 |
Changed in unity: | |
milestone: | 5.8.0 → 5.10.0 |
Changed in unity (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in unity: | |
status: | In Progress → Fix Committed |
Changed in unity: | |
status: | Fix Committed → Fix Released |
tags: | added: delta-with-3d |
Changed in unity-2d: | |
status: | New → Confirmed |
tags: |
added: reviewedbydesignp removed: udp |
Changed in ayatana-design: | |
status: | Fix Committed → Fix Released |
no longer affects: | unity-2d |
Changed in unity-2d (Ubuntu): | |
status: | Confirmed → Invalid |
no longer affects: | unity-2d (Ubuntu) |
This bug was fixed in the package unity - 5.10.0-0ubuntu3
---------------
unity (5.10.0-0ubuntu3) precise-proposed; urgency=low
[ Oliver Grawert ] standalone- clients. patch to make unity build with GLES
* Enable subarch specific quilt support
* add linaros disable_
[ Didier Roche ] patches/ series. <arch> as not supported in non v3 (and we don't
* remove a symlink and replace with a real file for
debian/
want v3 format with full source upstream derived branch)
unity (5.10.0-0ubuntu2) precise-proposed; urgency=low
[ Ricardo Salveti de Araujo ]
* Enabling build with OpenGL ES2.0 support for ARM and disable maintainer
mode on that arch to avoid -Werror failure (LP: #980544)
unity (5.10.0-0ubuntu1) precise-proposed; urgency=low
* New upstream release: message( ) (LP: #926208) window- decorator crashed with SIGSEGV in max_window_ name_width( ) string< ...>::basic_ string( ) launcher: :HudLauncherIco n::HudLauncherI con():: {lambda} from :UBusManager: :OnCallback (LP: #964897) proxy_name_ changed( ) [libindicator/ indicator- service- c:574] (LP: #969360) FocusOnMouseEnt er not declared
- bamfdaemon crashed with SIGABRT in g_assertion_
- We are using 1 bad hack for compiz hanging on startup (LP: #963264)
- GConf backend steals glib events from compiz (LP: #965220)
- when I closed QupZill brawser it crashed and then and then I sow
worrning that compiz crashed but fire fox and chrome is estle working.
gtk-
(LP: #948580)
- compiz crashed with SIGSEGV in std::basic_
from unity::
unity:
- unity-panel-service crashed due to heap corruption in g_free() from
service_
manager.
- Opening dash while an application is maximized makes unity completely
useless, have to relogin (LP: #975103)
- unity crash on alt-tab (LP: #975168)
- Top bar - Menus should be condensed to fit panel/overlay of appmenu
(LP: #655184)
- Topbar - window controls for maximised windows in the top bar should
conform to Fitts's law (LP: #839690)
- [FFe, UIFe] Dash - When the Dash is open and there is a maximised app in
the background, the top bar background should not disappear
(LP: #839480)
- Dash - The inner bottom left, bottom right and top right corners of the
desktop dash border are rendered incorrectly (LP: #839476)
- Showdesktoped window contents invisible in window spread (LP: #877778)
- Maximized windows can be accidentally closed from wrong monitor.
(LP: #865701)
- Unity launcher on-screen corruption on resume from suspend with nVidia
proprietary driver (LP: #915265)
- Launcher - Inserting items into launcher makes unnecessary animations on
other monitors (LP: #925021)
- Far left character in panel (and launcher popups) distorted
(LP: #927441)
- Jenkins build failure: SetAcceptKeyNav
(LP: #938037)
- super+<unbound key> and sometimes super+<number> keys now cause launch
to wedge with the key hints shown and retains focus instead of selecting
the requested window (LP: #934084)
- three-finger move does not move (Precise) (LP: #940612)
- compiz crashed with SIGSEGV in std::__de...