Windows are not sized correctly if an invalid size comes from the state storage.
Bug #1674262 reported by
Nick Dedekind
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Michał Sawicz | ||
unity8 (Ubuntu) |
Fix Released
|
High
|
Lukáš Tinkl |
Bug Description
The width/height of a windowed surface can be 0 if the initial size is loaded with 0 due to an invalid state storage size.
Related branches
lp://staging/~lukas-kde/unity8/protect-window-storage-against-invalid-geometry-lp1674262
- Unity8 CI Bot: Approve (continuous-integration)
- Albert Astals Cid (community): Approve
-
Diff: 41 lines (+18/-2)2 files modifiedplugins/Utils/windowstatestorage.cpp (+9/-2)
tests/plugins/Utils/WindowStateStorageTest.cpp (+9/-0)
description: | updated |
description: | updated |
Changed in unity8 (Ubuntu): | |
assignee: | nobody → Lukáš Tinkl (lukas-kde) |
status: | New → Triaged |
Changed in canonical-devices-system-image: | |
status: | New → Triaged |
Changed in unity8 (Ubuntu): | |
importance: | Undecided → High |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Michał Sawicz (saviq) |
importance: | Undecided → High |
milestone: | none → u8c-1 |
milestone: | u8c-1 → u8c-z |
Changed in unity8 (Ubuntu): | |
status: | Triaged → In Progress |
Changed in canonical-devices-system-image: | |
status: | Triaged → In Progress |
tags: | added: unity8-desktop |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package unity8 - 8.15+17. 04.20170328. 3-0ubuntu1
--------------- 04.20170328. 3-0ubuntu1) zesty; urgency=medium
unity8 (8.15+17.
[ Albert Astals Cid ] nMocks: Initialize m_state and m_requestedState
* mock: Remove empty property and move invokable
* Tune quicklist item selection
* Fix unminimizing going to the wrong position the second time (LP:
#1671458)
* Remove unclickable gaps on the menubar (LP: #1672722)
* indicators client is a tool
* Make sure we destroy the popups when the item goes away (LP:
#1670338)
* UnityApplicatio
* Don't use appInfo after checking it if is null
* Initialize m_privateMode
* Hook up aboutToShow for overflow menus (LP: #1676016)
[ Daniel d'Andrada ]
* Give active focus to child surface qml items (LP: #1671072)
* Satellite child windows (LP: #1673415)
* Tell qtmir/miral about the available desktop area
[ Florian Boucault ] Storage: :saveValue always has a thread available to
* WindowStateStorage: use a private QThreadPool to ensure that
WindowState
execute the query in. (LP: #1675424)
[ Lukáš Tinkl ] ssionService (LP: #1676426)
* Protect against loading invalid window geometry (LP: #1674262)
* Remove usage of the deprecated (and non-functional) system-image-
dbus service.
* Implement Ctrl+Alt+T to launch the terminal app (LP: #1673500)
* Only take normal and dialog surface types into account for launcher
items (LP: #1669047)
* Fix the shutdown dialog after recent refactoring in
DBusUnitySe
[ Michael Zanetti ]
* drop the grey background behind icons in the drawer (LP: #1675688)
[ Pete Woods ] :isPC, and add tests (LP: #1670657)
* Fix Unity/Platform:
-- Michał Sawicz <email address hidden> Tue, 28 Mar 2017 21:50:20 +0000