[haiku-bugs] [Haiku] #16538: Brightness only set to 1st workspace

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 23 Sep 2020 05:20:39 -0000

#16538: Brightness only set to 1st workspace
--------------------------------------------+-----------------------------
 Reporter:  humdinger                       |       Owner:  pulkomandy
     Type:  bug                             |      Status:  new
 Priority:  normal                          |   Milestone:  Unscheduled
Component:  Drivers/Graphics/intel_extreme  |     Version:  R1/Development
 Keywords:                                  |  Blocked By:
 Blocking:                                  |    Platform:  All
--------------------------------------------+-----------------------------
 This is hrev54590

 I used to set the brightness of my screen (using intel_extreme driver) in
 my UserBootscript. And that worked on all my workspaces. Also, setting the
 brightness in the Screen prefs worked, setting the brightness of all
 workspaces.

 Now, I suspect after hrev54588, only the brightness of workspace 0 is set,
 all others are running at  a 100% glare. Opening the Screen prefs on such
 a workspace shows the brightness slider at the reduces value, while the
 actual screen brightness is 100%.

 This is the start of my
 {{{/boot/home/config/settings/system/app_server/workspaces:}}}

 {{{
 BMessage('asws') {
         columns = int32(0x4 or 4)
         rows = int32(0x1 or 1)
         workspace[0] = BMessage(0x0) {
                 screen = BMessage(0x0) {
                         id = int32(0x0 or 0)
                         frame = BRect(l:0.0, t:0.0, r:1919.0, b:1079.0)
                         mode = (type = 'RAWT')(size = 40)
                         brightness = float(0.1569)
                 }
                 color = int32(0xff986633 or -6789581)
         }
         workspace[1] = BMessage(0x0) {
                 screen = BMessage(0x0) {
                         id = int32(0x0 or 0)
                         frame = BRect(l:0.0, t:0.0, r:1919.0, b:1079.0)
                         mode = (type = 'RAWT')(size = 40)
                         brightness = float(1.0000)
                 }
                 color = int32(0xff986633 or -6789581)
         }
         workspace[2] = BMessage(0x0) {
                 screen = BMessage(0x0) {
                         id = int32(0x0 or 0)
                         frame = BRect(l:0.0, t:0.0, r:1919.0, b:1079.0)
                         mode = (type = 'RAWT')(size = 40)
                         brightness = float(1.0000)
                 }
                 color = int32(0xff986633 or -6789581)
         }
 }}}

 I'm not 100% sure, but I think I remember the "brightness" entry here used
 to be only under workspace[0], not all of them.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16538>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: