← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1548766] Re: Plasma crashes when the monitor is disconnected (when it sleeps, in some cases)

 

This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg-
14ubuntu2

---------------
qtbase-opensource-src (5.5.1+dfsg-14ubuntu2) xenial; urgency=medium

  * debian/patches/enable-tests.patch: some qnetworkcookiejar tests have
    started failing without any Qt changes (LP: #1548686)
  * Notify-when-the-primary-screen-changes.patch
    xcb-Handle-screen-siblings-in-QXcbVirtualDesktop.patch
    xcb-Use-a-placeholder-QScreen-when-there-are-no-outp.patch:
    - Another multi-monitor crasher fix and its pre-requirement patches
      (LP: #1548766)
    - Rebase the patches slightly to apply to Qt 5.5.
  * Merge with unreleased Debian's 5.5.1+dfsg-15

 -- Timo Jyrinki <timo-jyrinki@xxxxxxxxxx>  Fri, 26 Feb 2016 07:03:24
+0000

** Changed in: qtbase-opensource-src (Ubuntu)
       Status: In Progress => Fix Released

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

Title:
  Plasma crashes when the monitor is disconnected (when it sleeps, in
  some cases)

Status in qtbase-opensource-src package in Ubuntu:
  Fix Released

Bug description:
  I'm reporting this on behalf of a coworker who has a 4K monitor, which
  disconnects whenever it sleeps.  Older monitors didn't do that; but Qt
  5.5 tries to be honest about it: the QScreen is destroyed whenever its
  corresponding monitor is disconnected,
  QGuiApplication::primaryScreen() returns null, and so on.  KDE
  developers have been complaining.  So in Qt 5.6 we made it keep the
  last-remaining QScreen as a fake instance, whenever the last monitor
  is disconnected.  The main patch is here

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

  You might need to cherry-pick that
  (a094af001795c9651b299d700a992150d1aba33a in qtbase) for as long as
  you are shipping Qt 5.5, to get Kubuntu behaving decently.  It's
  relevant on Ubuntu 16.04.  Too bad that Ubuntu LTS is not shipping the
  LTS Qt 5.6 release, but I know we are behind on our release schedule.

  Some users have also reported that their laptop's screen disconnects
  when it sleeps.  And I have often experienced 5.5-based builds of
  Creator crashing or disappearing when I switch machines on my KVM.
  So, sorry that we didn't fix it sooner.  It was my mistake for
  believing that modeling disappearing screens "correctly" was a good
  idea: it turned out to be a platform inconsistency which developers
  were not ready for.

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


References