Instructions:
* Unpack, qmake, make
* Run the application at least twice, making at least one fullscreened
* Trigger the window switcher by clicking on the Unity's sidebar
The fullscreened one will print a wrong resize event. E.g.:
Resized to QResizeEvent(2880, 1572) <- fullscreened
Changed to QEvent(ActivationChange, 0x7ffede2bfa30)
Changed to QEvent(ActivationChange, 0x7ffede2bfa30)
Resized to QResizeEvent(2880, 1516) <- task switcher activated
Resized to QResizeEvent(2880, 1516) <- no idea
Changed to QEvent(ActivationChange, 0x7ffede2bfa30)
Changed to QEvent(ActivationChange, 0x7ffede2bfa30)
Resized to QResizeEvent(2880, 1572) <- exit from task switcher
Resized to QResizeEvent(2880, 1572)
Qt-based testcase is attached.
Instructions:
* Unpack, qmake, make
* Run the application at least twice, making at least one fullscreened
* Trigger the window switcher by clicking on the Unity's sidebar
The fullscreened one will print a wrong resize event. E.g.:
Resized to QResizeEvent(2880, 1572) <- fullscreened ActivationChang e, 0x7ffede2bfa30) ActivationChang e, 0x7ffede2bfa30) ActivationChang e, 0x7ffede2bfa30) ActivationChang e, 0x7ffede2bfa30)
Changed to QEvent(
Changed to QEvent(
Resized to QResizeEvent(2880, 1516) <- task switcher activated
Resized to QResizeEvent(2880, 1516) <- no idea
Changed to QEvent(
Changed to QEvent(
Resized to QResizeEvent(2880, 1572) <- exit from task switcher
Resized to QResizeEvent(2880, 1572)
(comments mine)