Peter Penz [Tue, 5 Oct 2010 16:30:03 +0000 (16:30 +0000)]
- Integrate the patch from Matthias Fuchs from http://reviewboard.kde.org/r/5496 to allow having leading zeros when renaming files: E.g. Using the name "A ###.jpg" results in the filenames "A 001.jpg", "A 002.jpg"... The patch could be simplified a little bit by guaranting only one connective sequence of #'s.
- Move the renaming code into the RenameDialog
David Faure [Mon, 4 Oct 2010 22:55:09 +0000 (22:55 +0000)]
Make executable the Type=Application .desktop files we install,
so that they can be used even from a KDE running in another prefix (http://markmail.org/message/4p3krovtnzwx35zd)
Use KStringHandler::preProcessWrap() when calculating the width of a
file name in DolphinFileItemDelegate. This makes sure that zero width
spaces (which prevent kerning) are added at the same places where
KFileItemDelegate adds them when actually rendering the name. Fixes
the problem that file names are elided and partly replaced by "..."
even though there is enough space for the full name.
Peter Penz [Wed, 22 Sep 2010 20:24:49 +0000 (20:24 +0000)]
If the context-menu is opened for a file shown as search result, offer the actions "Open Parent Folder in New Window" and "Open Parent Folder in New Tab"
Peter Penz [Wed, 22 Sep 2010 19:12:09 +0000 (19:12 +0000)]
Add a small invisible margin to the selection toggle in case the item-height is nearly equal to the toggle-height. This prevents an accidental execution of application in the details-view with the default icon-size.
Peter Penz [Wed, 22 Sep 2010 18:10:45 +0000 (18:10 +0000)]
If 'remember view-properties' is selected, store the .directory files only if the directory is part of the home-path. Otherwise use the mirror in ~/.kde/share/apps/dolphin/view_properties to store the .directory file. This prevents conflicting view-properties if several users have write-access to a common directory.
Peter Penz [Wed, 22 Sep 2010 17:28:26 +0000 (17:28 +0000)]
Fix issue, that the details-view has no size and date column in the following case:
- Use icons-view as default view
- Create a new directory
- Change view-properties of directory to show e.g. the owner
- Switch to the details-view
Peter Penz [Tue, 21 Sep 2010 19:03:04 +0000 (19:03 +0000)]
It was a bad idea to store the enabled additional-information as bit-values: With the current setup only up to 8 additional informations are possible. This restriction is bypassed now:
- Backward compatibility for old .directorry files is provided
- A version-information has been added for possible future changes
- As "side-effect" it also allows to have a details-view with only one column (#238140)
Peter Penz [Tue, 21 Sep 2010 16:18:20 +0000 (16:18 +0000)]
Use K_GLOBAL_STATIC for the previously committed workaround to bypass a X11-issue in combination with KModifierKeyInfo. Thanks to David Faure for the hint.
Peter Penz [Mon, 20 Sep 2010 19:52:40 +0000 (19:52 +0000)]
Workaround for a X11-issue in combination with KModifierKeyInfo: When constructing KModifierKeyInfo in the constructor of the context menu, the user interface might freeze. Thanks to Mark Gaiser for clarifying this with the KModifierKeyInfo maintainer and testing the workaround!
Peter Penz [Fri, 17 Sep 2010 22:23:11 +0000 (22:23 +0000)]
- Fix issue, that the 'Move To Trash'-action or 'Delete'-action from the File menu get invisible
- Use KFileItemListProperties to check whether all selected URLs are local
- Coding style cleanups
Mark Gaiser [Fri, 17 Sep 2010 19:47:01 +0000 (19:47 +0000)]
When you view the context menu of a file/folder and shift is pressed (and the delete action line is not enabled in the settings) then the
"Move to trash (del)" action gets replaced by the "Delete (shift del)" action and replaced back to "Move to trash (del)" when you release
shift.
Peter Penz [Fri, 17 Sep 2010 14:42:57 +0000 (14:42 +0000)]
Show location in window title for non-local URLs. Thanks to Mark Gaiser for the patch and David Faure for the review on http://reviewboard.kde.org/r/5178.
Peter Penz [Sat, 4 Sep 2010 15:31:01 +0000 (15:31 +0000)]
Never ignore the view-properties if "Use common view properties for all folders" has been set, otherwise the view-properties switch when searching files won't work. Originally this flag has been introduced when working with a split view, however I consider the behavior to always respect the view-properties when changing a folder more consistent anyway.
Peter Penz [Sat, 4 Sep 2010 15:14:53 +0000 (15:14 +0000)]
When searching for files, as default view the details view is used showing the path of the search result. The view still can be adjusted by the user of course.
David Faure [Mon, 30 Aug 2010 08:56:19 +0000 (08:56 +0000)]
Move dolphin's statusbar message-label (the one with support for errors and a close button) to libkonq
so that it can be used in konqueror as well. Fix its sizeHint. Reviewed by Peter Penz.
Peter Penz [Fri, 27 Aug 2010 05:26:27 +0000 (05:26 +0000)]
Context-menu cleanups:
- KNewMenu has been deprecated by KNewFileMenu. Reflect this in the names of related Dolphin classes.
- Provide context-sensitive actions also when a context-menu is opened on the viewport
Peter Penz [Thu, 19 Aug 2010 17:30:36 +0000 (17:30 +0000)]
Set the toggle invisible, if a mouse button has been pressed outside the toggle boundaries. This e.g. assures, that the toggle gets invisible during dragging items.
Peter Penz [Thu, 19 Aug 2010 15:01:52 +0000 (15:01 +0000)]
Fix crash in column view because of a dangling pointer to a selection model. Thanks a lot to Frank Reininghaus for finding a way how to reproduce the issue and analyzing the root cause. Keeping the selection model as part of the DolphinView is not required anymore at all, as the restoring of selected items is done by m_selectedItems in the meantime.
Peter Penz [Mon, 2 Aug 2010 06:39:36 +0000 (06:39 +0000)]
Remove the workaround to show the tooltip temporary on a hidden position, to have a valid layout. Based on Maciej Mrozowski's patch this is now done by postponing the showing of the tooltip until the meta-data and the preview has been received.
Re-revert hodge-podge commits by `markuss` with bogus or without commit messages.
(White space changes, breaking of copyright headers,
fudging of dates in copyright notices, re-assignments
of copyrights to fictitious entities, and more.)
Alex Merry [Mon, 26 Jul 2010 13:07:14 +0000 (13:07 +0000)]
Revert r1154600: Modified (some) 'About' windows to carry legally enforceable Copyright messages. Also looks better than '(c)'. ;-)
Also fixed a few typos where I noticed them.
Please don't do huge sweeping changes of KAboutData things without talking to the authors first. I'm sure they don't appreciate having their names removed from the about dialogs.
Note that
(a) the unicode copyright character is no more enforcible than (c)
(b) while "the KDE developers" is not a legal entity, neither is "Dolphin authors"
(c) it was decided a while back that we don't care about whether the copyrights in about dialogs are meaningful, since they can't hope to encompass everyone who holds copyrights on the application code or any of the libraries it is linked to; the copyright headers in the source files are the important ones.
I realise that I'm reverting more than necessary, but that's just a reason for breaking up commits :-)
Modified (some) 'About' windows to carry legally enforceable Copyright messages. Also looks better than '(c)'. ;-)
Also fixed a few typos where I noticed them.
Peter Penz [Fri, 23 Jul 2010 12:26:57 +0000 (12:26 +0000)]
Fix visual artefacts for tooltips, if compositing has been disabled. Thanks to Maciej Mrozowski for analyzing the root cause! Also a minor issue is fixed with the upper/left position: It may never overlap with the icon area.
Sebastian Trueg [Thu, 22 Jul 2010 08:26:07 +0000 (08:26 +0000)]
Properly KIO::stat instead of simply using the KFileItem constructor when
showing metadata for the currently selected folder. This way we can even get rid of the
special handling of nepomuksearch:/ URLs since the KIO slave provides a nice name and
all you need to show to the user.
Even nicer: When clicking an entry in the metadata view the resulting query will be related
to the one clicked resource. This resource will then be represented by the query folder.
So all in all this patch makes Dolphin more generic while additionally activating a new feature.
Peter Penz [Mon, 12 Jul 2010 14:42:48 +0000 (14:42 +0000)]
Based on the recent size hint fixes in KFileMetaDataWidget, the handling of the tooltip size can be simplified. This fixes a possible wrong initial size of the tooltip and a flickering because of a relayout.
Peter Penz [Thu, 8 Jul 2010 19:46:56 +0000 (19:46 +0000)]
Forward port of SVN commit 1147596: Skip redirection URLs when going back or forward in history (otherwise going
back won't be possible for the user, as a redirection will occur again).
Peter Penz [Sat, 12 Jun 2010 13:05:13 +0000 (13:05 +0000)]
Don't do a pre-process wrapping of the Information Panel headline, if it is a rich text. This fixes the issue, that selecting multiple files leads to an output like "<html>9 items selected</html>".