diff options
Diffstat (limited to 'kde-frameworks/plasma/files/plasma-5.93.0-fix-osd-dialog-position.patch')
-rw-r--r-- | kde-frameworks/plasma/files/plasma-5.93.0-fix-osd-dialog-position.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/kde-frameworks/plasma/files/plasma-5.93.0-fix-osd-dialog-position.patch b/kde-frameworks/plasma/files/plasma-5.93.0-fix-osd-dialog-position.patch new file mode 100644 index 000000000000..088230402863 --- /dev/null +++ b/kde-frameworks/plasma/files/plasma-5.93.0-fix-osd-dialog-position.patch @@ -0,0 +1,32 @@ +From aec00b32980390b93411f140dfb0503a671c2163 Mon Sep 17 00:00:00 2001 +From: Jim Jones <rauchwolke@gmx.net> +Date: Wed, 20 Apr 2022 16:18:20 +0000 +Subject: [PATCH] Fix osd dialog position + +After the upgrade to kde-frameworks-5.93 the osd volume indicator is displayed in the top left corner of the screen instead of being displayed in the center of the screen. + +BUG: 452648 +--- + src/plasmaquick/dialog.cpp | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/src/plasmaquick/dialog.cpp b/src/plasmaquick/dialog.cpp +index 9ca2c8a66..1e6736dee 100644 +--- a/src/plasmaquick/dialog.cpp ++++ b/src/plasmaquick/dialog.cpp +@@ -1237,11 +1237,7 @@ bool Dialog::event(QEvent *event) + { + if (event->type() == QEvent::Expose) { + if (!KWindowSystem::isPlatformWayland() || !isExposed()) { +- auto ret = QQuickWindow::event(event); +- if (d->mainItem) { +- d->syncToMainItemSize(); +- } +- return ret; ++ return QQuickWindow::event(event); + } + + /* +-- +GitLab + |