when you close a maximized window,you will never see "close-minimized-maximized"button anymore
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | unity8 (Ubuntu) |
Undecided
|
Michael Zanetti | ||
Bug Description
step:
1.open an app(like note-app,whatever)
2.maximized the window of note-app
3.close it
4.open note-app
except:
we will see "close-
actually:
we will not see these
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-11-02
- Lukáš Tinkl (community): Approve on 2015-10-22
- Michał Sawicz: Pending requested 2015-10-08
-
Diff: 595 lines (+287/-40)11 files modifiedplugins/Utils/windowstatestorage.cpp (+62/-23)
plugins/Utils/windowstatestorage.h (+13/-1)
qml/Components/WindowControlButtons.qml (+3/-0)
qml/Panel/Panel.qml (+5/-3)
qml/Shell.qml (+2/-0)
qml/Stages/DesktopStage.qml (+10/-3)
qml/Stages/WindowResizeArea.qml (+41/-8)
tests/mocks/Utils/windowstatestorage.cpp (+17/-0)
tests/mocks/Utils/windowstatestorage.h (+12/-0)
tests/qmltests/Stages/tst_WindowResizeArea.qml (+35/-2)
tests/qmltests/tst_Shell.qml (+87/-0)
| Changed in unity8 (Ubuntu): | |
| assignee: | nobody → Michael Zanetti (mzanetti) |
| summary: |
- when you close a maximized window,you will never see "close-minimized- - maximized"button anymore + [desktop] when you close a maximized window,you will never see "close- + minimized-maximized"button anymore |
| tags: | added: desktop |
| summary: |
- [desktop] when you close a maximized window,you will never see "close- - minimized-maximized"button anymore + when you close a maximized window,you will never see "close-minimized- + maximized"button anymore |
| HuangZhiquan (huangzhiquan) wrote : | #1 |
| HuangZhiquan (huangzhiquan) wrote : | #2 |
we also can create a table to store the "normal" state in windowstatestor
| HuangZhiquan (huangzhiquan) wrote : | #3 |
of course the app's window has trouble in switching state
step:
1.open an app
2.make it max
3.close it
4.open it
5.max window will be shown
6.click max
what we want is that the window will resume normal state,but what we see is that nothing happens
| Changed in unity8 (Ubuntu): | |
| status: | New → In Progress |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package unity8 - 8.11+16.
---------------
unity8 (8.11+16.
[ Albert Astals Cid ]
* Add an Item that proxies for old and new audio roles (LP: #1493851)
* CroppedImageMin
property "imageAspectRatio"'
* Make the scope settings list scroll to text visible area (LP:
#1499084)
* Move to importing QtQuick 2.4 & friends
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ Andrea Cimitan ]
* Add sharing widget to zoomable image and video playback
* Make zoomable and video playback widgets edge to edge
* Updated all 1.3 UbuntuShape to use new APIs where possible
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ CI Train Bot ]
* Resync trunk.
[ Christopher Lee ]
* Quick spelling fix in process control output.
[ Daniel d'Andrada ]
* Enable support for overriding application orientations based on
device type (LP: #1478637)
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ Josh Arenson ]
* Enable support for overriding application orientations based on
device type (LP: #1478637)
[ Michael Terry ]
* Avoid showing the shutdown dialog when turning on the screen if your
device is under heavy load. (LP: #1508563)
* Handle lifecycle policy exceptions ourselves, instead of letting
qtmir do it for us and allow non-Touch apps to opt-out of the Touch
lifecycle.
[ Michael Zanetti ]
* Fixes for the panel buttons (LP: #1510360, #1504269, #1431566,
#1443319)
* Use SDK 1.3 across all files (LP: #1503498, #1508363, #1449628)
[ Michał Sawicz ]
* Add missing copyright to Cursor.qml
* Enable support for overriding application orientations based on
device type (LP: #1478637)
* Support server->client visibility change to stop rendering
(lp:#1475678) (LP: #1475678)
[ Nick Dedekind ]
* Support server->client visibility change to stop rendering
(lp:#1475678) (LP: #1475678)
-- Michał Sawicz <email address hidden> Wed, 04 Nov 2015 14:58:41 +0000
| Changed in unity8 (Ubuntu): | |
| status: | In Progress → Fix Released |


when an app start,the state ==="",not maximized or normal or minimized.but i know that windowcontrolbu tton(close- min-max) only shows when an app's state == maximized,so when it starts, if its window full screen i will set the state==maximized , after these, you will see windowcontrolbutton normally,but then,when you click "maximized"(we expect change state to normal), there is nothing to happen,because you do not have the memeory(the position and size) that before the app close,so i just set the window full half screen in this situation. except those situation, it runs as before.