xrandr: changing orientation with nvidia drivers fails to update desktop size

Bug #14994 reported by Antti S. Lankila
10
Affects Status Importance Assigned to Milestone
meta-kde (Ubuntu)
Fix Released
Medium
Jonathan Riddell

Bug Description

Here's a screenshot of what happens after I start KDE normally with normal
orientation and then use xrandr or the KDE desktop rotate feature in the control
panel.

What is not apparent in the screenshot is that kwin at least thinks that the
desktop extends to right, off-screen. This seems generally universal: the
desktop background is clipped, and the trashcan + system tray is not visible at
right. But it is definitely most apparent when I move windows around.

If I start KDE with the rotated setting enabled at startup, it seems to come up
correctly. Clearly something in KDE should just be told that screen physical
dimensions changed somehow but what and where? That's the question...

I've tried to fool the system to take orientation into account by switching the
display sizes with xrandr but it's of no use, either. Resolution goes down but
the black bottom border remains and display dimensions remain wrong just as well.

Revision history for this message
Antti S. Lankila (alankila) wrote :

Created an attachment (id=2006)
Screenshot with a konsole placed strategically

Revision history for this message
Tobi Vollebregt (tobivollebregt) wrote :

I had the same problem. I found a Qt patch, tested it and sent it to Riddell a week ago. It was
approved, so upgrade libqt3-mt and your problem should be solved. (it is solved for me, at
least)

Someone with sufficient privileges please change status to FIXED.

Revision history for this message
Jonathan Riddell (jr) wrote :

Fixed in current qt version.

Revision history for this message
Károly Négyesi (chx) wrote :

Broken in Breezy again.

Revision history for this message
Károly Négyesi (chx) wrote :

Note. It is a bit different than it was in Hoary. The taskbar is again in the middle of the screen
and when I invoke a menu with the right mouse button, it again appears a bit above that and not in
the lower half but horizontally this time the screen is right.

Revision history for this message
Károly Négyesi (chx) wrote :

Created an attachment (id=4460)
The taskbar as a menu in the middle of the screen

Revision history for this message
Károly Négyesi (chx) wrote :

(From update of attachment 4460)
><HTML><STYLE MEDIA="screen"/><BODY TEXT="#000000"><TABLE STYLE="height: 100%; width: 100%; border-spacing: 0"><TBODY STYLE="color: WindowText; text-align: center; max-height: 100%; max-width: 100%" ALIGN="left" VALIGN="middle" CHAR="."><TR ALIGN="left" VALIGN="middle" CHAR="."><TD COLSPAN="1" ROWSPAN="1" ALIGN="left" VALIGN="middle" CHAR="."><IMG SRC="https://bugzilla.ubuntu.com/attachment.cgi?id=4460"/></TD></TR></TBODY></TABLE></BODY></HTML>

Revision history for this message
Jonathan Riddell (jr) wrote :

Reporter has confirmed it's fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.