Prince Gupta
efb0c30b32
qt: refactor icon condition
2 years ago
Fatih Uzunoglu
9f076c3b23
qt: add platform checks to compositor_dcomp and compositor_win7
2 years ago
Alexandre Janniaux
806ecd968c
qt: compositor_common: use unique_ptr
Indirect leak of 8 byte(s) in 1 object(s) allocated from:
#0 0x7fe5ed0e2002 in operator new(unsigned long) /usr/src/debug/gcc/gcc/libsanitizer/asan/asan_new_delete.cpp:95
#1 0x7fe5d827e2f0 in vlc::DummyRenderWindow::init() ../../modules/gui/qt/maininterface/compositor_common.cpp:85
#2 0x7fe5d827ece3 in vlc::DummyRenderWindow::render() ../../modules/gui/qt/maininterface/compositor_common.cpp:91
#3 0x7fe5d8281930 in vlc::DummyRenderWindow::event(QEvent*) ../../modules/gui/qt/maininterface/compositor_common.cpp:58
#4 0x7fe5d33788fe in QApplicationPrivate::notify_helper(QObject*, QEvent*) (/usr/lib/libQt5Widgets.so.5+0x1788fe) (BuildId: 52d5f70b4f7ad263a7bd749141af6d1968d1f4aa)
3 years ago
Pierre Lamot
7dee44bfa6
qml: fix switching to medialib view from the player view from the menu
fix : #28409
2 years ago
Pierre Lamot
441b77b5c5
qml: avoid re-pushing the same view in history when navigating from the banner
fix : #28408
2 years ago
Pierre Lamot
89179610b3
qml: remove _oldViewProperties from MainDisplay
_oldViewProperties is never set
2 years ago
Prince Gupta
1fa7526be4
qml: make search field width adaptable
2 years ago
Prince Gupta
e9c189c01d
qml: improve spacing in top banner
2 years ago
Fatih Uzunoglu
597a2be401
qml: disable MainDisplay FrostedGlassEffect blending if background is opaque
2 years ago
Fatih Uzunoglu
ab853bd0a3
qml: use grouped property for fading edge in KeyNavigableListView instead of aliasing
2 years ago
Fatih Uzunoglu
0e2f937633
qml: PlaylistListView padding and spacing adjustment
2 years ago
Fatih Uzunoglu
d42ac8aee6
qml: remove unnecessary FocusScope in MainDisplay
2 years ago
Fatih Uzunoglu
afc451457e
qml: narrow where the effect is applied in MainDisplay for rendering optimization
2 years ago
Prince Gupta
16c952f0df
qt: remove unused member variable
3 years ago
Prince Gupta
687a2b444f
qt: make sure to preserve window state
fixes #28071
3 years ago
Prince Gupta
186c3dd591
qt: move functions to cpp
3 years ago
Prince Gupta
7c42847d25
qt: remove unused variables from mainctx
3 years ago
Prince Gupta
cf7adbd232
qml: fix sort icon in sort menu
correctly update property when setting
3 years ago
Fatih Uzunoglu
93c4b1e401
qml: set global menu button checked when menu is shown
3 years ago
Fatih Uzunoglu
be6d1e674d
qml: use ListSelectionModel
3 years ago
Fatih Uzunoglu
ad5171ca54
qt: register qml type ListSelectionModel
3 years ago
Pierre Lamot
e36f887b40
qml: update PageLoader loadView implementation
* page model is now a property of PageLoader
* page are loaded recursively and imperatively
* function parameters reflects updated History implementation
* page name is exposed in place of the former view property
3 years ago
Pierre Lamot
e13f4cdaf1
qml: move loadview function from StackViewExt to PageLoader
the component that we use to load view is PageLoader
3 years ago
Pierre Lamot
a02a072728
qt: change History from a dictionary structure to a flat list + property dictionary
exposing History properties as a single dictionary simplifies how view can
retrieve or alter its properties, by directly writing to the History.viewProp object
Recursive nature of the history path was underused, and we can achieve the same
behavior by having unique names for intermediates view properties
3 years ago
Fatih Uzunoglu
70d1d26280
qt: workaround for nvidia on xwayland
3 years ago
Pierre Lamot
1481c3cbb6
qml: make TopBanner a Control
3 years ago
Pierre Lamot
c841bdaf6b
qml: update navigation in MainDisplay
Now that PageLoader is a Control, we no longer need for force the focus reason
thru js function
3 years ago
Pierre Lamot
3d52e0489a
qml: force active focus on the SearchBox input field when expanding
widget state is no longer publicly exposed
3 years ago
Pierre Lamot
4f747b9dcd
qml: update navigation in BannerSource
3 years ago
Pierre Lamot
269f6bfc7e
qml: remove unused property in bannersource
3 years ago
Pierre Lamot
2353ac343f
qml: no longer expose unused contentModel property
3 years ago
Pierre Lamot
cf0859ddb7
qml: make use of SortCtx
3 years ago
Pierre Lamot
4a5f650aac
qt: move sorting context to MainCtx
3 years ago
Pierre Lamot
798b9405c7
qml: refactor page context restoration
3 years ago
Pierre Lamot
59a6e052fd
qml: factorize usage of sortModel
3 years ago
Pierre Lamot
351d942518
qml: assume sort models are uniform in SortControl
3 years ago
Pierre Lamot
ea88f773ae
qml: remove extra-local actions
they are no longer used
3 years ago
Pierre Lamot
0f793ac339
qml: make use of SearchContext
3 years ago
Pierre Lamot
1bfbdc2a29
qt: add Search context to MainCtx
3 years ago
Pierre Lamot
1d59f4b75a
qml: factorize isSearchable propperty
3 years ago
Pierre Lamot
82dd1bd2c5
qml: use main context to track hasGridListMode
3 years ago
Pierre Lamot
c9bad19e7a
qt: add hasGridListMode in MainCtx
3 years ago
Pierre Lamot
5603008752
qml: rename isViewMultiView to hasGridListMode
feature concerns list/grid only, former naming was obscure
3 years ago
Pierre Lamot
511304d8b1
qml: factorize isViewMultiView properties
3 years ago
Alexandre Janniaux
67e2541b19
qt: MainInterface: decode partially encoded MRL on drop
When using drag&drop to play a media with characters that would need
encoding, especially spaces, the system will provide the correct URL to
the DropArea but Qt will encode it partially. Since we will encode it
afterwards, we can just decode it completely and forward it as-is to the
playlist controller.
Fixes dropping URL with spaces from a browser to VLC.
3 years ago
mohit-marathe
b6afedd0fb
qt: remove call to showPlayer
3 years ago
Pierre Lamot
6d8a337051
qt: fix compilation when Qt5X11Extra is missing
X11 compositor is no longer build when Qt5X11Extra is missing
QT5_HAS_XCB flag has been removed as it had no use
vlc_qt_check was passed wayland flags
3 years ago
Alexandre Perraud
97ab1d297e
qt : new menu and search svg icons
Rename menu to more
3 years ago
Fatih Uzunoglu
748cd53af3
qt: remove unnecessary QX11Info import
3 years ago
Fatih Uzunoglu
527b5ee5d9
qt: remove undefined method
3 years ago