]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
14 years agoDolphinContextMenu: Show "Show menubar" entry if necessary
Peter Penz [Sun, 27 Mar 2011 17:27:27 +0000 (19:27 +0200)]
DolphinContextMenu: Show "Show menubar" entry if necessary

If the user has hidden the menubar and the toolbar there is no way to
get back the menu (at least not without knowing the Ctrl+M shortcut).
Show an entry in the context-menu to bring back the menubar.

14 years agoUpdate the size of the menu toolbar-item
Peter Penz [Sun, 27 Mar 2011 17:07:14 +0000 (19:07 +0200)]
Update the size of the menu toolbar-item

If the icon size of the toolbar has been changed, the manually added
menu toolbar-item must be updated.

14 years agoMinor optimizations for the menu toolbar-item
Peter Penz [Sun, 27 Mar 2011 16:45:17 +0000 (18:45 +0200)]
Minor optimizations for the menu toolbar-item

14 years agoDon't use a submenu for the settings
Peter Penz [Sun, 27 Mar 2011 15:41:30 +0000 (17:41 +0200)]
Don't use a submenu for the settings

If the toolbar-menu is used just put the settings-related entries
directly to the root instead of collecting them in a sub-menu.

14 years agoProvide toolbar-menu when the menubar is hidden
Peter Penz [Sat, 26 Mar 2011 22:22:21 +0000 (23:22 +0100)]
Provide toolbar-menu when the menubar is hidden

Use a similar default UI like in Rekonq and other browsers: Hide the
menubar and add access to all actions by a button in the toolbar.
Of course it is still possible to show the menubar so that the same UI
is given like before.

14 years agoShow places selector of URL navigator only when required
Peter Penz [Sat, 26 Mar 2011 15:37:13 +0000 (16:37 +0100)]
Show places selector of URL navigator only when required

The places selector of the URL navigator only needs to get shown
if the Places panel is invisible.

14 years agoMake cursor keys always trigger a statusbar update
Sebastian Dörner [Wed, 23 Mar 2011 23:45:14 +0000 (00:45 +0100)]
Make cursor keys always trigger a statusbar update

When the selection is changed using the cursor keys, the statusbar
should be updated. Until now, this didn't actually happen directly after
an operation ending in a OperationCompletedMessage, because the
OperationCompletedMessage was protected.

This patch changes the behaviour to only protect ErrorMessages in the
ViewContainer. When an OperationCompletedMessage was issued very
recently, it keeps being protected by DolphinStatusbar itself.

Statusbar updates in the ViewContainer are only triggered by
a) user actions (move keyboard focus, enter something in the filter bar)
b) finished filed jobs

In case a), the update is desired, also overriding
OperationCompletedMessages.
In case b), the OperationCompletedMessage issued by the file command is
issues so shortly before the call to updateStatusBar, that the
DolphinStatusBar skips the message anyway (see
DolphinStatusBar::setMessage).

BUG: 193847
FIXED-IN: 4.7.0
REVIEW: 100939

14 years agoTooltip improvements
Peter Penz [Tue, 22 Mar 2011 17:43:12 +0000 (18:43 +0100)]
Tooltip improvements

- Use the default style for drawing the tooltip background
- Get rid of the workaround to keep only one KFileMetaDataWidget instance. This is not required anymore as internally in KFileMetaDataWidget a process is used to get the metadata instead of a thread.

14 years agoMake it link
Kevin Ottens [Mon, 21 Mar 2011 17:11:51 +0000 (18:11 +0100)]
Make it link

14 years agoDetails view optimization
Peter Penz [Sat, 12 Mar 2011 17:45:59 +0000 (18:45 +0100)]
Details view optimization

