Review Request 118252: Port KWindowSystem::minimizeWindow and unminizeWindow to XCB

Martin Gräßlin mgraesslin at kde.org
Thu May 22 08:23:27 UTC 2014



> On May 22, 2014, 10:18 a.m., Thomas Lübking wrote:
> > autotests/kwindowsystemx11test.cpp, line 347
> > <https://git.reviewboard.kde.org/r/118252/diff/1/?file=274045#file274045line347>
> >
> >     found no spec, but from tronche:
> >     
> >     "Window managers *may* elect to receive this message and if the window is in its normal state, *may* treat it as a request to change the window's state from normal to iconic."
> >     
> >     Also WMs can of course place windows minimized (first test fails) or ignore un/minimize requests altogether (virtual desktop implementation etc.)
> >     
> >     Also this will likely fail if there's just no WM during the test...

I tested with openbox (being used on the ci system) and kwin. I can of course add a QSKIP in case it's neither kwin or openbox with a message that it might not work


> On May 22, 2014, 10:18 a.m., Thomas Lübking wrote:
> > src/kwindowsystem_x11.cpp, line 809
> > <https://git.reviewboard.kde.org/r/118252/diff/1/?file=274046#file274046line809>
> >
> >     Do we have a strategy on this?

not really. I included it to make sure it works. Once https://git.reviewboard.kde.org/r/118234/ is merged, it can be removed.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/118252/#review58274
-----------------------------------------------------------


On May 22, 2014, 8:53 a.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/118252/
> -----------------------------------------------------------
> 
> (Updated May 22, 2014, 8:53 a.m.)
> 
> 
> Review request for KDE Frameworks, kwin and Eike Hein.
> 
> 
> Repository: kwindowsystem
> 
> 
> Description
> -------
> 
> Port KWindowSystem::minimizeWindow and unminizeWindow to XCB
> 
> Unit test added to verify that the functionality works correctly.
> 
> Note: it uses an Atom instead of xcb_atom_t for WM_CHANGE_STATE as the
> create_atoms() function is not yet ported to xcb.
> 
> 
> Diffs
> -----
> 
>   autotests/kwindowsystemx11test.cpp ec6a574691fd25dde7d02da619cd497bc3660210 
>   src/kwindowsystem_x11.cpp 74370cb96229a3042fbfd061ae442b5cf2b403e9 
> 
> Diff: https://git.reviewboard.kde.org/r/118252/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140522/6ada255d/attachment.html>


More information about the Kde-frameworks-devel mailing list