Hello community, here is the log from the commit of package dolphin for openSUSE:Leap:15.2 checked in at 2020-03-09 17:58:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/dolphin (Old) and /work/SRC/openSUSE:Leap:15.2/.dolphin.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dolphin" Mon Mar 9 17:58:49 2020 rev:50 rq:780707 version:19.12.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/dolphin/dolphin.changes 2020-02-13 14:38:54.249593074 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.dolphin.new.26092/dolphin.changes 2020-03-09 17:58:53.128624501 +0100 @@ -1,0 +2,9 @@ +Wed Feb 26 19:08:08 UTC 2020 - Luca Beltrame <[email protected]> + +- Add upstream patch to move back the "Create New..." menu item + in its former position (kde#417640): + * 0001-Restore-former-position-of-Create-New-menu-item-in-v.patch +- Refreshed patches: + * dolphin-go_up.diff + +------------------------------------------------------------------- New: ---- 0001-Restore-former-position-of-Create-New-menu-item-in-v.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dolphin.spec ++++++ --- /var/tmp/diff_new_pack.G6YTEB/_old 2020-03-09 17:58:53.600624736 +0100 +++ /var/tmp/diff_new_pack.G6YTEB/_new 2020-03-09 17:58:53.600624736 +0100 @@ -36,6 +36,8 @@ Patch0: dolphin-go_up.diff # PATCH-FIX-OPENSUSE Patch1: 0001-Revert-Disallow-executing-Dolphin-as-root-on-Linux.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-Restore-former-position-of-Create-New-menu-item-in-v.patch BuildRequires: extra-cmake-modules >= 1.6.0 BuildRequires: update-desktop-files BuildRequires: cmake(KF5Activities) >= 5.7.0 ++++++ 0001-Restore-former-position-of-Create-New-menu-item-in-v.patch ++++++ >From 4c923a531f77bc4c44b5c8687fe18dd6438eb9c5 Mon Sep 17 00:00:00 2001 From: Nate Graham <[email protected]> Date: Sun, 9 Feb 2020 08:58:10 -0700 Subject: [PATCH] Restore former position of "Create New" menu item in viewport context menu Summary: I've seem various complaints from users about the fact that the {nav Create New...} menu item in the viewport context menu is now below {nav Open With} item. All the other changes to menus seem to have been well-received but this one has garnered criticism. Looking through D23757 and D11884, I can't actually see that this was intentional, so it might even be a bug. Either way, this patch restores the old position of the {nav Create New} menu items at the top of the Viewport context menu. BUG: 417640 FIXED-IN: 20.04.0 Test Plan: {F8093605} Reviewers: #vdg, #dolphin, elvisangelaccio, ndavis Reviewed By: #vdg, ndavis Subscribers: asturmlechner, markuss, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D27267 --- src/dolphincontextmenu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Index: dolphin-19.12.2/src/dolphincontextmenu.cpp =================================================================== --- dolphin-19.12.2.orig/src/dolphincontextmenu.cpp +++ dolphin-19.12.2/src/dolphincontextmenu.cpp @@ -328,12 +328,6 @@ void DolphinContextMenu::openViewportCon fileItemActions.setParentWidget(m_mainWindow); fileItemActions.setItemListProperties(baseUrlProperties); - // Don't show "Open With" menu items if the current dir is empty, because there's - // generally no app that can do anything interesting with an empty directory - if (view->itemsCount() != 0) { - addOpenWithActions(fileItemActions); - } - // Set up and insert 'Create New' menu KNewFileMenu* newFileMenu = m_mainWindow->newFileMenu(); newFileMenu->setViewShowsHiddenFiles(view->hiddenFilesShown()); @@ -341,6 +335,12 @@ void DolphinContextMenu::openViewportCon newFileMenu->setPopupFiles(m_baseUrl); addMenu(newFileMenu->menu()); + // Don't show "Open With" menu items if the current dir is empty, because there's + // generally no app that can do anything interesting with an empty directory + if (view->itemsCount() != 0) { + addOpenWithActions(fileItemActions); + } + QAction* pasteAction = createPasteAction(); addAction(pasteAction); ++++++ dolphin-go_up.diff ++++++ --- /var/tmp/diff_new_pack.G6YTEB/_old 2020-03-09 17:58:53.636624754 +0100 +++ /var/tmp/diff_new_pack.G6YTEB/_new 2020-03-09 17:58:53.636624754 +0100 @@ -1,8 +1,8 @@ -Index: dolphin-18.03.90/src/dolphinui.rc +Index: dolphin-19.12.2/src/dolphinui.rc =================================================================== ---- dolphin-18.03.90.orig/src/dolphinui.rc -+++ dolphin-18.03.90/src/dolphinui.rc -@@ -92,6 +92,7 @@ +--- dolphin-19.12.2.orig/src/dolphinui.rc ++++ dolphin-19.12.2/src/dolphinui.rc +@@ -99,6 +99,7 @@ <text context="@title:menu">Main Toolbar</text> <Action name="go_back" /> <Action name="go_forward" />
