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.
Maciej Mrozowski [Sun, 20 Dec 2009 21:57:43 +0000 (21:57 +0000)]
Better fix for compilation without Nepomuk - like Sebastian noted SDO is being searched for automatically. It was just sufficient to wrap soprano_add_ontology with Nepomuk_FOUND in this case.
Peter Penz [Sat, 19 Dec 2009 17:38:38 +0000 (17:38 +0000)]
Don't rely on that the same proxy model is used for all views. Trigger a refresh of the directory (done from the cache) and remember the selection. This fixes also the issue that the selection got lost when previews have been enabled or when the column view was used.
Peter Penz [Fri, 18 Dec 2009 17:01:40 +0000 (17:01 +0000)]
Don't show the size information, if only one directory is shown. This issue only occured in the context of tooltips, as updateRowsVisibility() is invoked after setItems()...
Reimplement visualRegionForSelection in DolpinDetailsView.
Fixes the problem that not the entire area affected by changing the
selection gets updated. QTreeView::visualRegionForSelection assumes
implicitly that the visualRects of all items have the same width,
which is not the case here.
Peter Penz [Sat, 12 Dec 2009 22:44:05 +0000 (22:44 +0000)]
Allow to disable version control plugins. It's too late already for providing a UI (string freeze...) and it should not be necessary to disable a plugin, but in the worst case (e. g. plugin crashes under certain circumstances) it is good to have a non-GUI fallback.
Peter Penz [Sat, 12 Dec 2009 14:16:02 +0000 (14:16 +0000)]
I guess most developers use the Details View with very small icons (16 x 16) for viewing their versioned code (at least I do ;-)). In this case the version control emblems are very small and it is easy to miss that there are locally changed files or that an update is required (Nuno and I tried different sizes, but for 16 x 16 icons there is really less room for variants).
So the text color gets tinted a little bit now to notice the difference...