[vlc-commits] [Git][videolan/vlc][master] 2 commits: qml: hide the playlist pane resize handle if it is not functional
Steve Lhomme (@robUx4)
gitlab at videolan.org
Mon Jun 16 05:19:21 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
32ef4704 by Fatih Uzunoglu at 2025-06-16T05:04:24+00:00
qml: hide the playlist pane resize handle if it is not functional
When `VLCStyle.isScreenSmall` is true, the playlist pane can
not be resized. However since the horizontal resize handle is
still visible, the cursor changes and this makes it confusing
for the user whether the pane can actually be resized or not.
- - - - -
04045682 by Fatih Uzunoglu at 2025-06-16T05:04:24+00:00
qml: hide the artists pane resize handle if it is not functional
When `VLCStyle.isScreenSmall` is true, the artists pane can
not be resized. However since the horizontal resize handle is
still visible, the cursor changes and this makes it confusing
for the user whether the pane can actually be resized or not.
- - - - -
2 changed files:
- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -446,8 +446,10 @@ FocusScope {
targetWidth: parent.width
sourceWidth: g_mainDisplay.width
+ visible: !VLCStyle.isScreenSmall
+
onWidthFactorChanged: {
- if (!_inhibitMainInterfaceUpdate)
+ if (!_inhibitMainInterfaceUpdate && visible)
MainCtx.setPlaylistWidthFactor(widthFactor)
}
=====================================
modules/gui/qt/medialibrary/qml/MusicArtistsAlbums.qml
=====================================
@@ -316,8 +316,10 @@ FocusScope {
sourceWidth: root.width
targetWidth: artistList.width
+ visible: !VLCStyle.isScreenSmall
+
onWidthFactorChanged: {
- if (!_inhibitMainCtxUpdate)
+ if (!_inhibitMainCtxUpdate && visible)
MainCtx.artistAlbumsWidthFactor = widthFactor
}
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/a136f30518a930f11974f222161de731c193092d...040456829c535c12c2ea1d4217615acd13b15989
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/a136f30518a930f11974f222161de731c193092d...040456829c535c12c2ea1d4217615acd13b15989
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list