[graphics/koko/release/26.08] src/qml/mediaview: MediaViewPage: hide the zoom box for video files only
Oliver Beard <[email protected]> Tue, 4 Aug 2026 13:30:43 +0000 (UTC)
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit abdebc77c5866955bddb44ee72f362fc15aa8b7b by Oliver Beard, on behalf of Angel Parra.
Committed on 04/08/2026 at 13:25.
Pushed by olib into branch 'release/26.08'.
MediaViewPage: hide the zoom box for video files only
The bar gets in the way at the middle part of the seek slider and
zoom does not even work for video. May be restored any time in the
future if video zoom and panning are ever supported.
M +1 -1 src/qml/mediaview/MediaViewPage.qml
https://invent.kde.org/graphics/koko/-/commit/abdebc77c5866955bddb44ee72f362fc15aa8b7b
diff --git a/src/qml/mediaview/MediaViewPage.qml b/src/qml/mediaview/MediaViewPage.qml
index 44d2b786..6cb06343 100644
--- a/src/qml/mediaview/MediaViewPage.qml
+++ b/src/qml/mediaview/MediaViewPage.qml
@@ -720,7 +720,7 @@ Kirigami.Page {
KAC.FloatingToolBar {
id: zoomBar
- readonly property bool shouldShow: listView.currentItem !== null && root.mainWindow.controlsVisible
+ readonly property bool shouldShow: listView.currentItem !== null && root.mainWindow.controlsVisible && listView.currentItem.type != Koko.FileInfo.VideoType
Kirigami.Theme.colorSet: Kirigami.Theme.Complementary
parent: listView
anchors {