Commit graph

16965 commits

Author SHA1 Message Date
Script Kiddy 883da1f8a7 SVN_SILENT made messages (.desktop file) 2011-05-11 09:15:34 +02:00
Christoph Feck 8953d76773 Fix passive popup messages
* --icon argument did not work
* fallback to old style popups was broken because of a timer issue

Investigations and patch by Kai-Uwe Broulik, thanks!

REVIEW: 101282
Minor comment cleanup by me

FIXED-IN: 4.7.0
BUG: 252050
2011-05-10 12:37:55 +02:00
Alexander Potashev 64fc10c39e Add message contexts "@title:window" to all window and dialog titles
Context strings added to 106 strings.
http://techbase.kde.org/Development/Tutorials/Localization/i18n_Semantics

REVIEW: 101299
2011-05-09 22:36:41 +04:00
Script Kiddy 2f6e454ef9 SVN_SILENT made messages (.desktop file) 2011-05-09 09:30:57 +02:00
Raphael Kubo da Costa 643c150b5e Use pathOrUrl() instead of path() for application/x-kde-dndextract.
This makes it possible to extract to remote locations or, say, trash:/
when everything is properly set up in Ark's side.

CCMAIL: peter.penz19@gmail.com
(cherry picked from commit 5307f8ee24)
2011-05-01 23:44:58 -03:00
Raphael Kubo da Costa f9656e750c Make folderview understand application/x-kde-dndextract.
The code was copied almost as-is from Dolphin's implementation. It
should now be possible to drag and drop files from any archive opened
in Ark to folderview.

It previously worked with some archive types due to a weird code path
in Ark which should not exist.

PS: Fredrik, I ended up using pathOrUrl() because I can't pass KUrl
via DBus.

Reviewed-by: Fredrik Höglund

CCMAIL: fredrik@kde.org
BUG: 189322
FIXED-IN: 4.6.4

(cherry picked from commit d37a244a3c)
2011-05-01 23:40:19 -03:00
Oswald Buddenhagen 3f9a1f53b5 adapt to INSTALLed permissions 2011-05-01 20:26:46 +02:00
Script Kiddy 4218dee7d5 SVN_SILENT made messages (.desktop file) 2011-05-01 09:26:23 +02:00
Montel Laurent 999fd124d0 Fix warning 2011-04-30 15:19:14 +02:00
Peter Penz f359ec68f5 Use special zoom-icons for the zoom-widget in the statusbar 2011-04-29 20:07:26 +02:00
Script Kiddy 38df1e9d67 SVN_SILENT made messages (.desktop file) 2011-04-27 10:10:44 +02:00
Peter Penz fd66d6909e Don't ask twice whether the trash should get emptied
Thanks to Casey Jones for the patch!

BUG: 265785
FIXED-IN: 4.7.0
2011-04-26 16:11:50 +02:00
Montel Laurent 17ae9c2510 Don't check pointer before to delete it 2011-04-26 14:23:27 +02:00
Andreas Hartmetz 09fb933d2b Move add_subdirectory(tests) to where Nepomuk has been found.
The tests were using NEPOMUK_FOO_LIBRARIES variables that were, at least
partially, not defined. Didn't link with gold linker.
2011-04-23 16:12:15 +02:00
Script Kiddy f736b2d9ac SVN_SILENT made messages (.desktop file) 2011-04-22 09:45:48 +02:00
Peter Penz 1d91d1c367 Fix enabled/disabled issue of Search Panel 2011-04-20 22:11:22 +02:00
Peter Penz 62b868e353 Search improvements
Use Query::titleFromQueryUrl() to give a hint what kind of information
is shown to the user.
2011-04-20 21:21:26 +02:00
Peter Penz 3f882b723d Improve usability of Search Panel
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-20 20:09:08 +02:00
Peter Penz b500cdc58c Center tooltips horizontally in relation to the item
Patch has been written by Aaron J. Seigo.
2011-04-19 18:03:04 +02:00
Dawit Alemayehu 5daad5fc12 Added option for configuring the 'Do Not Track' feature. It is on by default.
Cleaned up the code.

