closing an app by swiping it should graceful quit
Bug #1434584 reported by
Renato Araujo Oliveira Filho
on 2015-03-20
This bug affects 5 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | qtmir (Ubuntu) |
Medium
|
Nick Dedekind | ||
| | qtubuntu (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
By swiping an app to close causes the app to quit without call its destructor. In my opinion we should use the same behavior as we have on desktop when clicking on the "x" in the windows manager.
Most of c++ classes has some cleanup function on the destructor and it expected that will be called at some point. For example the QTemporaryFile or QTemporaryDir. They remove the files created during the destruction.
Related branches
lp:~gerboland/qtubuntu/window-close-support
- Nick Dedekind (community): Needs Information on 2015-06-23
- Robert Carr (community): Approve on 2015-02-17
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-02-12
-
Diff: 13 lines (+3/-0)1 file modifiedsrc/ubuntumirclient/input.cpp (+3/-0)
lp:~nick-dedekind/qtmir/polite-close
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-12-04
- Daniel d'Andrada (community): Approve on 2015-09-29
- Gerry Boland: Pending requested 2015-06-17
-
Diff: 726 lines (+343/-24)17 files modifieddebian/changelog (+7/-0)
src/modules/Unity/Application/application.cpp (+42/-9)
src/modules/Unity/Application/application.h (+7/-0)
src/modules/Unity/Application/application_manager.cpp (+52/-12)
src/modules/Unity/Application/application_manager.h (+3/-0)
src/modules/Unity/Application/mirsurface.cpp (+7/-0)
src/modules/Unity/Application/mirsurface.h (+2/-0)
src/modules/Unity/Application/mirsurfaceinterface.h (+2/-0)
src/modules/Unity/Application/session.cpp (+40/-2)
src/modules/Unity/Application/session.h (+1/-0)
src/modules/Unity/Application/session_interface.h (+1/-0)
tests/modules/Application/CMakeLists.txt (+5/-0)
tests/modules/ApplicationManager/application_manager_test.cpp (+155/-0)
tests/modules/common/fake_mirsurface.h (+7/-0)
tests/modules/common/fake_session.h (+4/-0)
tests/modules/common/mock_session.h (+1/-0)
tests/modules/common/qtmir_test.h (+7/-1)
Gerry Boland (gerboland)
on 2015-03-23
| Changed in qtmir: | |
| status: | New → Confirmed |
| importance: | Undecided → Medium |
Gerry Boland (gerboland)
on 2015-09-02
| Changed in qtmir: | |
| status: | Confirmed → In Progress |
| assignee: | nobody → Nick Dedekind (nick-dedekind) |
Michał Sawicz (saviq)
on 2015-12-11
| Changed in qtmir: | |
| status: | In Progress → Fix Released |
Michał Sawicz (saviq)
on 2017-03-13
| affects: | qtmir → qtmir (Ubuntu) |
To post a comment you must log in.


This bug was fixed in the package qtubuntu - 0.61+15. 10.20150617- 0ubuntu1
--------------- 10.20150617- 0ubuntu1) wily; urgency=medium
qtubuntu (0.61+15.
[ Daniel d'Andrada ]
* Drastically improve surface resize responsiveness
[ Gerry Boland ]
* Add support for Mir window close event (LP: #1434584)
[ Lukáš Tinkl ]
* fix logic error when testing QFlags
[ Timo Jyrinki ]
* Build depend against libinput-dev to fix build with Qt 5.5 (LP:
#1437192) (LP: #1437192)
-- CI Train Bot <email address hidden> Wed, 17 Jun 2015 13:46:52 +0000