https://bugs.kde.org/show_bug.cgi?id=466342

TraceyC <kdeb...@tlcnet.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kdeb...@tlcnet.info

--- Comment #16 from TraceyC <kdeb...@tlcnet.info> ---
(In reply to shinjii from comment #15)
> Where it is? Can you show me screen?

The setting is under Menu - Settings - Background Services. Search using the
search bar for kscreen.

I was able to reproduce this bug, but with X11. It does not happen under
Wayland on my system.

## System info
Operating System: Solus 4.3
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9
Kernel Version: 6.2.12-231.current (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2
Manufacturer: Dell Inc.
Product Name: XPS 17 9710

## Setup
Laptop connected to an external display via a Thunderbird dock
External monitor set as primary "For only this specific display arrangement"

This is always reproducible with X11. I cannot reproduce with Wayland. (In both
cases, with the kscreen service active at boot and running).

The bug did not occur on Plasma 5.26. This started happening after my system
was updated with Plasma 5.27.4.

## Steps to reproduce
With the setup described above, and the external monitor as primary, put the
system to sleep. Disconnect the dock cable. (Note: This is so the laptop is not
plugged in all the time, to prevent battery issues).
Wake system, log in, reconnect dock cable.

## Expected behavior
The external monitor is treated as the primary display as configured

## Actual behavior
The laptop screen is treated as the primary display, with desktop icons and the
taskbar.
The settings are correct in Display Configuration, but not reflected on the
displays.

## Workaround for X11
Set the laptop screen as primary display, Apply
Set the external monitor as primary, Apply.


## Notes
* Attempted to reproduce when the dock cable remains connected.
With the external monitor as primary, put the system to sleep. 
Did *not* disconnect the dock cable, and woke the system. System settings were
honored.

* Attempted to reproduce with Wayland
Restarted the system and logged into a Wayland session. The bug does not occur
following the reproduction steps. When re-connecting the dock cable, the
external monitor is treated as the primary display, consistent with settings.

* Disabled the kscreen service under Services - Background Services. Restarted
and logged into an X11 session. Not able to reproduce the bug.
Re-enabled the kscreen service and attempted to reproduce again, it was
reproduced.

* kscreen-doctor -o before and after suspend and wake in the X11 session
Before
```
❯ kscreen-doctor -o  
Output: 445 DP-0 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 446 DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 447 DP-2 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 448 DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 449 DP-4 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 450 DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 451 DP-6 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 452 DP-7 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 488 eDP-1-1 enabled connected priority 2 Panel Modes:
497:3840x2400@60*! 498:3840x2400@48 499:3840x216  
0@60 500:3840x2160@60 501:3840x2160@60 502:3840x2160@60 503:3200x1800@60
504:3200x1800@60 505:2880x1620@60 506  
:2880x1620@60 507:2560x1600@60 508:2560x1600@60 509:2560x1440@60
510:2560x1440@60 511:2560x1440@60 512:2560x14  
40@60 513:2048x1536@60 514:1920x1440@60 515:1856x1392@60 516:1792x1344@60
517:2048x1152@60 518:2048x1152@60 51  
9:2048x1152@60 520:2048x1152@60 521:1920x1200@60 522:1920x1200@60
523:1920x1080@60 524:1920x1080@60 525:1920x1  
080@60 526:1920x1080@60 527:1600x1200@60 528:1680x1050@60 529:1680x1050@60
530:1400x1050@60 531:1600x900@60 53  
2:1600x900@60 533:1600x900@60 534:1600x900@60 535:1280x1024@60 536:1400x900@60
537:1400x900@60 538:1280x960@60  
539:1440x810@60 540:1440x810@60 541:1368x768@60 542:1368x768@60 543:1280x800@60
544:1280x800@60 545:1280x800@  
60 546:1280x800@60 547:1280x720@60 548:1280x720@60 549:1280x720@60
550:1280x720@60 551:1024x768@60 552:1024x76  
8@60 553:960x720@60 554:928x696@60 555:896x672@60 556:1024x576@60
557:1024x576@60 558:1024x576@60 559:1024x576  
@60 560:960x600@60 561:960x600@60 562:960x540@60 563:960x540@60 564:960x540@60
565:960x540@60 566:800x600@60 5  
67:800x600@60 568:800x600@56 569:840x525@60 570:840x525@60 571:864x486@60
572:864x486@60 573:700x525@60 574:80  
0x450@60 575:800x450@60 576:640x512@60 577:700x450@60 578:700x450@60
579:640x480@60 580:640x480@60 581:720x405  
@60 582:720x405@59 583:684x384@60 584:684x384@60 585:640x400@60 586:640x400@60
587:640x360@60 588:640x360@60 5  
89:640x360@60 590:640x360@59 591:512x384@60 592:512x288@60 593:512x288@60
594:480x270@60 595:480x270@60 596:40  
0x300@60 597:400x300@56 598:432x243@60 599:432x243@60 600:320x240@60
601:360x202@60 602:360x202@59 603:320x180  
@60 604:320x180@59 Geometry: 0,0 3840x2400 Scale: 1 Rotation: 1 Overscan: 0
Vrr: incapable RgbRange: unknown  
Output: 489 DP-1-1 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 490 DP-1-2 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 491 DP-1-3 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 492 DP-1-4 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 493 DP-1-1-1 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation:  
1 Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 494 DP-1-1-2 enabled connected priority 1 DisplayPort Modes:
528:1680x1050@60 535:1280x1024@60 545:128  
0x800@60 552:1024x768@60 567:800x600@60 580:640x480@60 605:3440x1440@144!
606:3440x1440@120 607:3440x1440@60 6  
08:3440x1440@100* 609:3440x1440@75 610:1920x1080@75 611:1920x1080@60
612:1920x1080@60 613:1920x1080@50 614:192  
0x1080@60 615:1600x900@60 616:1280x1024@75 617:1152x864@60 618:1280x720@60
619:1280x720@50 620:1280x720@60 621  
:1024x768@75 622:800x600@75 623:720x576@50 624:720x480@60 625:720x480@60
626:640x480@75 627:640x480@60 Geometr  
y: 3839,0 3440x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange:
unknown  
Output: 495 DP-1-1-3 disabled connected priority 0 DisplayPort Modes:
529:1680x1050@60 535:1280x1024@60 546:12  
80x800@60 552:1024x768@60 567:800x600@60 580:640x480@60 611:1920x1080@60
612:1920x1080@60 613:1920x1080@50 614  
:1920x1080@60 615:1600x900@60 616:1280x1024@75 618:1280x720@60 619:1280x720@50
620:1280x720@60 623:720x576@50  
624:720x480@60 625:720x480@60 627:640x480@60 628:3440x1440@85! 629:3840x2160@30
630:3840x2160@25 631:3840x2160  
@24 632:3840x2160@30 633:3840x2160@24 634:3440x1440@50 635:2560x1440@120
636:1920x1080@120 637:1920x1080@120 6  
38:1920x1080@75 639:1152x864@60 Geometry: 0,0 3440x1440 Scale: 1 Rotation: 1
Overscan: 0 Vrr: incapable RgbRan  
ge: unknown
```

After
```
❯ kscreen-doctor -o  
Output: 445 DP-0 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 446 DP-1 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 447 DP-2 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 448 DP-3 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 449 DP-4 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 450 DP-5 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 451 DP-6 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 452 DP-7 disabled disconnected priority 0 DisplayPort Modes: Geometry:
0,0 0x0 Scale: 1 Rotation: 1 Ov  
erscan: 0 Vrr: incapable RgbRange: unknown  
Output: 488 eDP-1-1 enabled connected priority 2 Panel Modes: 497:3840x2400@60!
498:3840x2400@48 499:3840x2160  
@60 500:3840x2160@60 501:3840x2160@60 502:3840x2160@60 503:3200x1800@60
504:3200x1800@60 505:2880x1620@60 506:  
2880x1620@60 507:2560x1600@60* 508:2560x1600@60 509:2560x1440@60
510:2560x1440@60 511:2560x1440@60 512:2560x14  
40@60 513:2048x1536@60 514:1920x1440@60 515:1856x1392@60 516:1792x1344@60
517:2048x1152@60 518:2048x1152@60 51  
9:2048x1152@60 520:2048x1152@60 521:1920x1200@60 522:1920x1200@60
523:1920x1080@60 524:1920x1080@60 525:1920x1  
080@60 526:1920x1080@60 527:1600x1200@60 528:1680x1050@60 529:1680x1050@60
530:1400x1050@60 531:1600x900@60 53  
2:1600x900@60 533:1600x900@60 534:1600x900@60 535:1280x1024@60 536:1400x900@60
537:1400x900@60 538:1280x960@60  
539:1440x810@60 540:1440x810@60 541:1368x768@60 542:1368x768@60 543:1280x800@60
544:1280x800@60 545:1280x800@  
60 546:1280x800@60 547:1280x720@60 548:1280x720@60 549:1280x720@60
550:1280x720@60 551:1024x768@60 552:1024x76  
8@60 553:960x720@60 554:928x696@60 555:896x672@60 556:1024x576@60
557:1024x576@60 558:1024x576@60 559:1024x576  
@60 560:960x600@60 561:960x600@60 562:960x540@60 563:960x540@60 564:960x540@60
565:960x540@60 566:800x600@60 5  
67:800x600@60 568:800x600@56 569:840x525@60 570:840x525@60 571:864x486@60
572:864x486@60 573:700x525@60 574:80  
0x450@60 575:800x450@60 576:640x512@60 577:700x450@60 578:700x450@60
579:640x480@60 580:640x480@60 581:720x405  
@60 582:720x405@59 583:684x384@60 584:684x384@60 585:640x400@60 586:640x400@60
587:640x360@60 588:640x360@60 5  
89:640x360@60 590:640x360@59 591:512x384@60 592:512x288@60 593:512x288@60
594:480x270@60 595:480x270@60 596:40  
0x300@60 597:400x300@56 598:432x243@60 599:432x243@60 600:320x240@60
601:360x202@60 602:360x202@59 603:320x180  
@60 604:320x180@59 Geometry: 0,0 2560x1600 Scale: 1 Rotation: 1 Overscan: 0
Vrr: incapable RgbRange: unknown  
Output: 489 DP-1-1 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 490 DP-1-2 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 491 DP-1-3 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 492 DP-1-4 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation: 1  
Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 493 DP-1-1-1 disabled disconnected priority 0 DisplayPort Modes:
Geometry: 0,0 0x0 Scale: 1 Rotation:  
1 Overscan: 0 Vrr: incapable RgbRange: unknown  
Output: 494 DP-1-1-2 enabled connected priority 1 DisplayPort Modes:
528:1680x1050@60 535:1280x1024@60 545:128  
0x800@60 552:1024x768@60 567:800x600@60 580:640x480@60 605:3440x1440@144!
606:3440x1440@120 607:3440x1440@60 6  
08:3440x1440@100* 609:3440x1440@75 610:1920x1080@75 611:1920x1080@60
612:1920x1080@60 613:1920x1080@50 614:192  
0x1080@60 615:1600x900@60 616:1280x1024@75 617:1152x864@60 618:1280x720@60
619:1280x720@50 620:1280x720@60 621  
:1024x768@75 622:800x600@75 623:720x576@50 624:720x480@60 625:720x480@60
626:640x480@75 627:640x480@60 Geometr  
y: 2560,0 3440x1440 Scale: 1 Rotation: 1 Overscan: 0 Vrr: incapable RgbRange:
unknown  
Output: 495 DP-1-1-3 disabled connected priority 0 DisplayPort Modes:
529:1680x1050@60 535:1280x1024@60 546:12  
80x800@60 552:1024x768@60 567:800x600@60 580:640x480@60 611:1920x1080@60
612:1920x1080@60 613:1920x1080@50 614  
:1920x1080@60 615:1600x900@60 616:1280x1024@75 618:1280x720@60 619:1280x720@50
620:1280x720@60 623:720x576@50  
624:720x480@60 625:720x480@60 627:640x480@60 628:3440x1440@85! 629:3840x2160@30
630:3840x2160@25 631:3840x2160  
@24 632:3840x2160@30 633:3840x2160@24 634:3440x1440@50 635:2560x1440@120
636:1920x1080@120 637:1920x1080@120 6  
38:1920x1080@75 639:1152x864@60 Geometry: 0,0 3440x1440 Scale: 1 Rotation: 1
Overscan: 0 Vrr: incapable RgbRan  
ge: unknown
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to