From 95be8fdac202a8a10e5018f03b42b47af33d181d Mon Sep 17 00:00:00 2001 From: Michael Webster Date: Mon, 13 Nov 2023 15:21:53 -0500 Subject: [PATCH] nemo-list-view.c: Don't apply column-expand test unless there is a drag operation active. This test also affects clicking on the expander. --- src/nemo-list-view.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/nemo-list-view.c b/src/nemo-list-view.c index 175185d08..73740a103 100644 --- a/src/nemo-list-view.c +++ b/src/nemo-list-view.c @@ -1789,6 +1789,10 @@ test_expand_row_callback (GtkTreeView *treeview, { NemoListView *view = NEMO_LIST_VIEW (user_data); + if (!view->details->drag_started) { + return ALLOW_EXPAND; + } + if (eel_gtk_get_treeview_row_text_is_under_pointer (view->details->tree_view)) { return ALLOW_EXPAND; }