┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-04-16When renaming one item don't replace # by numbersPeter Penz
BUG: 271094 FIXED-IN: 4.7.0
2011-04-15Assure that the startup-settings are applied immediatelyPeter Penz
2011-04-15Details view: Fix jumping column-widthsPeter Penz
If the view has a width where a horizontal scrollbar is required to show all columns, an endless loop might get triggered that results in a periodic jumping of the column-widths. BUG: 270954 FIXED-IN: 4.7.0
2011-04-14SVN_SILENT Remove trailing white space.Frank Reininghaus
2011-04-14Improve stability of unit tests when running them with ValgrindFrank Reininghaus
I noticed unexpected unit test failures when running the tests with Valgrind. The reason was that test execution was slowed down a lot, such that that TestBase::waitForFinishedPathLoading() did not receive the view's signal within the default timeout of 2 seconds, and that this failure was not detected in every test -> the tests failed later on because not all expected items had been loaded yet. To fix this, I changed two things: 1. Added an assert in TestBase::waitForFinishedPathLoading() that checks if the signal has been received. Continuing does not make much sense if that is not the case. 2. Increased the default timeout to 20 seconds. The reason why there is a finite timeout at all is that I didn't want to waste too much time on machines where the file kioslave seems to have problems loading a directory (I've seen corresponding test logs at cdash.org). However, with the first change I mentioned above, the waiting time is lost only once (due to the assert) rather than every time a directory is loaded -> I think that the timeout increase does not lead to an increased waste of time on such machines.
2011-04-12Implement a cut/copy/paste unit test for DolphinView.Frank Reininghaus
2011-04-12Let each DolphinMainWindow run in a custom processPeter Penz
A possible crash in one Dolphin window should not result in crashing other Dolphin windows. Beside this it also prevents issues with modal dialogs or notifications. BUG: 269950 BUG: 206053 BUG: 196034 FIXED-IN: 4.7.0
2011-04-12Fix directory navigation in Dolphin::Terminal.Raphael Kubo da Costa
When navigating in Dolphin it attempts to keep any open Terminal (F4) in sync by changing the directory in the shell. It does this by sending a "^C; cd $DIRECTORY" however shells under FreeBSD treat "^C" as a literal string and not SIGINT. Fix this by sending SIGINT to the shell instead of "^C". It appears Linux does not exhibit this behaviour. Patch originally written by David Naylor, from the KDE-FreeBSD team. CCMAIL: [email protected] (cherry picked from commit 5f78219e18073e475ed1f1865a1a2be1fafd60cf)
2011-04-10Add unit test for bug 270437Frank Reininghaus
Verify that the current item and the scroll position of the view do not change if previews are turned off. Actually, the bug was in KFilePreviewGenerator, but it's easier to test this here.
2011-04-10Column View: Keep wheel-behavior consistent with other viewsPeter Penz
Using the wheel in the column view resulted in too big jumps. Keep it consistent with the details view and icons view. BUG: 269942 FIXED-IN: 4.7.0
2011-04-10Folders Panel: Don't open the properties dialog modalPeter Penz
BUG: 270484 FIXED-IN: 4.7.0
2011-04-10DolphinContextMenu: Set the properties action from actionCollectionPeter Penz
Patch has been provided by Alex Fiestas at https://git.reviewboard.kde.org/r/101076/ CCMAIL: [email protected]
2011-04-10Readd KFind shortcut for the Dolphin KPartPeter Penz
When the searching has been integrated into Dolphin the "Find File..." entry had been removed from the Tools menu. Readd it into the Dolphin KPart so that it is still available for Konqueror. BUG: 270072 FIXED-IN: 4.7.0
2011-04-08Optimize alignment of toolbar menuPeter Penz
Try to align the toolbar menu within the Dolphin window to reduce the cases where the sub-menus overlap with the right screen border.
2011-04-06Do not reload the DolphinView in the tests' initView() membersFrank Reininghaus
Rather than reloading the view after it is initilised, we just wait until the view emits its finishedPathLoading() signal. This saves some time when running the tests (at least on my system).
2011-04-06Add missing i18n callFrederik Schwarzer
2011-04-05Remove a qWait(2000) which has been committed accidentally.Frank Reininghaus
This has been committed by accident in 06dd174f.
2011-04-05Add function TestBase::waitForFinishedPathLoading()Frank Reininghaus
Many tests have to wait until this signal is received from the DolphinView, so it is convenient to have a function that wraps the QTest::kWaitForSignal() call.
2011-04-05Remove comment which is obsolete after the recent refactoring.Frank Reininghaus
2011-04-03Dolphin unit test refactoringFrank Reininghaus
This commit changes mainly two things: 1. The functionality related to the handling of temporary files and folders is moved to a new class TestDir. 2. The setup of a temporary folder and of DolphinView instances is now done in each unit test function. A benefit of this change is that there are no unwanted interactions between different unit test functions any more. Moreover, different test functions could now share a test folder more easily. Additionally, the reference arguments of all functions are changed to pointers for consistency.
2011-03-29Readd the "go home" actionPeter Penz
It got accidently lost during the menu-button changes. Also the clearStatusBar() calls have been removed as this is handled in the DolphinViewContainer internally since a long time already.
2011-03-27DolphinContextMenu: Show "Show menubar" entry if necessaryPeter Penz
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.
2011-03-27Update the size of the menu toolbar-itemPeter Penz
If the icon size of the toolbar has been changed, the manually added menu toolbar-item must be updated.
2011-03-27Minor optimizations for the menu toolbar-itemPeter Penz
2011-03-27Don't use a submenu for the settingsPeter Penz
If the toolbar-menu is used just put the settings-related entries directly to the root instead of collecting them in a sub-menu.
2011-03-26Provide toolbar-menu when the menubar is hiddenPeter Penz
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.
2011-03-26Show places selector of URL navigator only when requiredPeter Penz
The places selector of the URL navigator only needs to get shown if the Places panel is invisible.
2011-03-24Make cursor keys always trigger a statusbar updateSebastian Dörner
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
2011-03-22Tooltip improvementsPeter Penz
- 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.
2011-03-21Make it linkKevin Ottens
2011-03-12Details view optimizationPeter Penz
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!
2011-03-10Fix enabled/disabled issue for the Search PanelPeter Penz
2011-03-10Hide search-mode buttons in the read-only modePeter Penz
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.
2011-03-10Add search modes for the Search PanelPeter Penz
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.
2011-03-10Fix some search issuesPeter Penz
- 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...
2011-03-09Remove kDebug() outputPeter Penz
2011-03-09Add (renamed) files searchpanel*Peter Penz
Thanks to Sebastian Dörner for the notification.
2011-03-09Rename the "Filter Panel" to "Search Panel"Peter Penz
Bug reports indicate that users are confused by the term "filter" for this.
2011-03-08Prevent unnecessary reloading of KDirLister on startupPeter Penz
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.
2011-03-04SVN_SILENT made messages (.desktop file)Script Kiddy
2011-03-03Adjust text color to new emblem for unstaged filesSebastian Dörner
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.
2011-03-02Better servicemenu(de)installationJonathan Schmidt-Dominé
2011-02-28Fix issue that wrong directory is shownPeter Penz
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.
2011-02-27Consistently use binary operators to connect QFlagsSebastian Dörner
2011-02-27Allow to configure thumbnail-pluginsPeter Penz
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.
2011-02-19Use the new KIO::PreviewJob APIPeter Penz
This makes it unnecessary to manually apply the plugins. See https://git.reviewboard.kde.org/r/100578/ for more details.
2011-02-13Improve performance when turning on the preview modePeter Penz
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.
2011-02-12Open folder in a new tab when a middle-click is done in the column-viewPeter Penz
CCBUG: 265859
2011-02-12Reset progress of the statusbar when the stop-button has been pressedPeter Penz
2011-02-11DolphinContextMenu: cleanup includesPeter Penz