D12876: [Dialog] Handle dialog being minimized gracefully

Kai Uwe Broulik noreply at phabricator.kde.org
Mon May 14 14:49:47 UTC 2018


broulik added inline comments.

INLINE COMMENTS

> dialog.cpp:1371
> +        // Bug 381242: Qt remembers minimize state and re-applies it when showing
> +        setWindowStates(windowStates() & ~Qt::WindowMinimized);
> +#endif

We don't know the previous state of the window with `windowState` (singular, pre-5.10 API) so we cannot restore a full screen or maximized state. Not sure if that is a usecase, though. Anyway, this new API lets us just unset a particular state.

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D12876

To: broulik, #plasma
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180514/e4c99612/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list