Bug 319567 - incorrect resolution restored for rotated screen
Summary: incorrect resolution restored for rotated screen
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: common (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-09 11:01 UTC by Erik Quaeghebeur
Modified: 2013-06-06 16:10 UTC (History)
1 user (show)

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


Attachments
edited kded4 error log (15.69 KB, text/plain)
2013-05-14 12:17 UTC, Erik Quaeghebeur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Quaeghebeur 2013-05-09 11:01:42 UTC
Regarding the version: I don't know exactly: I've installed it (yesterday 8 May 2013) using the Gentoo live ebuild (the only ebuild available), which normally builds from git head.  The only identifying info I could find is that I have /usr/lib64/libkscreen.so.0.0.92 installed. I may be able to determine the exact commit with instructions.

My setup: Laptop with dock, internal screen is 1366x786, external screen is 1080x1920 (so 90° rotated 1920x1080); only one of both is used at any time.

When I unplug the external monitor, the internal one activates correctly. When I reconnext the external one, it is activated, but at resolution 1080x786 (I think) at the top of the display, so the bottom 1100-something pixels are black (well, on one occasion there was garbage there) and I can't go there with the mouse; the limited viewport works without problems.   

So I have (external 1080x1920) - disconnect -> (internal 1366x786) - reconnect -> (external 1080x786), whereas the last should be (external 1080x1920), of course.

Reproducible: Always

Steps to Reproduce:
1. disconnect external display
2. reconnect external display
Actual Results:  
incorrect resolution on external display

Expected Results:  
correct resolution on external display
Comment 1 Alex Fiestas 2013-05-09 14:56:53 UTC
Let's fix this.

1-Execute kdebugdialog
2-enable ëverything with "kded" and "ksrandr"
3-kquitapp kded4
4-kded4 (in a terminal)

Paste here the output of that process.

Thanks !
Comment 2 Erik Quaeghebeur 2013-05-14 12:17:34 UTC
Created attachment 79880 [details]
edited kded4 error log
Comment 3 Erik Quaeghebeur 2013-05-14 12:23:22 UTC
(In reply to comment #1)
> 
> 1-Execute kdebugdialog

Ok.

> 2-enable ëverything with "kded" and "ksrandr"

Ok.

> 3-kquitapp kded4

`kquitapp kded` instead

> 4-kded4 (in a terminal)

`kded4 2> kded-output.txt` instead 
 
Started with external actve/internal inactive; disconnected external (internal became active with correct resolution); reconnected external (became active with correct(!) resolution).

The problem did not occur! (Close bug as 'problemmagicallydisappeared'? I'll reopen/comment again if the problem resurfaces and I can catch it with the procedure you've described.)

> Paste here the output of that process.

See attachment (edited out unrelated log lines)
Comment 4 Daniel Vrátil 2013-06-06 16:10:58 UTC
Ok, closing as fixed per your comment. Please reopen and attach output of "kscreen-console bug" if this problem should appear again with latest version. Thanks