Bug 274811 - Screen rotation broken w/ KDE tool but works with a script I'm sending
Summary: Screen rotation broken w/ KDE tool but works with a script I'm sending
Status: RESOLVED UNMAINTAINED
Alias: None
Product: krandr
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: 4.6
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Gustavo Pichorim Boiko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 07:34 UTC by Jim
Modified: 2015-01-23 00:11 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Rotation script & other fixes posted by some random hacker. I've updated it. (2.84 KB, application/octet-stream)
2011-06-03 07:34 UTC, Jim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim 2011-06-03 07:34:07 UTC
Created attachment 60576 [details]
Rotation script & other fixes posted by some random hacker.  I've updated it.

Version:           4.6 (using KDE 4.6.3) 
OS:                Linux

X61 tablet (i965 graphics), Opensuse 11.4 x86_64 KDE ungraded to 4.6.3 via repository

Screen configuration widget will rotate the screen but not the wacom tablet input.  Major problem when it tries to rotate back to landscape.  The display manager refuses to draw the top half of the screen and many windows are now unresponsive.  Situation is terminal; must reboot.  Rotation of screen & tablet works fine with a script I'm attaching.

Reproducible: Always

Steps to Reproduce:
Rotate from landscape to portrait (CCW) using KDE Configure Display widget
Rotate back to landscape
Top half of screen is now black

Actual Results:  
Top half of screen is black, not getting drawn; many windows will no longer accept input, but, some will.  Of those accepting input, the KDE launcher half draws its window for "Leave".  Very weird window behavior.

Expected Results:  
Should make calls to xrandr & xsetwacom to rotate screen & tablet.

See attached rotation script that works fine.  This is a script I've adapted from someone else's.  This script rotates the screen without crashing.  Use as "rotate +" or "rotate -".  The script could use some work but it will provide you with examplars of commands that work.

xsession-errors from the current KDE screen rotation are as follows for this event:
display-randr(3158) RandROutput::handleEvent: FIXME: Output event ignored!
Cannot find device 'Serial'.
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
Cannot find device 'Serial'.
Cannot find device 'Serial'.
Cannot find device 'Serial'.
link XMLID_34_ hasn't been detected!
link XMLID_34_ hasn't been detected!
link XMLID_36_ hasn't been detected!
Cannot find device 'Serial'.
Cannot find device 'Serial'.
display-randr(3158) RandROutput::handleEvent: FIXME: Output event ignored!
Cannot find device 'Serial'.
Cannot find device 'Serial'.
Cannot find device 'Serial'.
Cannot find device 'Serial'.
Application asked to unregister timer 0x63000010 which is not registered in this thread. Fix application.
Comment 1 Christoph Feck 2011-06-10 00:46:46 UTC
I think tablet rotation should be done directly by the X11 driver, because it knows best when the screen rotates, and if the tablet is actually bound to the screen, or if it uses a separate surface.
Comment 2 Christoph Feck 2015-01-23 00:11:28 UTC
Thank you for your bug report or feature request.

Unfortunately, we did not have a maintainer for the "krandr" components, which are used to manage displays and monitors in the KDE Workspaces.

The "krandr" components has been superseded by "KScreen" in newer releases of the KDE Workspaces. It is compatible with all versions since 4.11, and is also used with Plasma 5. Please check with your distribution how to update to KScreen.

If this issue or feature request is still applicable to KScreen version 1.0.5 or newer, please add a comment. We will then reassign this ticket to KScreen developers.

If you are already using KScreen to manage displays or monitors, and found a different bug or need a specific feature, please create a new ticket for "KScreen" product in this bugzilla using this link: https://bugs.kde.org/enter_bug.cgi?product=KScreen

(This is an automatic message from the KDE Bug Triaging Team)