← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1450137] Re: Qt5 applications crash when switching screens

 

Unfortunately there's no Qt 5.4.2 PPA for 15.04, and no backportable
commits have been found that would actually fix the problem.

However, as of an hour ago 15.10 now has Qt 5.4.2, so marking this bug
as fixed even though the bug number was not included in the bug report.
Testing whether Qt 5.4.2 actually fixed the problem in wily would be
welcome.

---

qtbase-opensource-src (5.4.2+dfsg-2ubuntu1) wily; urgency=medium

  * New upstream release.
  * Drop additional cherry-picked patches now included:
    - make-sure-there-s-a-scene.patch
    - upstream-gerrit_Handle-SelectionWindowDestroy-in-QXcbClipboard.patch
    - upstream_Call-ofono-nm-Registered-delayed-in-constructor-othe.patch
    - upstream_xcb-Update-mouse-buttons-from-MotionNotify-events.patch
    - upstream_xcb_use_themed_cursor.patch
    - enable_pie.patch
  * Bump ABI:s in symbols files
  * Update symbols from build logs.

 -- Timo Jyrinki <timo-jyrinki@xxxxxxxxxx>  Wed, 10 Jun 2015 11:45:56
+0000

** Changed in: qtdeclarative-opensource-src (Ubuntu Wily)
       Status: Confirmed => Fix Released

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

Title:
  Qt5 applications crash when switching screens

Status in qtdeclarative-opensource-src package in Ubuntu:
  Fix Released
Status in qtdeclarative-opensource-src source package in Wily:
  Fix Released

Bug description:
  # Impact
  When switching screens (e. g. when putting the laptop onto the docking station the notebook screen is turned off and the external one is turned on) Qt5 applications (including plasmashell) quite often crash.

  # Test Case
  * Have two screens. One plugged-in one not
  * Run plasma 5
  * Plug-in second screen and wait 10 seconds
  * Unplug and wait 10 seconds
  * Plug-in and wait 10 seconds
  * Unplug and wait 10 seconds
  * ...

  # Regression Potential
  Worst case scenario an application using qquickscreen would slow down because of erroneous screen change singals being emitted too often per second. This would however only reveal a lower level issue in the foundations that ultimately needs to be fixed anyway. 

  # Other Info
  The upstream code review [1] explains the issue and solution pretty well.

  https://codereview.qt-project.org/#/c/111100/

  
  --------- original report ---------------

  When switching screens (e. g. when putting the laptop onto the docking
  station the notebook screen is turned off and the external one is
  turned on) Qt5 applications (including plasmashell) quite often crash.
  This makes my laptop unusable, since I do that very frequently.

  The problem has already been described here: https://bugs.kde.org/show_bug.cgi?id=341497
  Apparently it is fixed in Qt 5.5

  I am running Kubuntu 15.04 64bit and libqt5gui5 5.4.1+dfsg-2ubuntu4.

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


References