REVIEW:101124
GUI:
2011-04-18 23:51:24 -04:00
David Faure 6736e2cafe Fix the search for kttsd.desktop, to use filename rather than Name.
Name changed recently, and can get translated, even!
2011-04-19 00:05:51 +02:00
Script Kiddy b6e0e47d96 SVN_SILENT made messages (.desktop file) 2011-04-18 08:45:08 +02:00
Peter Penz 29f00d2a13 When renaming one item don't replace # by numbers
BUG: 271094
FIXED-IN: 4.7.0
2011-04-16 14:51:19 +02:00
Peter Penz a5ac51923e Assure that the startup-settings are applied immediately 2011-04-15 20:53:13 +02:00
Peter Penz 8c6cdd0780 Details view: Fix jumping column-widths
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-15 20:38:24 +02:00
Frank Reininghaus 34dfd50407 SVN_SILENT Remove trailing white space. 2011-04-14 13:27:33 +02:00
Frank Reininghaus 9a40244ba6 Improve stability of unit tests when running them with Valgrind
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-14 13:10:33 +02:00
Script Kiddy 8be4e55e0a SVN_SILENT made messages (.desktop file) 2011-04-14 09:22:21 +02:00
Frank Reininghaus 7be24e4772 Implement a cut/copy/paste unit test for DolphinView. 2011-04-12 21:44:31 +02:00
Peter Penz fff7573ebb Let each DolphinMainWindow run in a custom process
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-12 20:08:08 +02:00
Raphael Kubo da Costa 1680e26125 Fix directory navigation in Dolphin::Terminal.
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: naylor.b.david@gmail.com

(cherry picked from commit 5f78219e18)
2011-04-12 11:18:22 -03:00
Frank Reininghaus 8327692bd2 Add unit test for bug 270437
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-10 21:27:15 +02:00
Peter Penz 50d5425059 Column View: Keep wheel-behavior consistent with other views
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-10 19:24:02 +02:00
Peter Penz 2d36ec28bd Folders Panel: Don't open the properties dialog modal
BUG: 270484
FIXED-IN: 4.7.0
2011-04-10 18:56:08 +02:00
Peter Penz 4c3730da4f DolphinContextMenu: Set the properties action from actionCollection
Patch has been provided by Alex Fiestas at
https://git.reviewboard.kde.org/r/101076/

CCMAIL: alex@eyeos.org
2011-04-10 18:49:55 +02:00
Peter Penz 5b94c7d551 Readd KFind shortcut for the Dolphin KPart
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-10 18:36:24 +02:00
Peter Penz 1e2e8fae0a Optimize alignment of toolbar menu
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-08 19:38:37 +02:00
Frank Reininghaus e68ad36dd1 Do not reload the DolphinView in the tests' initView() members
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-06 11:44:01 +02:00
Frederik Schwarzer 67d1ae94e1 Add missing i18n call 2011-04-06 00:36:39 +02:00
Frank Reininghaus 1c9656601e Remove a qWait(2000) which has been committed accidentally.
This has been committed by accident in 06dd174f.
2011-04-05 23:02:32 +02:00
Frank Reininghaus bd21caa336 Add function TestBase::waitForFinishedPathLoading()
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-05 22:12:51 +02:00
Frank Reininghaus 5d3f1d917e Remove comment which is obsolete after the recent refactoring. 2011-04-05 21:34:07 +02:00
Frank Reininghaus 06dd174f1f Dolphin unit test refactoring
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-04-03 15:32:12 +02:00
Peter Penz 3d4eaa54b3 Readd the "go home" action
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-29 18:37:40 +02:00
Peter Penz 9108816b1a 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.
2011-03-27 19:29:23 +02:00
Peter Penz 578ec69250 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.
2011-03-27 19:07:14 +02:00
Peter Penz a728956f1e Minor optimizations for the menu toolbar-item 2011-03-27 18:46:08 +02:00
Peter Penz 6f9f4e0b83 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.
2011-03-27 17:43:02 +02:00
Peter Penz 0ae8916960 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.
2011-03-26 23:26:39 +01:00
Peter Penz e1439463e0 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.
2011-03-26 16:38:34 +01:00