Window does not remember size when using keyboard shortcuts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
Undecided
|
Lukáš Tinkl | ||
webbrowser-app (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Story: this is a detail I noticed while testing bug fix for LP: #1312892 in webbrowser silo 2504. If the user wants to resize/move/close the window only with the mouse it might remember the size and will work right, but using keyboard shortcuts to resize/move/close like ctrl+super+arrows and alt+F4 can make it fail.
Environment: unity8-deb session on zesty+silo 2504
Test case 1
1. Open webbrowser and press ctrl+super+up arrow to maximize
2. Close webbrowser with the mouse or alt+F4
3. Open webbrowser again and check the window size
Expected result: webbrowser appears maximized
Current result: on first boot webbrowser appears with its normal/by default size
Test case 2
1. Open webbrowser and press ctrl+super+right arrow to put it on the right edge
2. Close webbrowser with the mouse or alt+F4
3. Open webbrowser again and check its size and position
Expected result: webbrowser should open next to the right edge
Current result: webbrowser does not start oon the right edge
Related branches
- Unity8 CI Bot: Approve (continuous-integration)
- Michael Zanetti (community): Approve
- Daniel d'Andrada (community): Needs Information
-
Diff: 360 lines (+56/-59)9 files modifiedqml/Stage/ApplicationWindow.qml (+1/-0)
qml/Stage/Stage.qml (+21/-11)
qml/Stage/StagedFullscreenPolicy.qml (+7/-13)
qml/Stage/WindowStateSaver.qml (+4/-3)
qml/Stage/WindowedFullscreenPolicy.qml (+4/-12)
tests/mocks/Unity/Application/ApplicationManager.cpp (+1/-0)
tests/qmltests/Stage/tst_DesktopStage.qml (+3/-3)
tests/qmltests/tst_OrientedShell.qml (+5/-3)
tests/qmltests/tst_Shell.qml (+10/-14)
description: | updated |
Changed in webbrowser-app (Ubuntu): | |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
status: | New → In Progress |
Changed in unity8 (Ubuntu): | |
status: | New → Invalid |
Changed in webbrowser-app (Ubuntu): | |
status: | In Progress → Invalid |
Changed in unity8 (Ubuntu): | |
status: | Invalid → In Progress |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
Changed in webbrowser-app (Ubuntu): | |
assignee: | Lukáš Tinkl (lukas-kde) → nobody |
This bug was fixed in the package unity8 - 8.15+17. 04.20170308- 0ubuntu1
--------------- 04.20170308- 0ubuntu1) zesty; urgency=medium
unity8 (8.15+17.
[ Albert Astals Cid ] erence
* Let's follow the keyboard order
* Enable the license check (LP: #1590044)
* Show a barebones error message if loading the QML doesn't work
* Make sure cursor is back to normal when closing the window (LP:
#1666158)
* Fix small warning when sensitive is undefined
* Remove unused member variable
* Initialize m_msecsSinceRef
* Add warning if registerService fails
* Move menus Component {} out of the repeater
* Add tool to browse menus of a running app
[ Daniel d'Andrada ]
* Drag child windows with Alt+LeftMouseButton (LP: #1664947)
[ Gerry Boland ] odel: connect to the OSK surface to know when it goes
* TopLevelWindowM
away so we can clean up after it. (LP: #1670681)
[ Josh Arenson ]
* Initialize sessionMode to single when mock is reset (LP: #1667463)
[ Lukáš Tinkl ]
* Make the menu string "Back" translatable
* Let the OSK be driven by a switch in indicator-keyboard (LP:
#1521518)
* Disable the tutorial when there's no touchscreen (LP: #1661557)
* Shell chrome fixes (LP: #1658117, #1665723, #1665724, #1669010)
* Cancel the drag as soon as we're entering the spread (LP: #1668642)
* Fix being unable to use window control buttons or menus with touch
(LP: #1667604, #1668387)
[ Michael Terry ]
* Set QT_IM_MODULE in the greeter so that the OSK can come up. (LP:
#1670383)
* Simplify our startup handling of Mir environment variables and set
the right socket path in snappy.
[ Michael Zanetti ]
* Cancel the home key activation if something else is pressed along
with Meta (LP: #1670678)
* close the drawer when something is launched from the launcher (LP:
#1660367)
* use a svg instead of a png for the Launcher's BFB (LP: #1668057)
* change the default setting for the launcher autohiding (LP:
#1670655)
[ Nick Dedekind ] test_spreadDisa bled to ensure initial state for each
* Split up Shell::
test.
-- Michał Sawicz <email address hidden> Wed, 08 Mar 2017 09:56:46 +0000