Windows stretched after setting virtual screen resolution
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Won't Fix
|
Undecided
|
Sam Spilsbury | ||
unity (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
I am trying to set a framebuffer larger than the physical screen, with panning. This causes visual garbage: other than the basic Unity desktop + launcher bar, everything appears to have been sized for the physical screen and then stretched to the virtual one. However, "logical" locations are unchanged; for example, in the logout/shutdown dropdown menu, all the names of the entries are displaced from the position which I have to click to activate them.
My computer is an Asus EeePC 1005HA, and I'm using 11.04.
To reproduce:
1. Use the xrandr command `xrandr --output LVDS1 --fb 1024x768 --panning 0x768` (output name and actual numbers depending on your setup; however, the 0x is important, as is that the vertical parts of fb and panning are equal). It might be necessary to start in the default resolution, `xrandr --output LVDS1 --fb 1024x600`.
2. Run `unity --replace`. Without this, Unity simply displays black in the extra virtual space.
The result should be as I described above.
Changed in unity (Ubuntu): | |
status: | New → In Progress |
Changed in unity: | |
status: | In Progress → Opinion |
status: | Opinion → Invalid |
Changed in unity (Ubuntu): | |
status: | In Progress → Won't Fix |
Changed in unity: | |
status: | Invalid → Won't Fix |
Turns out this isn't really a bug, but just unexpected behavior. By default, Compiz autodetects outputs, and so assumes my screen is 1024x600; when I set its virtual size to 1024x768 (which is not autodetected) it simply stretches those 600 pixels into the available space. This is corrected by disabling autodetection and giving it a manual output of 1024x768 (or, as I wanted, two outputs, the other one being 1024x600+0-168, with the smaller one preferred). These changes are made in the "General options" menu in the config tool, under "display settings".