----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://git.reviewboard.kde.org/r/113393/#review42578 -----------------------------------------------------------
Wouldn't moving this class in KNotifications and from there use KWindowSystem be a better fix then? - Kevin Ottens On Oct. 22, 2013, 9:21 p.m., Alex Merry wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://git.reviewboard.kde.org/r/113393/ > ----------------------------------------------------------- > > (Updated Oct. 22, 2013, 9:21 p.m.) > > > Review request for KDE Frameworks. > > > Repository: kdelibs > > > Description > ------- > > Get KPassivePopup positioning in a semi-working state > > Since we cannot use the NETWM stuff from KWindowSystems, we are forced > to either rely on what Qt can give us or hack in window-system-specific > code. This does the former, using QDesktopWidget to calculate the > default placement of the popup, QWidget to place the popup next to our > own windows and QWindow for foreign windows. > > Caveats: > * the docs claim the popup will be placed next to taskbar entries; this > is not possible using only what Qt gives us > * Qt does not provide foreign window geometry on X11, so if you pass a > foreign window id you will just get the default placement > > > Diffs > ----- > > tier1/kwidgetsaddons/CMakeLists.txt > ea6654d83acb265a87ed21c913a7f799b457ca71 > tier1/kwidgetsaddons/src/kpassivepopup.cpp > 663f63af413b7660c9c1b21af3e3ae4d7c424bbe > tier1/kwidgetsaddons/tests/kpassivepopuptest.cpp > 4e7138523bdbe4166bf0e899d39d9ae1f8b8b447 > > Diff: http://git.reviewboard.kde.org/r/113393/diff/ > > > Testing > ------- > > Builds. Test application seems to work as expected (on X11, at least). > > > Thanks, > > Alex Merry > >
_______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel