← Back to team overview

touch-packages team mailing list archive

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

 

Sebastien, not sure what you mean by "when qt code is focussed". If you
mean when a Qt window is focussed, I think the answer is no. It is doing
it when a Qt application is running, whether it has a window focussed or
not.

I don't know what a xev log is. I'm going to look it up and send the
result when I find how to do it.

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

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

Status in qtbase-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/qtbase-opensource-src/+bug/1426851/+subscriptions