https://bugs.kde.org/show_bug.cgi?id=436349
--- Comment #6 from Roman Azami <nascentsou...@gmail.com> --- (In reply to Roman Azami from comment #5) > I tried fixing this as it is tagged as a junior job but couldn't, here are > my findings though. > > It seems like the problem lies in a function XVidExtWrap::_ScreenCount(). It > gets called from KGamma constructor and then the returned count value is > used to configure screens combobox in a function KGamma::setupUI(). When > configuring combobox, if screen count <=1 checkbox. From my observation > XVidExtWrap::_ScreenCount() always returns 1 no matter if I plug\unplug my > second monitor thus creating bug in question. > > Looking at XVidExtWrap::_ScreenCount() implementation it uses class > XF86ConfigPath to get count of screens. In XF86ConfigPath constructor there > is defined a list of magic string paths that it tries to access all sorts of > configs and fails at all of them (I also checked each path manually on my > system and didn't find any of them). As it can't find any configs screen > count is 0, but in the end of function it gets set to 1 after !count check. > > Sibling setting category "Display Configuration" somehow has "Device" > combobox that correctly identifies current available screens. After looking > into it's implementation for awhile I kinda gave up as this issue is too > hard for me now. Cant edit previous comment, little change: "if screen count <=1 checkbox" to "if screen count <=1 then combobox is disabled -- You are receiving this mail because: You are watching all bug changes.