Feed Advanced Search

Mar 11 2018

rominf added a comment to D11012: Add Trash (empty, isEmpty, emptinessChanged).

I think it gets complicated now.
This patch and D11216 are now both not correct anymore (they are both the same, both do too much).

Reduce this patch to just the Trash addition. Just the refactoring that is needed for that.
So no icon changes in here.

It's already true. If you are talking about the code that updates the icon with the notification signal, it's the part of refactoring. No logic changes involved.

Mar 11 2018, 7:16 AM

Mar 10 2018

rominf planned changes to D11048: Convert hard coded shortcuts to standard keys.
Mar 10 2018, 8:38 PM
rominf updated the diff for D11048: Convert hard coded shortcuts to standard keys.
  • dolphinui.rc version bump
Mar 10 2018, 8:38 PM
rominf planned changes to D11048: Convert hard coded shortcuts to standard keys.
Mar 10 2018, 8:25 PM
rominf updated the diff for D11048: Convert hard coded shortcuts to standard keys.
  • Fixes from comments
Mar 10 2018, 8:25 PM
rominf changed the visibility for D11216: Update trash icon after restore operation.
Mar 10 2018, 7:38 PM
rominf changed the visibility for D11216: Update trash icon after restore operation.
Mar 10 2018, 7:37 PM
rominf added a dependency for D11216: Update trash icon after restore operation: D11012: Add Trash (empty, isEmpty, emptinessChanged).
Mar 10 2018, 7:37 PM
rominf added a dependent revision for D11012: Add Trash (empty, isEmpty, emptinessChanged): D11216: Update trash icon after restore operation.
Mar 10 2018, 7:37 PM
rominf requested review of D11216: Update trash icon after restore operation.
Mar 10 2018, 7:36 PM
rominf updated the test plan for D11012: Add Trash (empty, isEmpty, emptinessChanged).
Mar 10 2018, 7:24 PM
rominf added a comment to D11012: Add Trash (empty, isEmpty, emptinessChanged).

Done. Understood.

Mar 10 2018, 7:23 PM
rominf updated the diff for D11012: Add Trash (empty, isEmpty, emptinessChanged).
  • Split refactoring and bug fixing
  • Make commit message more descriptive
Mar 10 2018, 7:21 PM
rominf committed R318:0c9343d61487: Fix some compile warnings (authored by rominf).
Fix some compile warnings
Mar 10 2018, 3:08 PM
rominf closed D10995: Fix some compile warnings.
Mar 10 2018, 3:07 PM
rominf updated the diff for D11012: Add Trash (empty, isEmpty, emptinessChanged).
  • Move watchEmptinessChanged to constructor
Mar 10 2018, 2:40 PM
rominf updated the diff for D10995: Fix some compile warnings.
  • Bump Qt version to 5.8
Mar 10 2018, 12:52 PM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

Dolphin's menubar situation isn't as dire as it seems, and I don't think it needs a big redesign. Window and tab-related items are in the File menu mostly for historical reasons, same as every other app with a file menu. Not ideal, but convention, traditional, familiarity, yadda yadda yadda.
mostly for historical reasons

It's not excusable. On the other hand, I use File menu nor Control menu very little. If we do not agree, I will keep the situation as is.

Mar 10 2018, 10:28 AM
rominf updated the diff for D10960: Ask for confirmation when Closing Dolphin windows with a terminal panel running a program.
  • Fix show "Show Terminal Panel" button when terminal panel is hidden
Mar 10 2018, 10:12 AM · Dolphin
rominf added inline comments to D11204: Support NTFS hidden files.
Mar 10 2018, 10:00 AM · Frameworks
rominf updated the diff for D11204: Support NTFS hidden files.

Use delete[] for array deletion

Mar 10 2018, 9:52 AM · Frameworks
rominf added a comment to D11204: Support NTFS hidden files.

Shouldn't that rather go into the file KIO slave so it sets the UDS_HIDDEN attribute?

I think you are right, but I don't have an idea what "file KIO slave" means. Can you point me out to appropriate files?

Mar 10 2018, 9:40 AM · Frameworks
rominf updated the diff for D10959: Add action for focusing Terminal Panel.
  • Use focusProxy for Terminal Panel
Mar 10 2018, 9:28 AM · Dolphin
rominf added a comment to D11012: Add Trash (empty, isEmpty, emptinessChanged).

@markg, can you please review it again?

Mar 10 2018, 8:52 AM
rominf updated the summary of D11204: Support NTFS hidden files.
Mar 10 2018, 8:26 AM · Frameworks
rominf added a reviewer for D11204: Support NTFS hidden files: Frameworks.
Mar 10 2018, 8:18 AM · Frameworks
rominf requested review of D11204: Support NTFS hidden files.
Mar 10 2018, 8:17 AM · Frameworks

