closing an app by swiping it should graceful quit
Bug #1434584 reported by
Renato Araujo Oliveira Filho
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qtmir (Ubuntu) |
Fix Released
|
Medium
|
Nick Dedekind | ||
qtubuntu (Ubuntu) |
Fix Released
|
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
- Robert Carr (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 13 lines (+3/-0)1 file modifiedsrc/ubuntumirclient/input.cpp (+3/-0)
lp:~nick-dedekind/qtmir/polite-close
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Daniel d'Andrada (community): Approve
- Gerry Boland: Pending requested
-
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)
Changed in qtmir: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in qtmir: | |
status: | Confirmed → In Progress |
assignee: | nobody → Nick Dedekind (nick-dedekind) |
Changed in qtmir: | |
status: | In Progress → Fix Released |
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