D5323: Correctly handle when a new primary screen displaces the old

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Apr 7 08:44:53 UTC 2017


broulik added a comment.


  I can confirm that here it fixes the crash and panels and desktop are properly setup.
  
  However, I messed around with my screen cables, unplugged the secondary, plugged it back in but KScreen would not restore my config, then I manually did it from its KCM and could trigger another plasma crash.
  
    kscreen.kcm: Activate output 85
    kscreen.kcm: KScreen::Output(0x1273c40) "DVI-0" true
    kscreen.kcm: Activate output 85
    kscreen.kcm: Saving.
    kscreen.kcm: "DisplayPort-0" 83 KScreen::Output(0x1195ba0) 
            Connected: true 
            Enabled: true 
            Primary: true 
            Rotation: 1 
            Mode: "" @ 59.9502 Hz 
         Position: 0 x 0
    kscreen.kcm: "HDMI-0" 84 KScreen::Output(0x11a0470) 
            Connected: false 
            Enabled: false 
            Primary: false 
            Rotation: 1 
            Mode: "unknown" @ 0 Hz 
         Position: 0 x 0
    kscreen.kcm: "DVI-0" 85 KScreen::Output(0x1273c40) 
            Connected: true 
            Enabled: true 
            Primary: false 
            Rotation: 1 
            Mode: "" @ 59.8833 Hz 
         Position: 1920 x 0
    add output QScreen(0x5725e50, name="DVI-0")
    is output redundant QScreen(0x5725e50, name="DVI-0") QRect(1920,0 1680x1050)
    kscreen: Requesting missing EDID for outputs (83, 85)
    QQuickItem: Cannot use same item on different windows at the same time.
    QQuickItem: Cannot use same item on different windows at the same time.
    QQuickItem: Cannot use same item on different windows at the same time.
    QQuickItem: Cannot use same item on different windows at the same time.
    kscreen: Requesting missing EDID for outputs (83, 85)
    KCrash: Attempting to start /usr/bin/plasmashell from kdeinit
    sock_file=/run/user/1000/kdeinit5__0
    KCrash: crashing... crashRecursionCounter = 2
    KCrash: Application Name = plasmashell path = /usr/bin pid = 29116

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D5323

To: mart, #plasma, sebas, subdiff, broulik
Cc: plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170407/d7552850/attachment-0001.html>


More information about the Plasma-devel mailing list