Bug 314864 - Left side screen edge does not respond - KDE 4.10, Kubuntu 12.04
Summary: Left side screen edge does not respond - KDE 4.10, Kubuntu 12.04
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.10.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-11 00:14 UTC by Jason Sauders
Modified: 2013-03-19 13:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Sauders 2013-02-11 00:14:25 UTC
I'm running a Toshiba ultrabook. Originally I had a second LCD monitor plugged in on the right side. I set the left and right screen edges to be "preview all windows." Everything worked there without issue. I detached the monitor and began running just the single LCD with the laptop. At this point, the left side screen edge stopped responding. Top, bottom, and right however still work fine. 

If I hit "defaults" in the workspace settings so the upper left comes back as the stock setting, it works fine, the upper left preview all windows setting works fine. Once I set the left side to be preview all windows, then nothing on the left side works (left top, left side, left bottom, all don't work). 

I reset my .kde directory so the system generated a new .kde directory. On the fresh config, the upper left (default) worked, just like it did when I hit "defaults" before switching the .kde directory out. Once I added the left side to be "preview all windows", it stopped working again. As a result, .kde seemed to not make a difference. 

If I set my screen resolution to 1024x768, it works fine. If I set my screen resolution to 1366x768 (native resolution), the left side doesn't work again. 

If I set my resolution via xrandr in the terminal, it operates the exact same - 1024x768 works, 1366x768 does not work.

If I add a new panel and put it on the left side and set it to auto hide, it operates fine when I hover the cursor over to it. 

With all of these troubleshooting steps I'm unsure of where to go with this, so here I am. :)

Kubuntu 12.04.1 (64 bit)
KDE 4.10 via PPA
Fully updated/upgraded

Reproducible: Always

Steps to Reproduce:
1. Plug in 2nd LCD monitor, set preview all windows feature on screen edge workspaces.
2. Unplug 2nd LCD monitor, run single laptop monitor.
3. Try to re-set screen edge settings in workspaces.
Actual Results:  
Left side is still unresponsive.

Expected Results:  
Left side should be responsive.
Comment 1 Martin Flöser 2013-02-11 06:18:41 UTC
Can you please describe your screen layout?
Comment 2 Jason Sauders 2013-02-11 16:44:54 UTC
Surely. I want to admit that now that I'm with my laptop on my 2nd monitor and all of the sudden I cannot duplicate the issue I originally reported. I was using my laptop + 2nd monitor on Friday. After I went home with just the laptop, I was unable to get the left side screen edge to work properly and I could not figure out why. I reset to single monitor, adjusted preferences within KDE's size & orientation menu, etc. I didn't have access to my 2nd monitor all weekend to plug it back in and see what would happen. Now that I'm back, no matter what I do I can't seem to duplicate it. It seems as if the system re-detecting the 2nd monitor somehow, I don't know, reconfigured itself? I just can't duplicate it now and I've tried a ton of scenarios.

This is my screen layout:
http://ompldr.org/vaGZqcg/screenlayout.png

The only combination that did give me an issue (which may be worth still classifying as a bug) is when I remove a 2nd monitor, the system needs to log out and back in in order to work properly. It seems as if my laptop still believes a monitor still exists on the right side, as I can move my cursor beyond the edge of the laptop screen. On top of that, my "bottom" screen edge refuses to work, but by looking at the screenshot of my layout you can see why (since 2nd monitor is effectively taller than laptop LCD), especially if the system thinks the right monitor is still there. If I log out and back in, it works fine, and all four screen edges work. Is there some sort of a "screen refresh" to take care of this without logging out/back in when I need to detach from a 2nd monitor and still work?

In regard to the original bug, like I said, I can't duplicate it now even though my laptop REFUSED to let the left side screen edge work all weekend. It's as if the 2nd monitor being plugged in again somehow reset something. I have nothing more to offer other than confusion on the subject.
Comment 3 Martin Flöser 2013-02-11 17:43:12 UTC
recommendation: don't just unplug the screen, first disable it in the KCM - had made the experience that this works more reliable. We are working on a better solution (4.11).

I hope you don't mind that I set to worksforme. If the system doesn't get that the screen got removed there cannot be an edge. The problem with different screen sizes and edges not working in these cases is fixed in 4.11 :-)
Comment 4 Jason Sauders 2013-02-11 19:00:22 UTC
Sounds good to me. For what it's worth, I did what you said in regard to disabling the 2nd monitor first before unplugging. While I do gain my screen edge back (I can see the cursor stop on the edge and go no further) I do not re-gain my screen edge effects. It just does nothing when I move the cursor to the edge. Even if I reset my workspace features (screen edge settings) to default and reset them, no dice. I still have to log out and back in either way to re-gain the effects I expected to have.

Thanks for the quick responses and your time going over this with me. It's appreciated like no other. I look forward to the fixes in 4.11. ;)
Comment 5 Thomas Lübking 2013-02-11 19:06:12 UTC
weird outcome of bug #313145?
Comment 6 Jason Sauders 2013-02-12 01:20:23 UTC
For what it's worth, I'm now home, and I have a different LCD monitor here at home with a resolution of 1680x1050. For the life of me, I CANNOT get my left screen edge to work again like I had working earlier in the day. If I connect it, I can dual screen etc, but once I disconnect, the right side continues working while the left does not. Everything was identical to my setup earlier with the exception of the resolution in the 2nd monitor (1280x1024 vs 1680x1050). If I log out, restart, set single monitor, restart, do a rain dance, restart again, log into Kubuntu, log out, log in again, etc etc etc. It doesn't matter. I just cannot get the left side to work again, but I'm sure once I plug back into the magical monitor at work it'll fire up again.

Just wanted to add this in case it was relevant to look into and/or for the progress of 4.11. If there's anything I can do please tell me. I'd love to help any way I can. Thanks for listening!
Comment 7 christian tacke 2013-03-18 22:20:15 UTC
Hi,

I have a behavior with a non working screen edge that is similar but not quite. When I attach my second monitor to my laptop, the bottom left screen edge doesn't work anymore. Bottom right works quite well. Both edges don't work after disabling that monitor through settings.

Setup
Laptop lvds on the left with 1366x768
Monitor hdmi on the right with 1920x1080
The monitors are aligned with their top.
Comment 8 Thomas Lübking 2013-03-18 22:48:44 UTC
That's bug #290887
Comment 9 christian tacke 2013-03-19 13:43:15 UTC
Thank you. Sorry then for reporting this here.