← Back to team overview

touch-packages team mailing list archive

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

 

OK, xev is actually pretty easy to use. Here is my log:
http://pastebin.com/Gef6zmeY

I first tried (several times) launching Texmaker and press the power
button but the problem didn't happen.

What seemed to make a difference is creating a new document after
launching it. Then I started xev, then pressed the power button  and the
computer shut down.

Maybe this is happening when there are unsaved changes to a document in
the Qt application. Can you recreate the bug after creating a new
document without saving 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