Peter Penz [Mon, 22 Mar 2010 18:48:12 +0000 (18:48 +0000)]
Use the default keyboard shortcuts for next-tab/previous-tab as primary key, but use the commonly used shortcuts Ctrl+Tab/Ctrl+Shift+Tab as secondary keys.
Of course it is still possible that the user defines custom shortcuts.
Get back names, and use "using" keyword to keep GCC silent on "method foo on base class hidden y method foo on derived class". Thanks to André for pointing out this trick.
Peter Penz [Sun, 14 Mar 2010 16:21:35 +0000 (16:21 +0000)]
Fix issue that the current terminal line does not get cleared before sending a cd command.
The terminal interface does not provide an API for this, so as workaround backspaces are send. Not nice, but as the issue can lead to data loss, this solution is better than having nothing.
Peter Penz [Tue, 9 Mar 2010 07:13:51 +0000 (07:13 +0000)]
Port patch 1098976 for Konqueror by David Faure to Dolphin: When the user clicks on a Type=Link desktop files that point to a directory, let's open that
directory in the current view, rather than starting a new Konqueror.
As requested by LukasLT for http://forum.kde.org/viewtopic.php?f=14&t=66660
Peter Penz [Thu, 4 Mar 2010 16:24:20 +0000 (16:24 +0000)]
Rename NfoTranslator to KNfoTranslator, so that KMetaDataWidget can be moved to kdelibs for KDE SC 4.5 (some interfaces of KMetaDataWidget need to be cleaned up first).
KNfoTranslator is marked as private class, as it is not clear yet whether it should be used by other classes like KFileMetaInfo.
Peter Penz [Fri, 26 Feb 2010 22:03:32 +0000 (22:03 +0000)]
Meta data configuration cleanups:
- Use RDF labels internally.
- Provide better default settings, which meta data are hidden.
- Allow to configure which meta data is shown also if Nepomuk is turned off.
Peter Penz [Fri, 26 Feb 2010 14:42:47 +0000 (14:42 +0000)]
The number of fixed meta-info items may vary dependent on whether Nepomuk is enabled or not. Avoid the nasty hack to hardcode the value within the slotLoadingFinished() method.
Peter Penz [Thu, 25 Feb 2010 20:54:02 +0000 (20:54 +0000)]
Request the activation of the view, even if the column is marked as active already: The activation state of a column is independent from from the activation state of the view.
This fixes the regression that items for inactive views containing columns get triggered.
Peter Penz [Thu, 25 Feb 2010 19:36:36 +0000 (19:36 +0000)]
Forward port of SVN commit 1096089: Fix regression that columns stay empty when switching between URLs that differ by more than one sub directory. Thanks to Frank Reininghaus for the analysis.
Remove all code that is related to DolphinController's
requestUrlChange signal. This signal was removed in r1080351, so the
code isn't needed any more.
Peter Penz [Sun, 21 Feb 2010 13:29:32 +0000 (13:29 +0000)]
Forward port of SVN commit 1093803: Assure that the changed selection model is reconnected when changing columns. This fixes the regression that some operations have been disabled on sub columns. Thanks to Frank Reininghaus for the analyses.
Make sure that DolphinView's m_expanderActive member is handled
correctly, and emit DolphinDetailsViewExpander's completed() signal
only if the folder loading is really finished. This fixes possible
problems when restoring the current item and scroll position of the
view if these require a preceding folder expansion.
David Faure [Mon, 8 Feb 2010 14:27:58 +0000 (14:27 +0000)]
Separate the parent object (for the knewfilemenu instance) and the parent widget
(for dialogs it might pop up) so that we can use a non-widget parent.
BUG: 218743
Peter Penz [Fri, 5 Feb 2010 13:30:08 +0000 (13:30 +0000)]
Be more clear that selecting the checkbox means, that the shown view properties should be used as default (that only "new folders" are affected, is incorrect).
David Faure [Wed, 27 Jan 2010 23:55:55 +0000 (23:55 +0000)]
Implement the --select option in konqueror again, using Peter's nice work in Dolphin.
While at it, I reworked the handling of command-line options in main completely,
to factorize code and make --select do the right thing even in case of multiple args
(wasn't supported in kde3).
Reorganise some code in DolphinView and DolphinViewContainer. This
makes it possible to restore the expanded folders in the Details View
when navigating in history (based on r1056438 and r1079843).
Also remove DolphinView::activateItem(const KUrl&) and DolphinView's
m_loadingDirectory member (they are not needed any more).
David Faure [Tue, 26 Jan 2010 12:04:56 +0000 (12:04 +0000)]
Deprecated KNewMenu and make it derive from KNewFileMenu (BIC, but SC; the only way to avoid duplicating code until kde5)
Port all of kdebase' use of KNewMenu to KNewFileMenu.
Also port from KonqNameAndUrlInputDialog to KNameAndUrlInputDialog,
and from KonqMenuActions to KFileItemActions in dolphincontextmenu.cpp
Sebastian Trueg [Tue, 26 Jan 2010 09:25:22 +0000 (09:25 +0000)]
* Do not hide the parent folder since we can now browse into it by simply clicking the link.
* Fixed index bug which caused the last information item to be deleted.
* Why make merge-sort more complicated than it is? ;)
Peter Penz [Tue, 26 Jan 2010 08:27:42 +0000 (08:27 +0000)]
* Assure that the URL navigator is synchronized with the active column.
* Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view.
Laurent Montel [Mon, 25 Jan 2010 13:14:39 +0000 (13:14 +0000)]
Implement todo (create a dialog box when ok is enable/disable when text is empty or not)
(and fix restore size, in old version we didn't save size before to delete element)
Peter Penz [Mon, 25 Jan 2010 07:58:24 +0000 (07:58 +0000)]
* Adjust code to use the improved KUrlNavigator API.
* Open a new tab if the URL navigator requests it.
* Get rid of a cyclic dependency between DolphinViewContainer and DolphinMainWindow.
Peter Penz [Fri, 22 Jan 2010 14:05:09 +0000 (14:05 +0000)]
Fixed crash, if the categorizied view sorted by date is used. Use case: modified date = 2010-01-01 (= week number 53), current date = 2010-01-22 (= week number 3).
Peter Penz [Mon, 11 Jan 2010 13:29:27 +0000 (13:29 +0000)]
Fixed issue in details view, that "sometimes" the rubberband selection only selects one item after an item has been deleted.
It took me nearly 30 minutes to find out how to reproduce this issue 100 % reliable:
- a confirm dialog must be shown (thanks a lot to Dario for the hint!)
- the most important part: the keys (e. g. Shift + Del) must be pressed long enough until the confirm dialog grabs the focus from the details view...
With respect to the action done on hitting the "Return/Enter" key:
* Fix the behavior for multiple-item opening, when they have directories among them.
* Open multiple directories in background tabs.
Peter Penz [Mon, 11 Jan 2010 11:35:20 +0000 (11:35 +0000)]
Don't offer the "Get Service Menu..." action as public action that can be added to the toolbar (the action should only be available in the Dolphin preferences).
Peter Penz [Wed, 6 Jan 2010 22:11:28 +0000 (22:11 +0000)]
Send the selectionChanged() signal without delay in case the selection has been changed from 0 to n or from n to 0. This ensure that the edit-actions are updated without delay.
Peter Penz [Wed, 6 Jan 2010 19:13:07 +0000 (19:13 +0000)]
If an operation has been completed (e. g. a rename operation), the default status bar text must be updated too. Otherwise the statusbar would show a cached version after the "operation completed" message is not shown anymore.
Peter Penz [Wed, 6 Jan 2010 17:01:38 +0000 (17:01 +0000)]
When changing the selection, the currently shown file item should be reset. This fixes the issue that changing the selection with the keyboard might not have an effect if an item is hovered with the mouse.
Peter Penz [Wed, 6 Jan 2010 16:56:01 +0000 (16:56 +0000)]
Fixed issue that Ctrl+A sometimes did not result in an update of the Information Panel. As a sideeffect some code simplification has been done, which was possible because of the column view refactorization some time ago.
Peter Penz [Tue, 5 Jan 2010 17:19:51 +0000 (17:19 +0000)]
- Details view and column view: Just use the height as indicator for the scrolling steps when using the wheel. Don't decrease the steps for larger icon sizes.
- Icons view: Use slightly larger scrolling steps.