Bug 346428 - Switching between dual vs. single monitor configurations makes Plasma 5 unusable
Summary: Switching between dual vs. single monitor configurations makes Plasma 5 unusable
Status: RESOLVED DUPLICATE of bug 344706
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.2.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 12:30 UTC by Bogdan
Modified: 2015-09-20 13:05 UTC (History)
5 users (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 Bogdan 2015-04-21 12:30:14 UTC
After attaching an external monitor to my laptop (configured to be used as a primary screen)  I am experiencing a strange behavior: Alt+F2 quick navigation and the start menu stop working. Sometimes the menu appears at strange places (e.g. on a different monitor) but is unclickable. This can only be fixed by disabling the external monitor in the display settings and the re-enabling it. After I detach the monitor, the primary screen correctly reverts to the initial laptop screen. However, if I close the lid and enter standby, after I reopen the lid the screen turns black and the only thing I can see and move is the mouse cursor. 

Reproducible: Always

Steps to Reproduce:
1. Attach an external monitor and configure it to be the primary screen
2. Detach the external monitor, then enter standby
3. Power up again
4. Restart Plasma
5. Attach the external monitor again

Actual Results:  
After step 3, screen turns black and only mouse cursor is usable. Restart is needed. After step 5, start menu and Alt+F2 quick navigation is disabled (maybe out-of-screen?) or shows up in strange places.

Expected Results:  
Screen should return to normal after standby. Start menu and quick navigation should not disappear.
Comment 1 Aleix Pol 2015-04-24 12:57:41 UTC
Can you please check that the KScreen configurations in .local/share/kscreen/ are correct?
Comment 2 Bogdan 2015-04-25 08:49:39 UTC
Yes, they are. My two configurations that Plasma switches between are attached.

Single screen:
[
    {
        "enabled": true,
        "id": "b055820b0d620b2f7a62d583e2f3042e",
        "metadata": {
            "fullname": "xrandr-unknown",
            "name": "LVDS1"
        },
        "mode": {
            "refresh": 59.995201110839844,
            "size": {
                "height": 900,
                "width": 1600
            }
        },
        "pos": {
            "x": 0,
            "y": 0
        },
        "primary": true,
        "rotation": 1
    }
]

Dual-screen:
[
    {
        "enabled": true,
        "id": "b055820b0d620b2f7a62d583e2f3042e",
        "metadata": {
            "fullname": "xrandr-unknown",
            "name": "LVDS1"
        },
        "mode": {
            "refresh": 59.995201110839844,
            "size": {
                "height": 900,
                "width": 1600
            }
        },
        "pos": {
            "x": 0,
            "y": 0
        },
        "primary": false,
        "rotation": 1
    },
    {
        "enabled": true,
        "id": "714f794fb4223fbb4b490cb25e48805f",
        "metadata": {
            "fullname": "xrandr-VA2448 SERIE-SEL111300514",
            "name": "VGA1"
        },
        "mode": {
            "refresh": 60,
            "size": {
                "height": 1080,
                "width": 1920
            }
        },
        "pos": {
            "x": 1600,
            "y": 0
        },
        "primary": true,
        "rotation": 1
    }
]
Comment 3 Trevin Fitz 2015-04-27 20:13:52 UTC
I have similar issues.
On my home PC I have two monitors (DP + DVI). Sometimes I plug in TV through HDMI. Desktop is then randomly black or messed up with panels broken all over the place. This state is frozen for a few (or dozen) minutes, then it works fine (usually).

With my laptop in work I use two monitors connected to display ports through docking station + build-in laptop monitor. When I unplug laptop, plasma shell crashes and restarts. That's almost ok - it's usable again in a minute.
But when I try to plug in TV or projector in a conference room (VGA) I have same issues as in home. But never really tried to wait that long to see if it wakes up from freeze. After unplugging it works fine again. Back to my desk and docking station - freeze or crash and I have to restart.

I use Fedora 21 with plasma 5.2.2-5. How could I find the root cause of this?
Comment 4 Trevin Fitz 2015-04-27 20:55:33 UTC
I forgot to clarify... Freeze is not really a freeze. I can (barely) move mouse cursor, It's not very responsive - very slow and hopping. That's all - nothing reacts to clicking.

When I press ctrl+alt+F2 I get usable tty2 visible on all monitors.
Comment 5 Marco Martin 2015-05-12 11:37:53 UTC

*** This bug has been marked as a duplicate of bug 344706 ***