Clock and quotes: The clock shrinks and position changes with two monitors
Bug #1096035 reported by
Crimbo
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Variety |
Confirmed
|
Low
|
Unassigned |
Bug Description
I love the clock feature - it looks so good!
When I set it up on a computer I have with two monitors, the clock shrinks and position changes. On my second monitor, it actually clips off screen. When I unplug the additional monitor, the clock displays as it should. I reckon this is happening because total desktop area is much wider than just having on monitor.
It would be nice if you could select it to only show on the primary monitor.
Version: 0.4.12
Unity
Ubuntu 12.10
summary: |
- Clock: The clock shrinks and position changes + Clock and quotes: The clock shrinks and position changes with two + monitors |
To post a comment you must log in.
Clock is drawn on the wallpaper image so it is not possible to have it on one monitor only, as Ubuntu uses the same wallpaper image for both monitors. Position is calculated according to the primary monitor's display resolution (actually whatever GTK calls "default display") and the size of the image itself, and the calculations assume that the user is using the "Zoom" setting for showing the wallpaper (this is the default and most reasonable setting and probably 99% of users use it), which means that images wider than the screen ratio will be clipped at the sides, while images higher than the screen ratio will be clipped at top/bottom. Clock is then drawn on the image so as to compensate for these clipped regions.
So, in theory, assuming that you are using the "Zoom" wallpaper setting, clock should display always OK on your primary monitor and, yes, on your second monitor the clock won't display correctly if it has different proportions than the primary. Does this describe correctly your situation?
Now, the problem is, with the above-described approach of drawing the clock on the image itself, I can't really do anything to fix this problem - Ubuntu does not allow having different wallpapers per screen. The only solution is to adopt a completely different way of drawing the clock (e.g. drawing to root screen, separate transparent window, etc.), but every other approach has its own set of problems and limitations.
So, I see there is a problem, but can't think of anything at the moment that will resolve it and am open to suggestions.