Comment 2 for bug 1687812

Revision history for this message
Giuseppe D'Angelo (dangelo) wrote :

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
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)

(comments mine)