Bug 433521

Summary: libkscreen reported an error:Could not find the current mode id
Product: [Plasma] KScreen Reporter: zhoubin <1134636325>
Component: libkscreenAssignee: Sebastian Kügler <sebas>
Status: RESOLVED FIXED    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.18.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zhoubin 2021-02-24 06:05:34 UTC
SUMMARY
libkscreen reported an error:Could not find the current mode id;Then the resolution that disappeared cannot be adjusted【This bug occurs in the wayland environment】
libkscreen's Version:5.18.4.1

STEPS TO REPRODUCE
1. Switch to 1920*1080 resolution
2. Switch to 1280*1024 resolution
3. Repeat the above two steps

OBSERVED RESULT
The 1920*1080 resolution cannot be adjusted in kscreen, and libkscreen reports an error:Could not find the current mode id【This bug occurs in the wayland environment】

EXPECTED RESULT
The id of all displays can be found correctly

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 zhoubin 2021-02-27 09:06:08 UTC
kwayland resolved this problem;kwayland version:5.75