/srv/irclogs.ubuntu.com/2019/09/18/#xubuntu-devel.txt

ochosii would start by initializing the scale to 1.000:08
ochosibut obviously that's just part of the solution00:08
ochosialthough... actually that may be fine in any case00:08
ali1234it will change the bug from "all monitors turn off when i plug or unplug one" to "all monitors scale resets to 1 when i plug or unplug one"00:09
ochosithe scale is in xfconf anyway and that's what it should try to load when going through the outputs00:09
ali1234which is slightly less annoying, but still really annoying00:09
ochosidid you set the scale by hand?00:10
ochosii mean i guess you didn't00:10
ochosicause otherwise xfsettingsd should have remembered it and applied it00:10
ali1234no, i never touched any scale setting00:10
ochosiall outputs that are connected are remembered in the "Default" profile00:10
ochosiso the scale is also retained there and that's what should be applied00:11
ochosii'm just surprised you're the first one to run into this bug00:11
ochosiit sounds like i should have experienced it as well00:11
ochosiyou could try to set the scale values in xfconf to 1.0 for one of your outputs00:12
ochosijust to see how that changes the behavior00:12
ochosior to 2.0 if you want00:12
ali1234it wont change the behaviour00:15
ali1234because it calculates the screen size before the scale is loaded00:15
ochosianother issue i see with scale is that one time it's wrapped in #ifdef HAS_RANDR_ONE_POINT_THREE and the other time it's not00:17
ali1234yes00:18
ali1234there are a lot of problems with this code00:18
ali1234i'd have to read all of it to figure out hw to fix it properly00:18
ali1234https://bugzilla.xfce.org/show_bug.cgi?id=1597100:20
ubottubugzilla.xfce.org bug 15971 in Display Settings "All monitors turn off when adding or removing one due to uninitialized values in crtc struct" [Normal,New]00:20
ochosiwell, i'm afraid that would be the same for me too00:21
ochosievery time i have to fix something there i need to read the whole code00:22
ali1234well i'll ping perfinion with the bug, since he wrote this code00:23
ali1234i'll read the code tomorrow :)00:24
=== brainwash_ is now known as brainwash
=== Unit193 is now known as Guest17120
=== Guest17120 is now known as Unit193

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!