https://bugs.kde.org/show_bug.cgi?id=431242
Bug ID: 431242
Summary: Switching between activities doesn't map/unmap windows
on active/passive activities
Product: kwin
Version: 5.18.5
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: activities
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When minimizing a window a signal/event is emitted to say that the window is
not visible anymore, the other way around, when we maximize the window another
signal is emitted.
In Qt should be the visibilityChanged signal of the QWindow class, in GTK are
the map-event and unmap-event signals.
I was expecting the same behavior when switching between activities (and most
probably with workplaces), but that doesn't happen, switching between
activities, doesn't trigger any event on the windows, that are always as
visible.
STEPS TO REPRODUCE
I observed this behavior developing a GTK application, where
I connect the signal (map|unmap)-event to the main window, I guess, in Qt, I'd
do the same with the visibilityChanged signal, but I cannot find if KDE have
dedicated signal functions. In Xorg are the XUnmapEvent and XMapEvent.
OBSERVED RESULT
Switching between activities doesn't trigger those signals
EXPECTED RESULT
Switching between activities and probably workplaces, should trigger those
signals
SOFTWARE/OS VERSIONS
Operating System: Fedora 32
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.75.0
Qt Version: 5.14.2
Kernel Version: 5.9.16-100.fc32.x86_64
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 30.9 GiB of RAM
ADDITIONAL INFORMATION
In GNOME seems to work switching between workplaces, but I couldn't test myself
as I ditched GNOME for the good.
I'm wondering if the same signals should be triggered when the monitor(s) goes
offline, like with the power saving, screensaver, etc.
--
You are receiving this mail because:
You are watching all bug changes.