[Touch-packages] [Bug 1674263] Re: Window state storage should be using gu values rather than px

2017-03-21 Thread Michał Sawicz
Yes, float gu. The reason for that is restoring windows on a display with different density. If we recall a window from GU=8 on a GU=16 screen, it will not be what you wanted. In this scenario apps get told what size (and scale) they are, not the other way around. -- You received this bug

[Touch-packages] [Bug 1674263] Re: Window state storage should be using gu values rather than px

2017-03-20 Thread Daniel van Vugt
I'm not sure about this one. Legacy apps (actually all apps) that size themselves by pixels might get their sizes rounded to something inappropriate if you used 'int gu'. Or do you mean 'float gu'? The latter would avoid the problem (despite lack of precision), but even better would be to not fix

[Touch-packages] [Bug 1674263] Re: Window state storage should be using gu values rather than px

2017-03-20 Thread Michał Sawicz
** Also affects: canonical-devices-system-image Importance: Undecided Status: New ** Changed in: canonical-devices-system-image Status: New => Triaged ** Changed in: canonical-devices-system-image Importance: Undecided => Medium ** Changed in: unity8 (Ubuntu) Importance:

[Touch-packages] [Bug 1674263] Re: Window state storage should be using gu values rather than px

2017-03-20 Thread Lukáš Tinkl
** Changed in: unity8 (Ubuntu) Assignee: (unassigned) => Lukáš Tinkl (lukas-kde) ** Changed in: unity8 (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to unity8 in Ubuntu.