Constructing a KColorScheme object is very expensive because of a number
of tint computations. When scrolling a big list more than 30 % of the
time was spent here. Instead, we can precompute and store the inactive
text color. (see https://git.reviewboard.kde.org/r/100826/)

Thanks to Samuel Rødal for the patch!

14 years agoFix enabled/disabled issue for the Search Panel
Peter Penz [Thu, 10 Mar 2011 22:48:43 +0000 (23:48 +0100)]
Fix enabled/disabled issue for the Search Panel

14 years agoHide search-mode buttons in the read-only mode
Peter Penz [Thu, 10 Mar 2011 22:26:16 +0000 (23:26 +0100)]
Hide search-mode buttons in the read-only mode

When a searching has been triggered externally (e.g. by clicking on a tag) the search-mode settings like "From here"... are ignored and should not be shown at all. The current patch is only a quick workaround until a clean layout will be provided for this case.

14 years agoAdd search modes for the Search Panel
Peter Penz [Thu, 10 Mar 2011 22:17:55 +0000 (23:17 +0100)]
Add search modes for the Search Panel

The search panel must get a hint whether clicking on the facets should result in searching everywhere or from the current folder. It is not sufficient to check the search-settings of the "Find:"-box, as when the "Find:"-box is invisible there is no hint for the user what kind of searching is done and the setting must be ignored.

14 years agoFix some search issues
Peter Penz [Thu, 10 Mar 2011 18:55:00 +0000 (19:55 +0100)]
Fix some search issues

- Always merge the query from the "Find:"-field with the current facet-query. This assures that the facet-query never gets overwritten if the user changes the "Find:"-field.
- Always trigger a searching if the text of the "Find:"-field has been cleared.

Still a lot of usability issues are left, but this is at least a first step...

14 years agoRemove kDebug() output
Peter Penz [Wed, 9 Mar 2011 20:16:39 +0000 (21:16 +0100)]
Remove kDebug() output

14 years agoAdd (renamed) files searchpanel*
Peter Penz [Wed, 9 Mar 2011 19:58:40 +0000 (20:58 +0100)]
Add (renamed) files searchpanel*

Thanks to Sebastian Dörner for the notification.

14 years agoRename the "Filter Panel" to "Search Panel"
Peter Penz [Wed, 9 Mar 2011 18:18:25 +0000 (19:18 +0100)]
Rename the "Filter Panel" to "Search Panel"

Bug reports indicate that users are confused by the term "filter" for this.

14 years agoPrevent unnecessary reloading of KDirLister on startup
Peter Penz [Tue, 8 Mar 2011 21:25:53 +0000 (22:25 +0100)]
Prevent unnecessary reloading of KDirLister on startup

When Dolphin is started with a directory as argument unnecessary reload operations of KDirListers are done. The patch improves this by just letting the DolphinView internally do a loading as soon as it gets visible (and without reloading). Also in case if only one directory is passed as argument the current tab gets reused instead of creating new tabs and removing the current tab.

Thanks a lot to David Faure for pointing out this unefficient handling.

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 4 Mar 2011 07:40:53 +0000 (08:40 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoAdjust text color to new emblem for unstaged files
Sebastian Dörner [Thu, 3 Mar 2011 19:19:29 +0000 (20:19 +0100)]
Adjust text color to new emblem for unstaged files

The new emblem is green, not red, which should be reflected by the text
color. Now, all files that will be part of the next commit
(LocallyModifiedVersion and AddedVersion) are green and unstaged files
darkGreen.

14 years agoBetter servicemenu(de)installation
Jonathan Schmidt-Dominé [Wed, 2 Mar 2011 18:39:45 +0000 (19:39 +0100)]
Better servicemenu(de)installation

14 years agoFix issue that wrong directory is shown
Peter Penz [Mon, 28 Feb 2011 21:04:00 +0000 (22:04 +0100)]
Fix issue that wrong directory is shown

Commit 680009b522b2c9eda03201ac02dc18994b5a8bd0 resulted in a regression when switching from a view in the column-mode to a view in the icon- or details-mode: The wrong content has been shown. This patch reverts commit 680009b522b2c9eda03201ac02dc18994b5a8bd0 and solves the performance-issue in combination with previews by triggering the preview-generation in a queued way.

14 years agoConsistently use binary operators to connect QFlags
Sebastian Dörner [Sun, 27 Feb 2011 22:06:14 +0000 (23:06 +0100)]
Consistently use binary operators to connect QFlags

14 years agoAllow to configure thumbnail-plugins
Peter Penz [Fri, 25 Feb 2011 19:39:18 +0000 (20:39 +0100)]
Allow to configure thumbnail-plugins

Adjust the preview-settings to allow users to configure thumbnail-plugins. For consistency also the service-settings have been adjusted to use the ServiceModel and ServiceItemDelegate.

14 years agoUse the new KIO::PreviewJob API
Peter Penz [Sat, 19 Feb 2011 17:47:48 +0000 (18:47 +0100)]
Use the new KIO::PreviewJob API

This makes it unnecessary to manually apply the plugins. See https://git.reviewboard.kde.org/r/100578/ for more details.

14 years agoImprove performance when turning on the preview mode
Peter Penz [Sun, 13 Feb 2011 12:19:12 +0000 (13:19 +0100)]
Improve performance when turning on the preview mode

If a change from a directory with disabled previews is done to a directory with enabled previews, also previews are generated for the previous directory as the preview-generator still contains the not updated directory lister. Because of this it is important to apply the view-properties after the directory-lister has been updated.

14 years agoOpen folder in a new tab when a middle-click is done in the column-view
Peter Penz [Sat, 12 Feb 2011 17:22:05 +0000 (18:22 +0100)]
Open folder in a new tab when a middle-click is done in the column-view

CCBUG: 265859

14 years agoReset progress of the statusbar when the stop-button has been pressed
Peter Penz [Sat, 12 Feb 2011 16:46:24 +0000 (17:46 +0100)]
Reset progress of the statusbar when the stop-button has been pressed

14 years agoDolphinContextMenu: cleanup includes
Peter Penz [Fri, 11 Feb 2011 18:33:29 +0000 (19:33 +0100)]
DolphinContextMenu: cleanup includes

14 years agorevert ed4f9d3e11e66dd5ef136c3fac874ac5f53ec91a
Christoph Thielecke [Thu, 10 Feb 2011 09:59:35 +0000 (10:59 +0100)]
revert ed4f9d3e11e66dd5ef136c3fac874ac5f53ec91a

14 years agocompile fix: includes does only exist with old names, please fix kde headers too
Christoph Thielecke [Thu, 10 Feb 2011 07:58:24 +0000 (08:58 +0100)]
compile fix: includes does only exist with old names, please fix kde headers too

14 years agoAssure that RETURN emits itemTriggered() for one file
Peter Penz [Wed, 9 Feb 2011 21:05:38 +0000 (22:05 +0100)]
Assure that RETURN emits itemTriggered() for one file

If only one file is selected, pressing RETURN should behave similar like triggering the item with the mouse. For this the signal itemTriggered() must be emitted.

CCBUG: 250475

14 years agoFix regression that creating a sub-folder is not possible
Peter Penz [Wed, 9 Feb 2011 20:15:55 +0000 (21:15 +0100)]
Fix regression that creating a sub-folder is not possible

CCBUG: 265714

14 years agoCoding style update for pointer comparison
Peter Penz [Wed, 9 Feb 2011 18:21:58 +0000 (19:21 +0100)]
Coding style update for pointer comparison

Most developers seem to prefer
  if (ptr) ...
  if (!ptr) ...
in comparison to
  if (ptr != 0) ...
  if (ptr == 0) ...

Adjusted the Dolphin-code to use the "most-prefered style" to make contributors happy.

14 years agoUse capitalized includes of recently committed kdelibs headers
Peter Penz [Fri, 4 Feb 2011 19:42:42 +0000 (20:42 +0100)]
Use capitalized includes of recently committed kdelibs headers

14 years agoFixing krazy spelling errors
Aaron Reichman [Mon, 7 Feb 2011 20:58:14 +0000 (12:58 -0800)]
Fixing krazy spelling errors

14 years agoAdd support for KAbstractFileItemActionPlugin. Requires kdelibs > 4.6.0.
David Faure [Mon, 7 Feb 2011 12:07:38 +0000 (13:07 +0100)]
Add support for KAbstractFileItemActionPlugin. Requires kdelibs > 4.6.0.
(cherry picked from commit 4caa285c065ea362ae52d93a567680513d8beb2a)

14 years agoFix issue that filenamesearch: is used instead of nepmuksearch:
Peter Penz [Sun, 6 Feb 2011 12:44:30 +0000 (13:44 +0100)]
Fix issue that filenamesearch: is used instead of nepmuksearch:

14 years agoProvide a hook for externally triggered search queries
Peter Penz [Sat, 5 Feb 2011 22:33:08 +0000 (23:33 +0100)]
Provide a hook for externally triggered search queries

In this case the "From Here"/"Everywhere" buttons and the "Filename"/"Content" buttons are useless. Currently they just get disabled but the plan is to provide a better visual indication of the current query and to remove them completely.

14 years agoFix compilation when Nepomuk is not available
Peter Penz [Sat, 5 Feb 2011 20:12:19 +0000 (21:12 +0100)]
Fix compilation when Nepomuk is not available

CCBUG: 265547

14 years agodolphinsearchboxtest: link with gold
Andreas Hartmetz [Sat, 5 Feb 2011 05:19:02 +0000 (06:19 +0100)]
dolphinsearchboxtest: link with gold

14 years agoAdd unittest for DolphinSearchBox
Peter Penz [Fri, 4 Feb 2011 21:13:50 +0000 (22:13 +0100)]
Add unittest for DolphinSearchBox

A minor API cleanup in DolphinSearchBox has been done related to the test.

14 years agoDon't clear the search-text when switching between tabs
Peter Penz [Fri, 4 Feb 2011 19:55:52 +0000 (20:55 +0100)]
Don't clear the search-text when switching between tabs

The clearing of the search-text should only be done when opening the search-box.

14 years agoUpdate e-mail address from peter.penz@gmx.at to peter.penz19@gmail.com
Peter Penz [Fri, 4 Feb 2011 14:57:33 +0000 (15:57 +0100)]
Update e-mail address from peter.penz@gmx.at to peter.penz19@gmail.com

14 years agoDon't use the submodule-path for Qt-includes on application-level
Peter Penz [Fri, 4 Feb 2011 14:49:45 +0000 (15:49 +0100)]
Don't use the submodule-path for Qt-includes on application-level

Also some KDE-includes have been capitalized

14 years agoUse capitalized KDE includes
Peter Penz [Fri, 4 Feb 2011 14:43:21 +0000 (15:43 +0100)]
Use capitalized KDE includes

14 years agoUse KUrl::isParentOf() instead of doing custom QString-operations
Peter Penz [Thu, 3 Feb 2011 16:23:45 +0000 (17:23 +0100)]
Use KUrl::isParentOf() instead of doing custom QString-operations

This fixes the issue that a directory might be declared as indexed/non-indexed although it just starts with a similar name like another directory.

14 years agoFix 3 issues reported by "krazy"
Peter Penz [Thu, 3 Feb 2011 15:51:08 +0000 (16:51 +0100)]
Fix 3 issues reported by "krazy"

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 3 Feb 2011 06:24:26 +0000 (07:24 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoFix visibility- and enabled-issues for the filter-panel
Peter Penz [Wed, 2 Feb 2011 18:36:08 +0000 (19:36 +0100)]
Fix visibility- and enabled-issues for the filter-panel

The filter-panel should be disabled if the current folder is not indexed at all. Also when triggering a "Find" the filter-panel should stay invisible per default when the current folder is not indexed.

CCBUG: 264969

14 years agoProvide a default size-hint for all panels
Peter Penz [Wed, 2 Feb 2011 16:30:25 +0000 (17:30 +0100)]
Provide a default size-hint for all panels

This fixes the issue that the initial size of the Filter Panel is too small.

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 2 Feb 2011 07:24:54 +0000 (08:24 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoShow the pointing-hand cursor also when the selection-toggle is disabled
Peter Penz [Mon, 31 Jan 2011 21:35:14 +0000 (22:35 +0100)]
Show the pointing-hand cursor also when the selection-toggle is disabled

CCBUG: 264791

14 years agoDon't show the pointing-hand cursor when double-click is enabled
Peter Penz [Mon, 31 Jan 2011 20:29:10 +0000 (21:29 +0100)]
Don't show the pointing-hand cursor when double-click is enabled

CCBUG: 264796

14 years agoUpdated copyright information
Peter Penz [Sun, 30 Jan 2011 17:49:38 +0000 (18:49 +0100)]
Updated copyright information

14 years agoFix crash when detaching a tab with "Split View Mode" setting enabled
Sebastian Doerner [Thu, 27 Jan 2011 21:30:45 +0000 (21:30 +0000)]
Fix crash when detaching a tab with "Split View Mode" setting enabled

svn path=/trunk/KDE/kdebase/apps/; revision=1217560

14 years agoSome additions to DolphinDetailsViewTest_AllViewModes.
Frank Reininghaus [Wed, 26 Jan 2011 13:38:19 +0000 (13:38 +0000)]
Some additions to DolphinDetailsViewTest_AllViewModes.

In particular, tests for changing the zoom level and for saving and
restoring the view state.

svn path=/trunk/KDE/kdebase/apps/; revision=1217270

14 years agoMake dolphinviewtest_columns more stable.
Frank Reininghaus [Wed, 26 Jan 2011 13:20:36 +0000 (13:20 +0000)]
Make dolphinviewtest_columns more stable.

Up to now, some Columns View tests that need a folder to be displayed
in the view only passed if they were run first: The first test always
passed, and if a test name was passed on the command line, such that
only this test would be run, this test would work as well. In other
cases, the view was empty, not showing the items in the folder.

The problem is worked around by creating a new DolphinView before each
test in the case of the Columns View. Added a TODO comment to make me
remember to look into this again at some point.

svn path=/trunk/KDE/kdebase/apps/; revision=1217260

14 years agoImprove DolphinViewTest_AllViewModes::testKeyboardFocus().
Frank Reininghaus [Wed, 26 Jan 2011 13:12:49 +0000 (13:12 +0000)]
Improve DolphinViewTest_AllViewModes::testKeyboardFocus().

The test assumes that the view does not have the keyboard focus
initially. However, this may not be the case if this is the only test
to be executed (i.e., if testKeyboardFocus is passed to the test
executable on the command line). This commit transfers the keyboard
focus explicitly to another widget.

svn path=/trunk/KDE/kdebase/apps/; revision=1217251

14 years agoPrevent that the view is forced to increase its width when the searching is enabled...
Peter Penz [Sun, 23 Jan 2011 15:03:52 +0000 (15:03 +0000)]
Prevent that the view is forced to increase its width when the searching is enabled and not enough width is available for all options.

svn path=/trunk/KDE/kdebase/apps/; revision=1216467

14 years agoAdd a unit test that checks the DolphinView functionality that is
Frank Reininghaus [Sat, 22 Jan 2011 20:39:20 +0000 (20:39 +0000)]
Add a unit test that checks the DolphinView functionality that is
related to the folder view properties.

svn path=/trunk/KDE/kdebase/apps/; revision=1216359

14 years agoSVN_SILENT: Coding style updates
Peter Penz [Sat, 22 Jan 2011 14:08:11 +0000 (14:08 +0000)]
SVN_SILENT: Coding style updates

svn path=/trunk/KDE/kdebase/apps/; revision=1216293

14 years agoStay consistent with the non-indexed searching and also return folders as search...
Peter Penz [Thu, 20 Jan 2011 16:55:53 +0000 (16:55 +0000)]
Stay consistent with the non-indexed searching and also return folders as search-result when searching in indexed folders.

CCBUG: 263724

svn path=/trunk/KDE/kdebase/apps/; revision=1215987

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 19 Jan 2011 06:32:58 +0000 (06:32 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1215655

14 years agoAssure that a sorting by the Dolphin specific columns "Path" and "Link Destination...
Peter Penz [Tue, 18 Jan 2011 21:38:10 +0000 (21:38 +0000)]
Assure that a sorting by the Dolphin specific columns "Path" and "Link Destination" works correctly.

svn path=/trunk/KDE/kdebase/apps/; revision=1215483

14 years agoAssure that the enabled plugins for previews are set for the Information Panel and...
Peter Penz [Tue, 18 Jan 2011 19:56:18 +0000 (19:56 +0000)]
Assure that the enabled plugins for previews are set for the Information Panel and the tooltips.  This fixes the issue that a disabled thumbnail-plugin might be chosen. For 4.7 it should be considered to move this code into KIO::filePreview() as default already (will provide a patch on the reviewboard).

svn path=/trunk/KDE/kdebase/apps/; revision=1215459

14 years agoFix issue that the "From Here" search restriction does not work on subfolders when...
Peter Penz [Tue, 18 Jan 2011 18:27:49 +0000 (18:27 +0000)]
Fix issue that the "From Here" search restriction does not work on subfolders when Nepomuk/Strigi has been activated.

CCBUG: 262274

svn path=/trunk/KDE/kdebase/apps/; revision=1215428

14 years agoImprove DolphinTreeViewTest's stability.
Frank Reininghaus [Mon, 17 Jan 2011 19:36:00 +0000 (19:36 +0000)]
Improve DolphinTreeViewTest's stability.

When running the test in the background while using the computer for
other things, it may happen that the test's widgets are not focused,
which led to an infinite loop before this commit. I've removed the
checks that caused this loop because the only thing that is important
for the test is that the view loses the keyboard focus at some point
(see bug 220898).

svn path=/trunk/KDE/kdebase/apps/; revision=1215139

14 years agoFix regression introduced by SVN commit 1214916: The navigator should get the focus...
Peter Penz [Mon, 17 Jan 2011 17:39:36 +0000 (17:39 +0000)]
Fix regression introduced by SVN commit 1214916: The navigator should get the focus when "Replace Location" is invoked.

CCMAIL: sebastian@sebastian-doerner.de

svn path=/trunk/KDE/kdebase/apps/; revision=1215110

14 years agoDon't assure the visibility of the leaf, if another directory has been opened by...
Peter Penz [Mon, 17 Jan 2011 06:46:33 +0000 (06:46 +0000)]
Don't assure the visibility of the leaf, if another directory has been opened by the [+]-toggle.

CCBUG: 263344

svn path=/trunk/KDE/kdebase/apps/; revision=1214979

14 years agoMake toggleSplitView()'s documentation consistent with its behavior
Sebastian Doerner [Sun, 16 Jan 2011 22:05:54 +0000 (22:05 +0000)]
Make toggleSplitView()'s documentation consistent with its behavior

svn path=/trunk/KDE/kdebase/apps/; revision=1214927

14 years agoSimplify DolphinMainWindow::replaceLocation()
Sebastian Doerner [Sun, 16 Jan 2011 21:18:18 +0000 (21:18 +0000)]
Simplify DolphinMainWindow::replaceLocation()

svn path=/trunk/KDE/kdebase/apps/; revision=1214916

14 years agoRemember all iterated directories to prevent an endless recursion by links. Tested...
Peter Penz [Sun, 16 Jan 2011 19:51:48 +0000 (19:51 +0000)]
Remember all iterated directories to prevent an endless recursion by links. Tested with search all files below /

svn path=/trunk/KDE/kdebase/apps/; revision=1214895

14 years agoDolphinTreeView contains some code to update the selection after a
Frank Reininghaus [Sun, 16 Jan 2011 18:35:36 +0000 (18:35 +0000)]
DolphinTreeView contains some code to update the selection after a
keyboard search because QTreeView (unlike the other item views) does
not handle this internally.

This commit simplifies that code by performing the selection update in
the method keyboardSearch(). That way, we can get rid of the member
m_updateCurrentIndex and of 3 member functions. The unit tests still
pass, so I'm quite confident that this does not break anything.

svn path=/trunk/KDE/kdebase/apps/; revision=1214865

14 years agoDolphinTreeViewTest: Add unit test for bug 220898 (rubberband
Frank Reininghaus [Sun, 16 Jan 2011 14:13:30 +0000 (14:13 +0000)]
DolphinTreeViewTest: Add unit test for bug 220898 (rubberband
selection failure after a keyboard focus change in between key press
and key release events)

svn path=/trunk/KDE/kdebase/apps/; revision=1214822

14 years agoAssure that no endless searching is done if a link points to a parent directory
Peter Penz [Sun, 16 Jan 2011 12:38:45 +0000 (12:38 +0000)]
Assure that no endless searching is done if a link points to a parent directory

CCBUG: 263262
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1214807

14 years agoMove the call "setUniformRowHeights(true)" from DolphinDetailsView's
Frank Reininghaus [Sat, 15 Jan 2011 23:08:23 +0000 (23:08 +0000)]
Move the call "setUniformRowHeights(true)" from DolphinDetailsView's
constructor to the one of its base class DolphinTreeView. The reason
is that DolphinTreeView::updateElasticBandSelection() contains
"Q_ASSERT(uniformRowHeights())", so it makes sense to ensure that
every DolphinTreeView has uniform row heights. This might be important
for unit tests which use DolphinTreeView directly.

svn path=/trunk/KDE/kdebase/apps/; revision=1214695

14 years agoDolphinTreeViewTest: Add unit test for bug 259656 (multiple file
Frank Reininghaus [Sat, 15 Jan 2011 19:12:37 +0000 (19:12 +0000)]
DolphinTreeViewTest: Add unit test for bug 259656 (multiple file
deletion if Shift+Delete is pressed for some time and the confirmation
dialog is disabled).

svn path=/trunk/KDE/kdebase/apps/; revision=1214651

14 years agoIf the searching has been triggered by clicking on a facet and the facet gets reset...
Peter Penz [Sat, 15 Jan 2011 17:52:00 +0000 (17:52 +0000)]
If the searching has been triggered by clicking on a facet and the facet gets reset again, assure that not all indexed files are shown. Instead return to the previous state before the searching has been started.

svn path=/trunk/KDE/kdebase/apps/; revision=1214634

14 years agoImprove tests for DolphinTreeView's code that updates the selection
Frank Reininghaus [Sat, 15 Jan 2011 11:43:59 +0000 (11:43 +0000)]
Improve tests for DolphinTreeView's code that updates the selection
when a key is pressed.

svn path=/trunk/KDE/kdebase/apps/; revision=1214565

14 years agoMove the FileMetaDataConfigurationDialog from "settings" to "panels/information"...
Peter Penz [Fri, 14 Jan 2011 19:55:55 +0000 (19:55 +0000)]
Move the FileMetaDataConfigurationDialog from "settings" to "panels/information", as it is not used anymore for the tooltips and only in the information panel.

svn path=/trunk/KDE/kdebase/apps/; revision=1214480

15 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 11 Jan 2011 09:07:40 +0000 (09:07 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1213663

15 years agoDon't trigger a slotDirListerCompleted() when the directory lister has been cancelled...
Peter Penz [Sun, 9 Jan 2011 15:14:29 +0000 (15:14 +0000)]
Don't trigger a slotDirListerCompleted() when the directory lister has been cancelled. Beside leading to a crash for the unit tests this is semantically wrong.

svn path=/trunk/KDE/kdebase/apps/; revision=1213203

15 years agoFix implementation of DolphinView::invertSelection() which assures that DolphinView...
Peter Penz [Sun, 9 Jan 2011 15:03:30 +0000 (15:03 +0000)]
Fix implementation of DolphinView::invertSelection() which assures that DolphinView::hasSelection() provides a valid return-value. This looks like an issue in Qt, but I did not have the time yet to provide a Qt-only example for a bug-report :-(

svn path=/trunk/KDE/kdebase/apps/; revision=1213199

15 years agoEncapsulate the creation and handling of the directory lister, the model and proxy...
Peter Penz [Sun, 9 Jan 2011 13:58:35 +0000 (13:58 +0000)]
Encapsulate the creation and handling of the directory lister, the model and proxy model to DolphinView. By this it will be easier later to replace the traditional QAbstractItemViews by any kind of other implementation (e.g. based on QGraphicsView/QML).

svn path=/trunk/KDE/kdebase/apps/; revision=1213189

15 years agoInternal simplification: It is not necessary to keep the ViewModeController as member...
Peter Penz [Sun, 9 Jan 2011 12:28:43 +0000 (12:28 +0000)]
Internal simplification: It is not necessary to keep the ViewModeController as member for the view-modes, as the URL is alredy known by the DolphinViewController.

svn path=/trunk/KDE/kdebase/apps/; revision=1213172

15 years agoForward port: Fix memory leak in searchDirectory()
Peter Penz [Sat, 8 Jan 2011 23:48:22 +0000 (23:48 +0000)]
Forward port: Fix memory leak in searchDirectory()

CCBUG: 262481

svn path=/trunk/KDE/kdebase/apps/; revision=1212998

15 years agoSVN_SILENT: Remove unused method
Peter Penz [Sat, 8 Jan 2011 23:11:34 +0000 (23:11 +0000)]
SVN_SILENT: Remove unused method

svn path=/trunk/KDE/kdebase/apps/; revision=1212992

15 years agoSVN_SILENT: Fix typos in doxygen documentation
Sebastian Doerner [Sat, 8 Jan 2011 19:31:41 +0000 (19:31 +0000)]
SVN_SILENT: Fix typos in doxygen documentation

svn path=/trunk/KDE/kdebase/apps/; revision=1212955

15 years agoFix sanity check in toggleViews()
Sebastian Doerner [Sat, 8 Jan 2011 19:08:49 +0000 (19:08 +0000)]
Fix sanity check in toggleViews()

svn path=/trunk/KDE/kdebase/apps/; revision=1212950

15 years agoAdd the "Lock Panels"/"Unlock Panels"-action to the context-menu of the Places Panel.
Peter Penz [Tue, 4 Jan 2011 17:54:58 +0000 (17:54 +0000)]
Add the "Lock Panels"/"Unlock Panels"-action to the context-menu of the Places Panel.

svn path=/trunk/KDE/kdebase/apps/; revision=1211709

15 years agoSVN_SILENT: Use same comment-style as the other unit-tests
Peter Penz [Sat, 1 Jan 2011 20:59:54 +0000 (20:59 +0000)]
SVN_SILENT: Use same comment-style as the other unit-tests

svn path=/trunk/KDE/kdebase/apps/; revision=1210710

15 years agoAdd test for the keyboard-focus
Peter Penz [Sat, 1 Jan 2011 20:46:51 +0000 (20:46 +0000)]
Add test for the keyboard-focus

svn path=/trunk/KDE/kdebase/apps/; revision=1210707

15 years agoForward-port: Restore keyboard-focus when changing the view-mode
Peter Penz [Sat, 1 Jan 2011 20:18:43 +0000 (20:18 +0000)]
Forward-port: Restore keyboard-focus when changing the view-mode

svn path=/trunk/KDE/kdebase/apps/; revision=1210699

15 years agoIncrease version to 1.6.9
Peter Penz [Sat, 1 Jan 2011 18:02:34 +0000 (18:02 +0000)]
Increase version to 1.6.9

svn path=/trunk/KDE/kdebase/apps/; revision=1210665

15 years agoForward port: Don't grab the focus if the view did not have the focus already.
Peter Penz [Sat, 1 Jan 2011 17:54:23 +0000 (17:54 +0000)]
Forward port: Don't grab the focus if the view did not have the focus already.

CCBUG: 261147
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1210659

15 years agoSVN_SILENT: Don't connect to non-existing signal/slot
Peter Penz [Fri, 31 Dec 2010 11:06:49 +0000 (11:06 +0000)]
SVN_SILENT: Don't connect to non-existing signal/slot

svn path=/trunk/KDE/kdebase/apps/; revision=1210426

15 years agoLock panels per default and allow to unlock them like in Amarok.
Peter Penz [Fri, 31 Dec 2010 10:59:46 +0000 (10:59 +0000)]
Lock panels per default and allow to unlock them like in Amarok.

BUG: 229811
FIXED-IN: 4.7.0

svn path=/trunk/KDE/kdebase/apps/; revision=1210424

15 years agoFix regression introduced in 4.5 and allow to add the menu actions "Show Information...
Peter Penz [Sun, 19 Dec 2010 12:48:24 +0000 (12:48 +0000)]
Fix regression introduced in 4.5 and allow to add the menu actions "Show Information Panel", "Show Folders Panel", "Show Terminal Panel", "Show Places Panel" and "Show Places Panel" to the toolbar like in KDE SC 4.4.

BUG: 250847
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1207728

15 years agoSelect the whole text in the filterbar and searchbox if the widget has lost the focus...
Peter Penz [Sun, 19 Dec 2010 12:03:46 +0000 (12:03 +0000)]
Select the whole text in the filterbar and searchbox if the widget has lost the focus and gets focused again by the shortcut (this behavior is consistent to e.g. the behavior in Kate).

CCBUG: 256160

svn path=/trunk/KDE/kdebase/apps/; revision=1207719