From a41d0affc0218ee46b28e4c0d160acbf6dcc17df Mon Sep 17 00:00:00 2001 From: Christoph Feck Date: Sun, 5 Jan 2020 05:33:19 +0100 Subject: GIT_SILENT Upgrade KDE Applications version to 19.12.1. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 87d4353e5..f103107f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.0) # KDE Application Version, managed by release script set (KDE_APPLICATIONS_VERSION_MAJOR "19") set (KDE_APPLICATIONS_VERSION_MINOR "12") -set (KDE_APPLICATIONS_VERSION_MICRO "0") +set (KDE_APPLICATIONS_VERSION_MICRO "1") set (KDE_APPLICATIONS_VERSION "${KDE_APPLICATIONS_VERSION_MAJOR}.${KDE_APPLICATIONS_VERSION_MINOR}.${KDE_APPLICATIONS_VERSION_MICRO}") project(Dolphin VERSION ${KDE_APPLICATIONS_VERSION}) -- cgit v1.3 From 771f78276d5a720d585917253e25c92ae6640f49 Mon Sep 17 00:00:00 2001 From: Christoph Feck Date: Mon, 6 Jan 2020 14:49:19 +0100 Subject: Update Appstream for new release --- src/org.kde.dolphin.appdata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org.kde.dolphin.appdata.xml b/src/org.kde.dolphin.appdata.xml index 9ca7b7e0a..735b85059 100644 --- a/src/org.kde.dolphin.appdata.xml +++ b/src/org.kde.dolphin.appdata.xml @@ -567,6 +567,7 @@ dolphin + -- cgit v1.3 From f729f6f5b1d1bbc1b4fab2f925f16f2c2c7128d5 Mon Sep 17 00:00:00 2001 From: Piotr Henryk Dabrowski Date: Sat, 11 Jan 2020 16:09:36 +0100 Subject: Hide tooltip instantly on filter change Summary: Instantly hide tooltip shown over an element when filter bar changes. Currently the tooltip stays even when filtering causes the file under the mouse to change or disappears entirely. The tooltip also continues to cover much of the window - hiding the new filtering results from user. This is an enhancement to D22512 Test Plan: 1. place the mouse pointer over a file to show the tooltip 2. press "/" to activate filter bar 3. type in filter phrase Reviewers: #dolphin, elvisangelaccio, ngraham Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D26576 --- src/dolphinviewcontainer.cpp | 2 ++ src/views/dolphinview.h | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index a7587a91c..9ed7654fa 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -510,6 +510,7 @@ void DolphinViewContainer::setFilterBarVisible(bool visible) { Q_ASSERT(m_filterBar); if (visible) { + m_view->hideToolTip(ToolTipManager::HideBehavior::Instantly); m_filterBar->show(); m_filterBar->setFocus(); m_filterBar->selectAll(); @@ -659,6 +660,7 @@ void DolphinViewContainer::closeFilterBar() void DolphinViewContainer::setNameFilter(const QString& nameFilter) { + m_view->hideToolTip(ToolTipManager::HideBehavior::Instantly); m_view->setNameFilter(nameFilter); delayedStatusBarUpdate(); } diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index ba38d3234..538e00e83 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -312,6 +312,11 @@ public: */ static QUrl openItemAsFolderUrl(const KFileItem& item, const bool browseThroughArchives = true); + /** + * Hides tooltip displayed over element. + */ + void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later); + public slots: /** * Changes the directory to \a url. If the current directory is equal to @@ -737,11 +742,6 @@ private: */ void applyModeToView(); - /** - * Hides tooltip displayed over element. - */ - void hideToolTip(const ToolTipManager::HideBehavior behavior = ToolTipManager::HideBehavior::Later); - /** * Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder(). * Pastes the clipboard data into the URL \a url. -- cgit v1.3