┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-05-17SVN_SILENT made messages (.desktop file)Script Kiddy
2011-05-11Fix build: Only compile code using Nepomuk #ifdef HAVE_NEPOMUK.Andreas Hartmetz
Actually HAVE_NEPOMUK should be defined here, but it isn't. This seems to be some bug in the buildsystem. CCMAIL: [email protected]
2011-05-11SVN_SILENT made messages (.desktop file)Script Kiddy
2011-05-09SVN_SILENT made messages (.desktop file)Script Kiddy
2011-05-01Use pathOrUrl() instead of path() for application/x-kde-dndextract.Raphael Kubo da Costa
This makes it possible to extract to remote locations or, say, trash:/ when everything is properly set up in Ark's side. CCMAIL: [email protected] (cherry picked from commit 5307f8ee2457387361e85517df38979bceeafb2a)
2011-05-01adapt to INSTALLed permissionsOswald Buddenhagen
2011-04-29Use special zoom-icons for the zoom-widget in the statusbarPeter Penz
2011-04-26Don't ask twice whether the trash should get emptiedPeter Penz
Thanks to Casey Jones for the patch! BUG: 265785 FIXED-IN: 4.7.0
2011-04-23Move add_subdirectory(tests) to where Nepomuk has been found.Andreas Hartmetz
The tests were using NEPOMUK_FOO_LIBRARIES variables that were, at least partially, not defined. Didn't link with gold linker.
2011-04-20Fix enabled/disabled issue of Search PanelPeter Penz
2011-04-20Search improvementsPeter Penz
Use Query::titleFromQueryUrl() to give a hint what kind of information is shown to the user.
2011-04-20Improve usability of Search PanelPeter Penz
If the Search Panel is shown outside the context of the "Find" mode it will be always enabled and does a global search. Only if the user is in the "Find" mode and the searching is restricted to the current directory the Search Panel might get disabled if the current directory is not indexed. This solves the major usability issue that it was not clear for the users whether a global or restricted search is done.
2011-04-19Center tooltips horizontally in relation to the itemPeter Penz
Patch has been written by Aaron J. Seigo.
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.