Mar 9 2018

rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Fix hideEvent
Mar 9 2018, 5:22 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Remove unused #include
Mar 9 2018, 5:16 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Automaticaly load console on installation
Mar 9 2018, 5:06 PM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

Are you going to do a follow-up patch to add the missing items to the menus, @rominf?

To be honest, I'm not interested because I don't use the menu as most of the Dolphin users I guess. I don't use a menu because it's hidden by default, I like control button more and file menu is bad structured and scanty.

OK, then can you add the new Show Original item to the File menu in this patch? Let's not make things even worse in patches where we add something to the context menu.

Maybe we should even add it to the Control menu too, as it's contextual and won't appear there all the time, so it won't amount to much clutter.

No, I don't want to add this action right now because I don't like the situation about actions. They are done completely non-systematically.

Mar 9 2018, 3:53 PM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

Yes, I agree with @rkflx that it would be nice if we can find a way to temporarily show hidden files to reveal the original.

I think that it would be even better if we show only required the hidden file, but not all. It might be a lot of work though.

Mar 9 2018, 9:43 AM
rominf updated the diff for D10990: Add "Show Target" into symlink context menu and file menu.

Fix relative symlink handling

Mar 9 2018, 9:35 AM
rominf updated the diff for D10990: Add "Show Target" into symlink context menu and file menu.
  • Show message when clicked Show Original on broken link
Mar 9 2018, 9:12 AM

Mar 8 2018

rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Replace space with newline in Konsole missing message
  • Fix crash on appstream installation
Mar 8 2018, 8:30 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Hide Install Konsole button if OS doesn't handle appstream
  • Hide close button
Mar 8 2018, 8:16 PM
rominf added a comment to D11118: Show a message if Konsole part is not installed.

Is the UI better now? Note the animation and layout.

Mar 8 2018, 7:59 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Improve UI for Konsole missing message
Mar 8 2018, 7:57 PM
rominf updated the summary of D11118: Show a message if Konsole part is not installed.
Mar 8 2018, 6:41 PM
rominf added a comment to D11118: Show a message if Konsole part is not installed.

Found a bug: If you click the X button to dismiss the message, then close and re-open the terminal panel, it doesn't show up again.

Fixed.

Mar 8 2018, 6:40 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.

Show message that Konsole is not installed even after closing

Mar 8 2018, 6:36 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.
  • Add install Konsole button
Mar 8 2018, 5:21 PM
rominf updated the diff for D10995: Fix some compile warnings.

Use Q_FALLTHROUGH

Mar 8 2018, 4:47 PM
rominf added inline comments to D11118: Show a message if Konsole part is not installed.
Mar 8 2018, 3:54 PM
rominf added a comment to D11135: [WIP] Scale font while zooming.

When I made a positive comment in the bug report, what I had in mind was that the text would very selectively and conditionally become a bit larger when the icon size is huge. Because right now, 10pt font with 256pt icons just looks silly.
Whereas increasing it to 15pt looks a lot more appropriate IMHO.
But I think it would have to be hand-tuned, rather than just implementing a simple linear scaling factor like this patch does.

+1. But we should not forget about user configured font size. I.e. if the user configured to use font size 14, then we should scale it to 21 (but not 15) for 256pt icons.

Mar 8 2018, 3:51 PM
rominf abandoned D11135: [WIP] Scale font while zooming.

OK, @rkflx, you convinced me. Moreover, Nautilus acts the same way (text size is always the same).

Mar 8 2018, 9:26 AM
rominf updated the diff for D10995: Fix some compile warnings.

Remove GCC specific warning ignore code

Mar 8 2018, 9:22 AM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

@ngraham, please review

Mar 8 2018, 9:17 AM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.

Replace QLabel with KMessageWidget

Mar 8 2018, 9:09 AM
rominf added inline comments to D11048: Convert hard coded shortcuts to standard keys.
Mar 8 2018, 8:58 AM
rominf updated the diff for D11048: Convert hard coded shortcuts to standard keys.

Converted to KStandardAction

Mar 8 2018, 8:57 AM

Mar 7 2018

rominf added a comment to D11135: [WIP] Scale font while zooming.

OK, it was RFC, I wanted to know whether I'm doing the right thing or not at all. Sorry for not specifying this in the first place.

Mar 7 2018, 5:13 PM
rominf retitled D11135: [WIP] Scale font while zooming from Scale font while zooming to [WIP] Scale font while zooming.
Mar 7 2018, 5:07 PM
rominf updated the summary of D11135: [WIP] Scale font while zooming.
Mar 7 2018, 4:51 PM
rominf requested review of D11135: [WIP] Scale font while zooming.
Mar 7 2018, 4:47 PM
rominf added inline comments to D11048: Convert hard coded shortcuts to standard keys.
Mar 7 2018, 2:15 PM
rominf added inline comments to D11118: Show a message if Konsole part is not installed.
Mar 7 2018, 2:13 PM
rominf updated the diff for D11118: Show a message if Konsole part is not installed.

