Bug 364091

Summary: Add primary screen report to kscreen-doctor
Product: [Plasma] KScreen Reporter: Luca Beltrame <lbeltrame>
Component: commonAssignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Luca Beltrame 2016-06-08 08:46:07 UTC
It would be useful for debugging to have kscreen-doctor print which screen it understands it is primary, as some issues in master have been popping up with wrong primary screens selected.

Reproducible: Always
Comment 1 Sebastian Kügler 2016-06-08 10:46:16 UTC
I just had a look, "kscreen-doctor -j"  and "kscreen-console json" both show it, screens have a "primary" key.

Is that sufficient for you?
Comment 2 Luca Beltrame 2016-06-08 12:33:27 UTC
Yeah, I got fooled by the plain text output, which doesn't have it.
Comment 3 Sebastian Kügler 2016-06-08 22:55:59 UTC
Git commit c956c5af51b4eb30e4ab8217e0de7249fe35883e by Sebastian Kügler.
Committed on 08/06/2016 at 22:53.
Pushed by sebas into branch 'master'.

add primary output info to kscreen-doctor -o

This change shows when an output is the primary in the outputs list of
kscreen-doctor.

M  +1    -0    src/doctor/doctor.cpp

http://commits.kde.org/libkscreen/c956c5af51b4eb30e4ab8217e0de7249fe35883e