when you close a maximized window,you will never see "close-minimized-maximized"button anymore
Bug #1443319 reported by
HuangZhiquan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity8 (Ubuntu) |
Fix Released
|
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
lp:~mzanetti/unity8/panel-button-fixes
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Lukáš Tinkl (community): Approve
- Michał Sawicz: Pending requested
-
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 |
Changed in unity8 (Ubuntu): | |
status: | New → In Progress |
To post a comment you must log in.
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.