Hide a message when Konsole part is installed during the Dolphin session.

Mar 7 2018, 12:44 PM
rominf updated the summary of D11118: Show a message if Konsole part is not installed.
Mar 7 2018, 11:38 AM
rominf requested review of D11118: Show a message if Konsole part is not installed.
Mar 7 2018, 11:36 AM
rominf updated the diff for D10960: Ask for confirmation when Closing Dolphin windows with a terminal panel running a program.
  • Show "Show Terminal Panel" button only if terminal panel is hidden
Mar 7 2018, 11:03 AM · Dolphin
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

I also find a bug (?) in KIO::highlightInFileManager().

Mar 7 2018, 10:06 AM
rominf updated the diff for D10990: Add "Show Target" into symlink context menu and file menu.
  • Change icon for Show Original
Mar 7 2018, 9:59 AM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

So what do you think about adding Show Original into the File menu when a shortcut is selected?

I'm positive about this. But I think this should be done after unifying file menu and context menu (Compress, Actions, etc. is not shown in the file menu).

Why not do it now? We're already touching this code, might as well do the right thing here to set a good example. If we don't, we're just making that problem worse and giving ourselves more work later, no?

I don't understand the logic supporting main menus: Rename, Move to Trash, Delete items are located in File menu, while Cut, Copy, Paste are located in Edit menu; New Tab is in the File menu, while Recently closed tabs is in the Go menu. I think this should be refactored. On the other hand, menu is not shown be default. Is it worth to have it, especially in this state?

Mar 7 2018, 9:57 AM
rominf updated the diff for D10990: Add "Show Target" into symlink context menu and file menu.
  • Handle relative symlinks correctly in Show Original
Mar 7 2018, 9:49 AM
rominf committed R166:941c1a517be8: Fix build (authored by rominf).
Fix build
Mar 7 2018, 9:15 AM
rominf closed D11110: Fix build.
Mar 7 2018, 9:15 AM
rominf updated the diff for D11110: Fix build.

Remove line

Mar 7 2018, 9:12 AM
rominf requested review of D11110: Fix build.
Mar 7 2018, 8:56 AM
rominf added a comment to R166:3b69ac3a7aff: Optimize #include.

This is strange. It works on my machine:

build> git fetch origin
build> git co origin/master
HEAD is now at 3b69ac3 Optimize #include
build> git rev-parse HEAD
3b69ac3a7aff4dedd4a2578174f5465f02fcc02b
build> make clean; make -s -j5 >/dev/null
/data/romas/projects/spectacle/src/Main.cpp: In function ‘int main(int, char**)’:
/data/romas/projects/spectacle/src/Main.cpp:127:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         }
         ^
/data/romas/projects/spectacle/src/Main.cpp:128:5: note: here
     case SpectacleCore::DBusMode:
     ^~~~
/data/romas/projects/spectacle/src/SpectacleCore.cpp: In member function ‘void SpectacleCore::screenshotFailed()’:
/data/romas/projects/spectacle/src/SpectacleCore.cpp:210:30: warning: this statement may fall through [-Wimplicit-fallthrough=]
         showErrorMessage(i18n("Screenshot capture canceled or failed"));
                          ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/data/romas/projects/spectacle/src/SpectacleCore.cpp:211:5: note: here
     case DBusMode:
     ^~~~
build>
Mar 7 2018, 8:39 AM · Spectacle
rominf updated the diff for D10832: Replace all enum to enum class.

Fix compilation error

Mar 7 2018, 7:39 AM · Dolphin
rominf committed R166:3b69ac3a7aff: Optimize #include (authored by rominf).
Optimize #include
Mar 7 2018, 6:56 AM · Spectacle
rominf closed D11084: Optimize #include.
Mar 7 2018, 6:55 AM
rominf updated the diff for D11084: Optimize #include.

Rebase on master

Mar 7 2018, 6:55 AM

Mar 6 2018

rominf updated the diff for D11084: Optimize #include.

Revert removing "Config.h"

Mar 6 2018, 7:04 PM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

So what do you think about adding Show Original into the File menu when a shortcut is selected?

I'm positive about this. But I think this should be done after unifying file menu and context menu (Compress, Actions, etc. is not shown in the file menu).

Mar 6 2018, 6:56 PM
rominf updated the diff for D10832: Replace all enum to enum class.

Remove almost all static_cast (only 5 is left!)

