Bug 441653

Summary: kscreen-doctor can't parse output name if it contains "." character (e.g. "Dell Inc. ")
Product: [Plasma] KScreen Reporter: Meric Sentunali <msentunali>
Component: kscreen-doctorAssignee: kscreen-bugs-null <kscreen-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ben.simons, bugreporter11, msentunali, nate
Priority: NOR    
Version First Reported In: 5.22.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Meric Sentunali 2021-08-28 12:28:26 UTC
SUMMARY

I have 2 Dell monitors, "kscreen-doctor -o" gives following output for me:

Output: 1 Dell Inc. DELL P4317Q/V7M4J83D02SL enabled connected ......
Output: 2 Dell Inc. DELL U2412M/0FFXD2CM344L enabled connected  .....

Output name contains a "." character in it, so I can't change any output option with kscreen-doctor.


STEPS TO REPRODUCE
1. Try to change output property for an output which has a "." in it's name.

OBSERVED RESULT

$> kscreen-doctor output."Dell Inc. DELL P4317Q/V7M4J83D02SL".position.0,0
kscreen.kwayland: Loading Wayland backend.
Unable to parse output id: Dell Inc

EXPECTED RESULT
kscreen-doctor should parse outputs which has "." in it's name.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux / 5.22
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2022-11-08 20:21:43 UTC
*** Bug 396462 has been marked as a duplicate of this bug. ***
Comment 2 ben 2024-01-22 02:23:05 UTC
It'd be helpful if someone addressed this bug. kscreen-doctor reports a "." in the name for EVERY screen.

gentoo kde-plasma/kscreen-5.27.10

 ~ $ kscreen-doctor -o
Output: 552 GPU-0.DP-0 disabled connected priority 0 DisplayPort Modes: 575:3840x2160@60! 576:3840x2160@60 Geometry: 0,0 3840x2160 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 553 GPU-0.DP-1 disabled disconnected priority 0 Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 574 GPU-0.DP-2 enabled connected priority 1 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 577 GPU-0.DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 578 GPU-0.DP-4 enabled connected priority 2 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 579 GPU-0.DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 580 GPU-0.DP-6 disabled disconnected priority 0 Unknown Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 581 GPU-0.DP-7 enabled connected priority 15 DisplayPort Modes: 554:1280x720@60*! 555:1920x1200@60 556:1920x1080@60 557:1680x1050@60 558:1600x1200@60 559:1440x900@60 560:1400x1050@60 561:1280x1024@75 562:1280x1024@60 563:1280x800@60 564:1024x768@75 565:1024x768@70 566:1024x768@60 567:800x600@75 568:800x600@72 569:800x600@60 570:800x600@56 571:640x480@75 572:640x480@73 573:640x480@60 Geometry: 0,0 720x1280 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 582 GPU-1.DP-0 enabled connected priority 3 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 583 GPU-1.DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 584 GPU-1.DP-2 enabled connected priority 4 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 585 GPU-1.DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 586 GPU-1.DP-4 enabled connected priority 5 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 587 GPU-1.DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 588 GPU-1.DP-6 enabled connected priority 6 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 589 GPU-1.DP-7 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 590 GPU-2.DP-0 enabled connected priority 7 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 591 GPU-2.DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 592 GPU-2.DP-2 enabled connected priority 8 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 593 GPU-2.DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 594 GPU-2.DP-4 enabled connected priority 9 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 595 GPU-2.DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 596 GPU-2.DP-6 enabled connected priority 10 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 597 GPU-2.DP-7 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 598 GPU-3.DP-0 enabled connected priority 11 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 599 GPU-3.DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 600 GPU-3.DP-2 enabled connected priority 12 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 601 GPU-3.DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 602 GPU-3.DP-4 enabled connected priority 13 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 603 GPU-3.DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 604 GPU-3.DP-6 enabled connected priority 14 DisplayPort Modes: 575:3840x2160@60*! 576:3840x2160@60 Geometry: 0,0 2160x3840 Scale: 1 Rotation: 2 Overscan: 0 Vrr: incapable RgbRange: unknown
Output: 605 GPU-3.DP-7 disabled disconnected priority 0 DisplayPort Modes: Geometry: 0,0 0x0 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange: unknown