Hello community, here is the log from the commit of package plasma-framework for openSUSE:Factory checked in at 2016-11-04 20:51:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/plasma-framework (Old) and /work/SRC/openSUSE:Factory/.plasma-framework.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "plasma-framework" Changes: -------- --- /work/SRC/openSUSE:Factory/plasma-framework/plasma-framework.changes 2016-10-28 12:27:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.plasma-framework.new/plasma-framework.changes 2016-11-04 20:51:13.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Nov 2 11:28:03 UTC 2016 - [email protected] + +- Add 0001-make-sure-OSD-doesnt-have-Dialog-flag.patch to fix an + issue by which OSD (like volume changes notifications) were + not shown when panel was hidden (kde#370433). + +------------------------------------------------------------------- New: ---- 0001-make-sure-OSD-doesnt-have-Dialog-flag.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ plasma-framework.spec ++++++ --- /var/tmp/diff_new_pack.d5hcHV/_old 2016-11-04 20:51:14.000000000 +0100 +++ /var/tmp/diff_new_pack.d5hcHV/_new 2016-11-04 20:51:14.000000000 +0100 @@ -36,6 +36,8 @@ Patch2: new-bool-to-use-activated-signal-as-toggle.patch # PATCH-FIX-UPSTREAM Fixes-for-building-plasma-framework-with-Qt-55.patch Patch3: Fixes-for-building-plasma-framework-with-Qt-55.patch +# PATCH-FIX-UPSTREAM 0001-make-sure-OSD-doesnt-have-Dialog-flag.patch -- Fix OSD not showing up when panel visibility is set to auto-hide +Patch4: 0001-make-sure-OSD-doesnt-have-Dialog-flag.patch BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: kactivities5-devel >= 5.19.0 @@ -131,6 +133,7 @@ %patch0 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 # install updated network.svgz cp %{S:2} src/desktoptheme/air/icons ++++++ 0001-make-sure-OSD-doesnt-have-Dialog-flag.patch ++++++ >From 62b0865492d863cd000814054681ba6a97972cd5 Mon Sep 17 00:00:00 2001 From: Marco Martin <[email protected]> Date: Wed, 2 Nov 2016 11:56:40 +0100 Subject: make sure OSD doesn't have Dialog flag an OSD can't be a Dialog, as qt xcb would attempt to set a transient parent for it, same as panels, which in turn will make for invisible osd on autohide panels Change-Id: I5afea6d4bfa0bfee8b3453e78a1c214a3a0894ec reviewed-by: Martin Graesslin <[email protected]> CCMAIL:[email protected] BUG:370433 --- src/plasmaquick/dialog.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp index 9afdf60..6e2041a 100644 --- a/src/plasmaquick/dialog.cpp +++ b/src/plasmaquick/dialog.cpp @@ -1037,6 +1037,11 @@ void Dialog::setType(WindowType type) } else { setFlags(Qt::FramelessWindowHint | flags()); } + //an OSD can't be a Dialog, as qt xcb would attempt to set a transient parent for it + //see bug 370433 + if (type == OnScreenDisplay) { + setFlags((flags() & ~Qt::Dialog) | Qt::Window); + } if (d->backgroundHints == Dialog::NoBackground) { d->frameSvgItem->setImagePath(QString()); -- cgit v0.11.2
