Commit graph

3245 commits

Author SHA1 Message Date
Peter Penz f23e9496f3 Merged very early alpha-version of Dolphin 2.0
Dolphin 2.0 will get a new view-engine with the
following improvements:
- Better performance
- Animated transitions
- No clipped filenames due to dynamic item-sizes
- Grouping support for all view-modes
- Non-rectangular selection areas
- Simplified code for better maintenance

More details will be provided in a blog-entry during
the next days.

Please note that the code is in a very
early alpha-stage and although the most tricky parts
have been implemented already very basic things like
drag and drop or selections have not been pushed yet.
Those things are rather trivial to implement but this
still will take some time.
2011-07-30 20:13:41 +02:00
Frank Reininghaus 69e4007e5e Fix Dolphin session management regression
The commit fff7573ebb introduced a
regression concerning restoration of saved Dolphin sessions. The
main window numbers which can be passed to KMainWindow::restore()
start with 1, and not with 0.

CCBUG:275649
(cherry picked from commit b4091809be)
2011-07-17 19:31:30 +02:00
Script Kiddy 051759e823 SVN_SILENT made messages (.desktop file) 2011-07-12 10:35:32 +02:00
Peter Penz 0659763dac Revert "Use isEmpty()" - the original code asked for a size > 1 and not >= 1...
This reverts commit fa73fbfb84.
CCMAIL: neoclust.kde@free.fr
2011-07-12 00:33:09 +02:00
Nicolas Lécureuil 3056126517 Use isEmpty() 2011-07-11 22:47:01 +02:00
Script Kiddy a44e982f78 SVN_SILENT made messages (.desktop file) 2011-07-11 10:55:04 +02:00
Frank Reininghaus f19ad8ee41 PreviewSettingsPage: update JPG preview plugin settings if needed
In KDE <= 4.6, the 'jpegrotatedthumbnail' plugin was used to provide
thumbnails for JPG images which are rotated correctly. In KDE 4.7, this
is done by the usual 'jpegthumbnail' plugin if it is configured
accordingly. The update of the settings is done in KFilePreviewGenerator.
However, if Konqueror is run in web browsing mode and the settings dialog
is opened, KFilePreviewGenerator does not have a chance to do the update.
To make sure that the correct plugins are shown in the settings, this
commit adds a plugin update to PreviewSettingsPage.

The old code that just removed the 'jpegrotatedthumbnail' plugin without
enabling the 'jpegthumbnail' plugin is removed.

CCBUG:277251
(cherry picked from commit 626fb3cf58)
2011-07-10 15:43:55 +02:00
Peter Penz 61da3d924c Use QToolButtons instead of QPushButtons for the searchbar
Thanks to Hugo Pereira Da Costa for the patch.

BUG: 277227
FIXED-IN: 4.7.0
2011-07-07 11:49:51 +02:00
Script Kiddy 2da111408f SVN_SILENT made messages (.desktop file) 2011-07-06 10:40:22 +02:00
Dawit Alemayehu 02c3dc16af Squeeze the filename shown in the rename dialog when it is too long
and show the full name in a tool tip instead.
2011-07-03 16:17:06 -04:00
Matthias Fuchs ca5d3fde11 Show icon overlays in the Informationen Panel.
BUG:190579
REVIEW:101573
2011-06-21 14:57:18 +02:00
Script Kiddy e0a318a95c SVN_SILENT made messages (.desktop file) 2011-06-21 11:00:18 +02:00
Burkhard Lück 7ca4e389be Add missing actions to report bug + switch language to Help menu in dolphin whithout menubar
Using Dolphin in default mode in master/4.7 whithout menubar the user has no actions to report a bug or switch language.
Add these missing actions the Help menu launched from the toolbar button Configure and control Dolphin.
REVIEW: 101597
2011-06-13 08:26:07 +02:00
Matthias Fuchs df557df2e0 Return the url of the view instead of the url of the url navigator.
That way if a wrong protocol had been entered the currently watched directory will be returned.
BUG:274890
REVIEW:101580
2011-06-11 00:28:05 +02:00
Peter Penz 8f6045bac7 Fix position of toolbar-menu
CCBUG: 274495
2011-06-10 16:27:39 +02:00
Frank Reininghaus 6d4cfc25d4 Wait longer for the selectionChanged signal
The timeout for the selectionChanged signal is increased in
DolphinViewTest_AllViewModes::verifySelectedItemsCount().
I hope that this will fix a part of the failures seen in
http://my.cdash.org/testDetails.php?test=6350150&build=196639
2011-06-09 14:50:33 +02:00
Frank Reininghaus 91e210ad6d Improve stability of DolphinView tests
1. Fix possible test failure if hidden files are shown initially.
2. Fix possible test failure if a .directory file is created in
the test directory. I think that this fixes the test failure from
http://my.cdash.org/testDetails.php?test=6350151&build=196639
2011-06-09 14:41:53 +02:00
Matthias Fuchs ea6dc3fde7 Keeps the selection after showing/hiding hidden files.
Still only files that are shown will be selected, thus selecting hidden files and then hiding hidden files will deselect those.
BUG:177215
REVIEW:101487
2011-06-02 00:59:56 +02:00
Sebastian Dörner 0a7c5997df Fix problems with commit 8d789f2626
- fix crash when Ctrl-D-ing in the terminal
 - don't respond to window manager actions, only when the dock itself is
   hidden

