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

            Bug ID: 488764
           Summary: Auto-rotate settings don't appear in KCM until
                    entering tablet mode once
    Classification: Applications
           Product: systemsettings
           Version: 5.93.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Keywords: regression
          Severity: normal
          Priority: NOR
         Component: kcm_kscreen
          Assignee: kscreen-bugs-n...@kde.org
          Reporter: n...@kde.org
                CC: plasma-b...@kde.org
  Target Milestone: ---

Git master everything, Qt 6.7.1, Kernel 6.8.9.


When I open the KCM for the first time after a reboot, the auto-rotate controls
are all missing. When I flip my laptop's screen around to enter tablet mode,
the controls appear.

This is governed by the following visibility condition in
https://invent.kde.org/plasma/kscreen/-/blob/master/kcm/ui/Orientation.qml?ref_type=heads#L23:

visible: kcm.autoRotationSupported && kcm.orientationSensorAvailable

I did a bit of testing, and what happens is that the value of
kcm.orientationSensorAvailable doesn't become true until I flip around my
laptop's lid to enter Tablet Mode.

Maybe entering tablet mode for the first time initializes the orientation
sensor or something?

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

Reply via email to