Ticket #693 (new bug)

Opened 2 years ago

Last modified 6 months ago

Cannot Change Resolution per Workspace (easy)

Reported by: greg.gd@… Owned by: axeld
Priority: normal Milestone: R1
Component: Servers/app_server Version:
Cc: diver, maxluebbe Blocked By:
Platform: All Blocking:

Description (last modified by axeld) (diff)

If I change the resolution in one of the Workspaces say from 1024x768, to 800x600 any bpp, it changes it for all workspaces, even though I have only set for Current Workspace, then after I restart it has gone back to the original setting ie 1024x768. If I change resolution to 800x600 any bpp for all Workspaces, as set in the Preferences, Screen Application, all the Workspaces are properly set. So I can change the screen resolution but I have to change it for all workspaces at once for it to work properly and stay at that setting after a reboot. The version of Haiku I tested this on is: rev17910_raw.tar.bz2

Change History

Changed 2 years ago by axeld

Yes, that's a known app_server bug (or rather, unimplemented feature). Thanks for reporting! I wonder why no one noticed that before :-)

Changed 2 years ago by axeld

  • component changed from Preferences to Servers

Changed 2 years ago by diver

  • cc diver added

Changed 23 months ago by axeld

  • priority changed from normal to high
  • platform set to All
  • description modified (diff)

Changed 22 months ago by axeld

  • component changed from General to User Interface/app_server

Changed 20 months ago by axeld

  • priority changed from high to normal

Changed 16 months ago by wkornewald

  • summary changed from Cannot Change Resolution per Workspace to Cannot Change Resolution per Workspace (easy)

Changed 13 months ago by max luebbe

  • cc max, luebbe added

Changed 13 months ago by max luebbe

  • cc maxluebbe added; max, luebbe removed

Changed 13 months ago by max luebbe

Working on this bug by first trying to reproduce it -

When I go to switch the resolution via preferences->screen

My workspace count on the left is 4, yet my choices for changing the workspace resolutions are: all workspaces (checked) and current workspace which is ghosted.

Changing the resolution and trying to apply it, I get a msg saying that my hardware isnt supported (geforce 6250go) and ill get my new resolution after a reboot.

Am I trying to change the resolution of a specific workspace incorrectly since that option doesn't seem to exist here, or is this another bug?

I'm running a vmware image I built from source revision 21967.

Changed 13 months ago by tangobravo

vmware does not present the guest OS with the actual graphics card in your machine. I've found a driver in the tree for VMWare graphics, but perhaps this is not added to the image by default.

Without support for your graphics card, Haiku will use standard VESA mode, but that does not allow for changing resolutions on the fly. That means you won't be able to work on this bug under VESA, as per-workspace resolutions require the resolution to be changed on demand. In short, not allowing you to highlight "Current Workspace" is the correct behaviour under VESA. I don't know if that's just luck though - perhaps it's always disabled as the feature hasn't been implemented - not sure.

Changed 13 months ago by axeld

Indeed, you'll have to have a supported graphics card to do this. The VMware graphics driver is currently not on the image, because it uses some optimizations which disable the kernel debugger - and since Haiku is not really stable yet, this is a very handy tool we don't want to lose yet.

However, you can put it on the image manually, using your build/jam/UserBuildConfig - alternatively, you can also change your HaikuImage build file to include the driver again, but you'll then have to make sure you don't commit it accidently :-)

Finally, you only have the two options "current" and "all" because you are supposed to be on the workspace you change the resolution of. This way, it's guaranteed that you see what you do. The other preference applications (like Backgrounds) are working in the same way. You can either switch workspaces using Cmd+F1..12 or by using the Workspaces application.

Thanks for looking into this!

Changed 13 months ago by axeld

BTW the "easy" in the title could be a bit misleading - it's only a couple of lines of code, but you'll probably have to be a bit familiar with the app_server to do it properly.

Changed 11 months ago by axeld

  • milestone changed from R1 to R1/alpha

Changed 10 months ago by stippi

Considering the goal of that release, why was this bug moved to the R1/alpha milestone?

Changed 10 months ago by axeld

  • milestone changed from R1/alpha to R1

I somehow identified this as a prominent feature of Haiku that the alpha version shouldn't miss. But I guess you're right :-)

Changed 6 months ago by aldeck

i disabled the "current workspace" option for now. r24280

Note: See TracTickets for help on using tickets.