Refers to commit 8d789f2626
2011-06-01 21:53:44 +01:00
Matthias Fuchs af37efda77 Improves 79ccd0202d by allowing "/" in file names.
Though here "/" is not the ascii char '/' but the "unicode fraction slash" one, thus it is not taken as directory command.
CCBUG:211751
REVIEW:101454
2011-05-31 23:45:31 +02:00
Peter Penz 2fcd3dd788 Fix position of Dolphin menu with multiple-screens setup
BUG: 274495
FIXED-IN: 4.7.0
2011-05-30 16:33:35 +02:00
Dawit Alemayehu f51d29c124 Set the window on the directory lister created in ViewAccessor so that password
management can be handled properly.

REVIEW: 101469
2011-05-29 16:31:48 -04:00
Script Kiddy e0c967a8f0 SVN_SILENT made messages (.desktop file) 2011-05-29 10:08:26 +02:00
Sebastian Trueg 18d8150848 Improved query creation. There is absolutely no point in using a
regular expression in addition to the query created by the query
parser. All it does is majorly slowing down the query execution.

REVIEW: 101462
2011-05-29 09:39:46 +02:00
Matthias Fuchs 3ed09520ad Disallow renaming to names containing '/', names being equal to "." or "..".
BUG:211751
REVIEW:101454
2011-05-28 01:31:45 +02:00
Matthias Fuchs e508685bae DolphinColumnView navigation works more intuitively.
If no item is selected then pressing right moves to a column view with child url, instead of the first index.
BUG:263110
REVIEW:101449
2011-05-28 01:10:37 +02:00
Frank Reininghaus 009535d910 Fix build failure if Nepomuk is not available.
Thanks to Krzysztof Nowicki for the patch!
BUG: 274297
2011-05-28 00:17:17 +02:00
Peter Penz 744cc7a824 Tooltips: Use tooltip-text-color for the filename
Thanks to Jacopo De Simoi for the patch!

CCMAIL: wilderkde@gmail.com
2011-05-28 00:04:24 +02:00
Script Kiddy bac383aa63 SVN_SILENT made messages (.desktop file) 2011-05-27 09:00:13 +02:00
Frank Reininghaus 34fec35b56 Don't try to build dolphinsearchboxtest if Nepomuk isn't found. 2011-05-26 09:03:50 +02:00
Sebastian Dörner 603ec47b8b Don't let hidden terminals prevent unmounting
Previous state: When the terminal is hidden, the cwd is not updated
anymore. If it was on a removable device when hiding, the hidden
terminal might prevent unmounting this device.
This patch fixes that bug by changing the cwd to "/" when hiding the panel.

REVIEW: 101387
BUG: 158264
FIXED-IN: 4.7.0
2011-05-25 22:19:11 +01:00
Alex Merry f192c0d663 Compile with QT_USE_FAST_OPERATOR_PLUS 2011-05-23 19:57:44 +01:00
Montel Laurent de3e167cf9 It compiles fine with "-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS" 2011-05-22 13:04:33 +02:00
Frank Reininghaus be4b787e8e Fix DolphinView regression in 4.6: Keep renamed items visible
Commit 78669f2a57 introduced a regression
in DolphinView which disabled the automatic scrolling after a rename
operation to keep the renamed item visible. This commit reverts a part
of that change to re-enable the feature.
CCBUG: 273600
FIXED-IN: 4.6.4
(cherry picked from commit 54f34a941f)
2011-05-19 14:15:33 +02:00
Script Kiddy 6f802671ff SVN_SILENT made messages (.desktop file) 2011-05-17 10:47:38 +02:00
Andreas Hartmetz 01fc5c9cd8 Fix build: Only compile code using Nepomuk #ifdef HAVE_NEPOMUK.
Actually HAVE_NEPOMUK should be defined here, but it isn't. This seems
to be some bug in the buildsystem.

CCMAIL: peter.penz19@gmail.com
2011-05-11 18:47:44 +02:00
Script Kiddy 3b82962f49 SVN_SILENT made messages (.desktop file) 2011-05-11 09:15:34 +02:00
Script Kiddy 982987f465 SVN_SILENT made messages (.desktop file) 2011-05-09 09:30:57 +02:00
Raphael Kubo da Costa 38bf441922 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
Oswald Buddenhagen 7772f6f804 adapt to INSTALLed permissions 2011-05-01 20:26:46 +02:00
Peter Penz 38cf4f8f43 Use special zoom-icons for the zoom-widget in the statusbar 2011-04-29 20:07:26 +02:00
Peter Penz a2d3ac3ec0 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
Andreas Hartmetz b3bf5886b4 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
Peter Penz 371e718ec5 Fix enabled/disabled issue of Search Panel 2011-04-20 22:11:22 +02:00
Peter Penz 27a8c55ec9 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 ae488b1318 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 f551f73ae6 Center tooltips horizontally in relation to the item
Patch has been written by Aaron J. Seigo.
2011-04-19 18:03:04 +02:00
Peter Penz 5ed647c7de 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 d4be11f205 Assure that the startup-settings are applied immediately 2011-04-15 20:53:13 +02:00
Peter Penz 14bae32f37 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