Mar 6 2018, 6:52 PM · Dolphin
rominf committed R166:d47ab66eb9a2: Add optional window title to filename templates (authored by rominf).
Add optional window title to filename templates
Mar 6 2018, 4:44 PM
rominf closed D10709: Add optional window title to filename templates.
Mar 6 2018, 4:44 PM · Spectacle
rominf closed T8036: Use window title to suggest file names as Resolved by committing R166:d47ab66eb9a2: Add optional window title to filename templates.
Mar 6 2018, 4:44 PM · Spectacle
rominf updated the diff for D10709: Add optional window title to filename templates.

Revert unrelated changes

Mar 6 2018, 4:40 PM · Spectacle
rominf updated the diff for D10709: Add optional window title to filename templates.

Fit filename format help into small window

Mar 6 2018, 4:28 PM · Spectacle
rominf added inline comments to D10709: Add optional window title to filename templates.
Mar 6 2018, 4:15 PM · Spectacle
rominf updated the diff for D10990: Add "Show Target" into symlink context menu and file menu.

Rebase on master

Mar 6 2018, 4:08 PM
rominf added a comment to D10990: Add "Show Target" into symlink context menu and file menu.

The patch no longer applies for me on master

Created and checked out branch arcpatch-D10990.


    This diff is against commit 48b58f830a585b773435c9af5ee2fe8f0c7c641d, but
    the commit is nowhere in the working copy. Try to apply it against the
    current working copy state? (436ad965e93409e2225b3d0451e997fb655b3e87)
    [Y/n] y

Checking patch src/dolphinmainwindow.cpp...
error: while searching for:
#include <KFilePlacesModel>
#include <KHelpMenu>
#include <KIO/JobUiDelegate>
#include <KJobWidgets>
#include <KLocalizedString>
#include <KMessageBox>

error: patch failed: src/dolphinmainwindow.cpp:51
Hunk #2 succeeded at 1213 (offset -2 lines).
Checking patch src/dolphincontextmenu.cpp...
Hunk #1 succeeded at 195 (offset 3 lines).
Hunk #2 succeeded at 312 (offset 3 lines).
Applying patch src/dolphinmainwindow.cpp with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applied patch src/dolphincontextmenu.cpp cleanly.

 Patch Failed! 
Usage Exception: Unable to apply patch!

It works fine for me:

$ arc patch  D10990
Created and checked out branch arcpatch-D10990.     
Checking patch src/dolphinmainwindow.cpp...   
Checking patch src/dolphincontextmenu.cpp...                                  
Applied patch src/dolphinmainwindow.cpp cleanly.      
Applied patch src/dolphincontextmenu.cpp cleanly.                                                            
 OKAY  Successfully committed patch.
Mar 6 2018, 4:00 PM
rominf updated the diff for D11048: Convert hard coded shortcuts to standard keys.
  • Replace standard QKeySequence with KStandardShortcut
Mar 6 2018, 3:51 PM
rominf updated the diff for D10709: Add optional window title to filename templates.

Fix compilation

Mar 6 2018, 11:13 AM · Spectacle
rominf added inline comments to D10709: Add optional window title to filename templates.
Mar 6 2018, 11:07 AM · Spectacle
rominf updated the diff for D10709: Add optional window title to filename templates.

Truncate long filenames done right

Mar 6 2018, 11:03 AM · Spectacle
rominf requested review of D11084: Optimize #include.
Mar 6 2018, 8:01 AM
rominf added inline comments to D11048: Convert hard coded shortcuts to standard keys.
Mar 6 2018, 7:03 AM

Mar 5 2018

rominf added inline comments to D11048: Convert hard coded shortcuts to standard keys.
Mar 5 2018, 7:51 PM
rominf added inline comments to D11048: Convert hard coded shortcuts to standard keys.
Mar 5 2018, 5:39 PM
rominf updated the diff for D11012: Add Trash (empty, isEmpty, emptinessChanged).
  • Cleanup
Mar 5 2018, 5:30 PM
rominf requested review of D11048: Convert hard coded shortcuts to standard keys.
Mar 5 2018, 10:11 AM
rominf added a comment to D10832: Replace all enum to enum class.

What about this diff? Will this be accepted if I revert all enums that require static_cast?

Mar 5 2018, 8:10 AM · Dolphin
rominf updated the diff for D10990: Add "Show Target" into symlink context menu and file menu.

Rebase on master

Mar 5 2018, 8:06 AM
rominf updated the diff for D10959: Add action for focusing Terminal Panel.

Rebase on master

Mar 5 2018, 8:06 AM · Dolphin
rominf added inline comments to D10995: Fix some compile warnings.
Mar 5 2018, 8:01 AM
rominf updated the diff for D10804: Show "Empty Trash" button inside trash directory.

More fixes

Mar 5 2018, 7:57 AM · Dolphin