From 4c3f1b63b4fc6af4615e25832a3532a2023cf57f Mon Sep 17 00:00:00 2001 From: Felix Ernst Date: Mon, 16 Sep 2024 16:52:59 +0200 Subject: [PATCH] Disable inline renaming for phones by default It currently does not seem to work together with virtual keyboards. --- src/dolphinmainwindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 36f0316c6..b0eccde0d 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -207,7 +207,10 @@ DolphinMainWindow::DolphinMainWindow() if (usePhoneUi) { Q_ASSERT(qobject_cast(m_placesPanel->parent())); m_placesPanel->parentWidget()->hide(); - GeneralSettings::setShowZoomSlider(false); + auto settings = GeneralSettings::self(); + settings->setShowZoomSlider(false); // Zooming can be done with pinch gestures instead and we are short on horizontal space. + settings->setRenameInline(false); // This works around inline renaming currently not working well with virtual keyboards. + settings->save(); // Otherwise the RenameInline setting is not picked up for the first time Dolphin is used. } } -- 2.47.3