UI scaling issue with OTA-24
-
Hi all
I recently updated to OTA-24 and have an issue with the UI scaling since. The scaling slider in the UT tweak tools eternally thinks it's on 21, but the actual scaling sits at 23 (three icons wide drawer) after a reboot (or when re-opening the tweak tools). I can choose to "reset to default values" in the tweak tools and it will reset to a scaling of 21 (4 icons wide app drawer), but the slider will again sit at 23. If I apply the 23 scaling it will change to that, but again I can't select the 21 scaling without resetting to default values (and the mandatory unity8 restarted that requires). Is there a workaround to fix the scaling?
thanks
-
If I understand correctly, you want to set it to 21 but it's stuck to 23 and can't change to 21?
Did the scaling value change after the OTA update? because I don't think that's possible unless didn't change it and the default device value was changed in OTA-24 -
I'm honestly not sure what the default was before the update and if I changed it to 21 or if that was the default value previously. It looks like 21 is the new default value somewhere as well, but it's not properly applied/sync'ed to the UI.
yeah, that text is a bit hard to follow, so here's two screenshots:
After booting the scale is set to 23. I can "apply" 23, which changes nothing. The UI slider can't decide if it's set to 21 (internally) or 23 (as displayed) I think:
If I change the slider to 21 I can't apply that, as it's stuck with the same confusion here again:
"restore to default" is the only way I can get the 21 scaling back, and that doesn't stick around. After that the UI is scaled correctly to 21, but the slider once again thinks it's on 23.
-
Sorry, I'm still confused
But in any case, you can check this file~/.config/upstart/ut_tweak_gu.conf
. It'll show you the actual value applied to the system.
And default value is whatever the scaling was when you first opened the tweak tool app. So that also means if you transferred the config from another phone, it'll use the other phone's default scaling -
@kugiigi
I see. That file does not exist most of the time oO This is my first UT phone, so no copying from anywhere else.
Usually have this file only:$ cat ~/.config/ut-tweak-tool.sverzegnassi/ut-tweak-tool.sverzegnassi.conf [General] defaultDeviceGU=21
$ ls -l ~/.config/upstart/ total 0
I think you're right that the default scaling changed in OTA24...
$ initctl get-env GRID_UNIT_PX 23
I changed the scaling in the tweak tools to 20 and it did create "your" file:
$cat ~/.config/upstart/ut_tweak_gu.conf start on starting dbus exec initctl set-env --global GRID_UNIT_PX=20
Resetting the scaling in the tweak tools seems to simply delete this file. Not sure why that reverts to 21 though. Maybe the tweak tools call the initctl command explicitly with it's saved default value?
I changed the scaling to 20 in the tweak tools, then manually changed it to 21 in the newly created
~/.config/upstart/ut_tweak_gu.conf
. It now stays after a reboot.I guess I can just change the default value in ut-tweak-tool.sverzegnassi.conf to 23 or delete that file/directory (an re-install the tweak tools) to get UT and the tweak tools to agree on the system state again?
Thanks for pointing out that file and location.
Edit: I changed the stored default value in
~/.config/ut-tweak-tool.sverzegnassi/ut-tweak-tool.sverzegnassi.conf'
to 23 and things are behaving as expected again. -
-
-
@gandalf I guess this is a bug in the tweak tool so thanks for reporting too.
-
@kugiigi
I think it's the same issue as this old bug report:
https://gitlab.com/myii/ut-tweak-tool/-/issues/32 instead of copying an old value over this time the default for the device changed ¯\_(ツ)_/¯