Bug 343450 - kscreen isnt resizing the screen correctly
Summary: kscreen isnt resizing the screen correctly
Status: RESOLVED FIXED
Alias: None
Product: KScreen
Classification: Plasma
Component: libkscreen (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-28 11:59 UTC by Paulo Dias
Modified: 2015-03-06 15:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.2.1


Attachments
original size, output of xrandr --verbose --current (5.74 KB, text/x-log)
2015-01-28 12:00 UTC, Paulo Dias
Details
resized using kscreen, output of xrandr --verbose --current (5.75 KB, text/x-log)
2015-01-28 12:01 UTC, Paulo Dias
Details
garbled display,kscreen tried to change size to original size, output of xrandr --verbose --current (5.75 KB, text/x-log)
2015-01-28 12:02 UTC, Paulo Dias
Details
restored original size using xrandr -s 1920x1080, output of xrandr --verbose --current (5.75 KB, text/x-log)
2015-01-28 12:03 UTC, Paulo Dias
Details
xorg.0.log of the affected resizes (182.92 KB, text/x-log)
2015-01-28 12:04 UTC, Paulo Dias
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo Dias 2015-01-28 11:59:40 UTC
kscreen doesnt resize the screen correctly.

If i resize the screen to, lets say, 1280x1024, kscreen does resize it correctly, BUT when going back to the original size (1920x1080), it resizes only to 1/4 lower left size, and the rest of the screen remains garbled. if i then force the resize with xrandr -s 1920x1080 it works fine.

Reproducible: Always

Steps to Reproduce:
1. open kscreen
2. resize to a smaller sizer
3. resize back to the original size

Actual Results:  
the screen is cut by 1/4 and rest remains garbled

Expected Results:  
the screen should be resized correctly
Comment 1 Paulo Dias 2015-01-28 12:00:35 UTC
Created attachment 90740 [details]
original size, output of xrandr --verbose --current
Comment 2 Paulo Dias 2015-01-28 12:01:34 UTC
Created attachment 90741 [details]
resized using kscreen, output of xrandr --verbose --current
Comment 3 Paulo Dias 2015-01-28 12:02:48 UTC
Created attachment 90742 [details]
garbled display,kscreen tried to change size to original size, output of xrandr --verbose --current
Comment 4 Paulo Dias 2015-01-28 12:03:30 UTC
Created attachment 90743 [details]
restored original size using xrandr -s 1920x1080, output of xrandr --verbose --current
Comment 5 Paulo Dias 2015-01-28 12:04:04 UTC
Created attachment 90744 [details]
xorg.0.log of the affected resizes
Comment 6 Paulo Dias 2015-01-28 12:05:39 UTC
kscreen version is: 5.2.0+git20150128.1016+14.10-0ubuntu0
Comment 7 Daniel Vrátil 2015-01-29 15:14:05 UTC
I have just pushed a bunch of changes to git master of libkscreen, could you please test them and let me know if it fixes the problem?
Comment 8 Paulo Dias 2015-01-30 11:59:34 UTC
i can confirm it fixed the issue, great work :)