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

            Bug ID: 511287
           Summary: QtQuick applications don't know when they are
                    minimized
    Classification: I don't know
           Product: kde
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

The `visibility ` property doesn't change when the window is minimized.
It used to work but broke at some point, don't know when. Works on XFCE.

Demo app
```
import QtQuick

Window {
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")

    onVisibilityChanged: function(visibility) {
        console.log(visibility === Window.Minimized, visibility)
    }
}
```

STEPS TO REPRODUCE
1. run demo app
2. minimize window

OBSERVED RESULT
visibility === Window.Minimized is FALSE

EXPECTED RESULT
visibility === Window.Minimized is true

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20251024
KDE Plasma Version: 6.5.0
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.4-1-default (64-bit)
Graphics Platform: Wayland

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

Reply via email to