← Back to team overview

touch-packages team mailing list archive

[Bug 1426851] Re: Power button shuts down computer if a Qt application is running

 

The "close the application" is not specific to qtcreator, other qt5 code
does the same, likely a qtdeclarative thing. Unsure what's going on with
the session closing for you though, it's only doing it when qt code is
focussed? having a xev log could be useful

** Package changed: ubuntu => qtdeclarative-opensource-src (Ubuntu)

** Changed in: qtdeclarative-opensource-src (Ubuntu)
     Assignee: Canonical Desktop Team (canonical-desktop-team) => (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtdeclarative-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1426851

Title:
  Power button shuts down computer if a Qt application is running

Status in qtdeclarative-opensource-src package in Ubuntu:
  New

Bug description:
  On Ubuntu 14.04, the usual behavior of the power button is bringing a
  dialog with options (Lock, Suspend, Restart, Shutdown) and waiting for
  the user's choice.

  When a Qt application is running, for instance Qt Creator or Texmaker,
  (but not VLC, Clementine or Skype) and the power button is pressed, it
  instantly closes that Qt app (http://qt-
  project.org/forums/viewthread/47632/), brings the shut down dialog and
  then shuts down the computer without waiting for the user’s choice.

  I first asked about this on this forum: http://qt-project.org/forums/viewthread/53243/#222409
  and reported it at Qt Creator, thinking it was the only application causing it, where they told me to report it to Canonical: https://bugreports.qt.io/browse/QTCREATORBUG-14030

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1426851/+subscriptions