← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1346783] [NEW] Dialogs set no parent, leading to "pop-under" dialogs that are hard to find

 

Public bug reported:

Some dialogs (e.g. UbuntuClickDialog) are modal but set no parent. This
leads window managers like unity to not do correct stacking. The dialog
can pop under the main window and become invsible (except for showing up
in the taskbar). The main window is not responding anymore (of course)
because of the modal dialog. The impression for the user is that the app
has crashed/become unresponsive.

Looking at the code it seems a bunch of QMessageBox::warning(0,...)
instead of Core::ICore::mainWindow() is used (but only some, not all). I
don't know if there is a reason for this, I changed it to use the main
window as parent in the attached branch and did a testbuild that works
for me.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

** Branch linked: lp:~mvo/qtcreator-plugin-ubuntu/dialog-parents

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1346783

Title:
  Dialogs set no parent, leading to "pop-under" dialogs that are hard to
  find

Status in “qtcreator-plugin-ubuntu” package in Ubuntu:
  New

Bug description:
  Some dialogs (e.g. UbuntuClickDialog) are modal but set no parent.
  This leads window managers like unity to not do correct stacking. The
  dialog can pop under the main window and become invsible (except for
  showing up in the taskbar). The main window is not responding anymore
  (of course) because of the modal dialog. The impression for the user
  is that the app has crashed/become unresponsive.

  Looking at the code it seems a bunch of QMessageBox::warning(0,...)
  instead of Core::ICore::mainWindow() is used (but only some, not all).
  I don't know if there is a reason for this, I changed it to use the
  main window as parent in the attached branch and did a testbuild that
  works for me.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1346783/+subscriptions


Follow ups

References