| Summary: | QtQuick applications don't know when they are minimized | ||
|---|---|---|---|
| Product: | [I don't know] kde | Reporter: | george fb <georgefb899> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
This is unfortunately expected on Wayland due to questionable upstream design decisions. What was the end goal for your application? (In reply to David Edmundson from comment #1) > This is unfortunately expected on Wayland due to questionable upstream > design decisions. By upstream, do you mean Qt or Wayland? (In reply to David Edmundson from comment #2) > What was the end goal for your application? Pausing playback in Haruna |
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