Commit graph

3914 commits

Author SHA1 Message Date
Jekyll Wu a2ee6b1d01 Show icon size as tooltip when adjusting icon size
BUG:292700
FIXED-IN: 4.10.0
REVIEW: 105990
2012-08-13 13:12:11 +08:00
Script Kiddy ddba0bcc3b SVN_SILENT made messages (.desktop file) 2012-08-10 12:09:12 +02:00
Frank Reininghaus e4d816a6aa Use a better icon for recently accessed items in the Places Panel
The problem with the icon "package_utility_time" that has been used
before was that it is not available on all distros. The new icon
"chronometer" should be available on every KDE install.

Thanks to Elias Probst for suggesting the new icon - I'm not that
familiar with the icons provided by KDE myself.

CCBUG: 304323
(cherry picked from commit d7e7ca53bb)
2012-08-09 23:55:21 +02:00
Martin Sandsmark 0adb88184b Use a saner check for multimedia files in infopanel.
Don't rely on the reported supported mimetypes from Phonon,
Phonon supports more than just video and audio, but if it is
video or audio there's a very good chance Phonon supports it.

(If the mime type isn't in the list returned by Phonon there's
still a good chance it supports it, because mime types are stupid.)

BUG: 252539
2012-08-09 03:27:11 +02:00
Frank Reininghaus 5ae3d9c0ae Fix the size of the rating stars in Icons View
Moreover, make sure that the selection rectangle is large enough to
include the stars.

Patch by Emmanuel Pescosta. Thanks for the patch!

CCBUG: 302624
REVIEW: 105830
(cherry picked from commit 146c77eaa2)
2012-08-07 22:55:45 +02:00
Script Kiddy 3dcbca8be4 SVN_SILENT made messages (.desktop file) 2012-08-07 18:26:07 +02:00
Frank Reininghaus 0d742b44df Stop preview jobs when closing Dolphin
Patch by Benni Hill. Thanks for the patch!
CCBUG: 304467
(cherry picked from commit 4d39dbc962)
2012-08-06 02:32:16 +02:00
Patrick Spendrin c7cce33067 msvc needs to have the class definition for reference parameters in methods 2012-07-29 01:13:59 +02:00
Dawit Alemayehu b80aed4e9f Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607
(cherry picked from commit 9a622c16d9)
2012-07-22 17:30:18 -04:00
Christoph Feck 13dfc7fa2b Respect platform's icon sizes
Use QStyle icon sizes instead of hard coding 16 or 32 pixels.
Using styles that follow KDE settings (every KStyle, e.g.
Oxygen) the icon sizes can be configured by the user in
System Settings.

The size for the icon/details view can be later changed
by the user, overriding the defaults. The icon size for the
places panel is not (yet?) configurable separately.

(Not resolving the bug, see comment in review request)

CCBUG: 301959
REVIEW: 105548
2012-07-18 01:22:55 +02:00
Frank Reininghaus cd5d20ff8a Re-implement dropping of files on folders in the Places Panel.
This resolves a regression caused by the Places Panel rewrite. There is
a small glitch left when reordering items (dragging below the last or
above the first item only shows the drop indicator when first dragging
out of the item and then back), but I prefer not to fix this glitch
right now because this would require a more intrusive change, and I do
not want to risk regressions because is not much time left to fix them
before 4.9.0 is released.

Thanks to Peter Penz for providing some advice about this issue.

CCBUG: 302557
2012-07-12 00:36:32 +02:00
Chirag Anand cc03c5514c Ask before opening more than 5 items.
Thanks to A JANARDHAN REDDY for the patch.
CCBUG: 54990
CCMAIL: annapareddyjanardhanreddy@gmail.com
2012-07-11 00:13:53 +05:30
Frank Reininghaus d1963d2271 Use the right name when adding a folder to Places with the context menu
Without this patch, the name of the parent folder was used for the entry
in the Places Panel. Will backport to the KDE/4.9 branch when the RC2
freeze is over.

Thanks to Daniel Kreuter for the patch!

CCBUG: 303157
2012-07-10 08:23:14 +02:00
Frank Reininghaus f3c13b1a42 Change of Dolphin Maintainership (patch by Peter Penz) 2012-07-10 08:12:16 +02:00
Peter Penz 37dde37fcd Increase version to 2.1 2012-06-24 16:46:18 +02:00
Jekyll Wu 27d2d476e6 Add the missing "FileTools" category suggested by FDO menu spec.
REVIEW: 105288
2012-06-18 22:05:21 +08:00
Script Kiddy fff50c6c80 SVN_SILENT made messages (.desktop file) 2012-06-18 10:06:11 +02:00
Peter Penz ca0a2c0cb2 Allow to customize text for system-bookmarks
BUG: 301339
FIXED-IN: 4.9.0
2012-06-17 23:03:46 +02:00
Peter Penz 53b01d5aff Renaming: Don't select unknown extensions
If a file with an unknown extension gets renamed, it is assumed
that the letters after the last point represent the extension and
won't be selected.

BUG: 301893
FIXED-IN: 4.9.0
2012-06-16 22:53:32 +02:00
Script Kiddy 741f42f014 SVN_SILENT made messages (.desktop file) 2012-06-16 12:13:06 +02:00
Peter Penz 80ac5847a3 Update the URL if the accessibility has been changed
CCBUG: 301071
2012-06-15 11:37:50 +02:00
Peter Penz e9463ffe2a Fix regression: Open file if entering it in the URL-navigator
The regression has been introduced when hiding the DolphinDirLister
inside KFileItemModel. Now the signal urlIsFileError() gets forwarded
to the container again where the file will be opened.

BUG: 301757
FIXED-IN: 4.9.0
2012-06-13 15:18:21 +02:00
Peter Penz fb15dac975 Drag pixmap: Turn off the hover-state 2012-06-12 13:26:23 +02:00
Peter Penz c95255eb90 Drag-pixmap fixes
- Don't use the selection-tinted icon when dragging a single item
- Decrease the vertical gap for the hotspot
- Prevent drawing tree-lines when dragging items for the Places Panel

CCBUG: 301624
2012-06-12 13:21:17 +02:00
Peter Penz 6c15705528 Update "isExpandable" and "size"-roles
If the "isExpandable"- or "size"-role is shown for a folder, the
number of sub-items must be watched to be able to update the
state of those 2 roles.

This fixes the issue that e.g. no expanding-toggle is shown
if an sub-directory has been created inside an empty directory.

BUG: 293972
FIXED-IN: 4.9.0
2012-06-11 15:46:55 +02:00
Peter Penz dbf233ea28 Folders Panel: Also count directory links
... otherwise no expansion toggle will be shown. The implementation
is a compromise between performance and correctness: If the directory
contains links that are not directories, an unnecessary expansion
toggle will be shown. But this is better than showing no expansion
toggle in case if the directory contains links that point to other
directories.

BUG: 299997
FIXED-IN: 4.9.0
2012-06-09 13:37:42 +02:00
Peter Penz 57cde56158 Inline renaming: ESC should cancel the renaming
When emitting the roleEditingCanceled-signal it must be prevented
that a roleEditingFinished-signal is emitted because of some
action taken in the receiver-slot.

BUG: 301480
FIXED-IN: 4.9.0
2012-06-09 13:12:23 +02:00
Peter Penz 1ddd9c4032 Inline renaming: Improve focus handling
Fix issue that cancelling the inline-renaming by clicking
on the other split view applies the wrong focus.

Thanks to Frank Reininghaus for the initial patch and noticing
this issue.

CCBUG: 301252
2012-06-08 22:51:01 +02:00
Peter Penz ba6b4a6632 Fix wrong loading of sort-role 2012-06-08 22:30:29 +02:00
Peter Penz b2f5de9744 Krazy fixes 2012-06-08 22:08:29 +02:00
Peter Penz 98a4aa10ef Inline renaming fixes
- Don't use an outdated KFileItem when renaming an item more than once
- Use the same font as the view
- Don't lose the focus when an editor-popup is shown

BUG: 299327
BUG: 298883
BUG: 301253
FIXED-IN: 4.9.0
2012-06-08 16:40:01 +02:00
Peter Penz 0c206bda8e Emit zoomLevelChanged() if the preview gets toggled 2012-06-07 23:28:52 +02:00
Peter Penz 5c163a41c5 Hide "Recently Accessed" and "Search for" if indexing is disabled
The bookmarks for "Recently Accessed" and "Search for" require
enabled indexing not only an enabled Nepomuk.

BUG: 301340
FIXED-IN: 4.9.0
2012-06-07 23:10:04 +02:00
Peter Penz c214b3751f Setup storage device if needed
BUG: 301071
FIXED-IN: 4.9.0
2012-06-07 23:00:57 +02:00
Frank Reininghaus c0533e1aaa Ctrl+Shift+click should have the same effect as Shift+click
This makes Dolphin 2.0's behaviour consistent with Dolphin 1.x.

BUG: 300788
FIXED-IN: 4.9.0
2012-06-03 23:03:27 +02:00
Frank Reininghaus 16b3b82900 Prepend "cd" and "clear" commands with a space in the Terminal Panel
This prevents that these commands, which have not been enetered by the
user, but generated automatically, appear in the shell history, provided
that the shell is configured appropriately.

BUG: 204039
FIXED-IN: 4.9.0
2012-06-03 22:50:05 +02:00
Peter Penz 86ce0d761d Hide tooltip when changing the zoomlevel
BUG: 301056
FIXED-IN: 4.9.0
2012-06-02 17:42:11 +02:00
Peter Penz 931e180400 Always support a moving animation in case of the details view
This fixes the issue that resizing items results in flickering
when expandable items are shown.
2012-06-02 16:09:24 +02:00
Peter Penz 5269938f24 Don't remove/insert an item if no moving has been done at all 2012-06-02 15:53:50 +02:00
Peter Penz a2674f5184 Provide a default name when adding a search query to the places panel
BUG: 300430
FIXED-IN: 4.9.0
2012-06-02 15:47:17 +02:00
Peter Penz 12215d6f0f Use PlacesItemModel instead of KFilePlacesModel
This allows inserting items to the corresponding group.
2012-06-02 15:03:22 +02:00
Peter Penz 665c44821e Always use single-click for the places panels
BUG: 300924
FIXED-IN: 4.9.0
2012-05-31 14:03:57 +02:00
Frank Reininghaus 397f8783d9 Improve arrow key navigation in Details View with expanded folders
If the current folder is collapsed, pressing the left arrow key now
moves the focus to the parent folder.

CCBUG: 300582
(cherry picked from commit 93daadae28)
2012-05-30 09:26:31 +02:00
Peter Penz 203449110e Get rid of obsolete DolphinPlacesModel 2012-05-29 13:14:12 +02:00
Peter Penz 4e2f3dcffe Implement dropping of items into the Places Panel
Some polishing regarding the icons and group-alignment must still
be done, but at least the basic functionality is back again.
2012-05-28 23:11:52 +02:00
Peter Penz 276100dcec Fix triggering of Q_ASSERT in PlacesItemModel
Check the group-type of an item to decide whether the item
should be inserted as device or not.

BUG: 300671
FIXED-IN: 4.9.0
2012-05-26 22:01:37 +02:00
Mark Gaiser a5c25d2de5 Make tooltip background blurred.
REVIEW: 105061
2012-05-26 18:05:25 +02:00
Frank Reininghaus 23ab605157 Show all items in the directory when the name filter is cleared
The problem was the following: While a QMutableSetIterator iterates the
items in the QSet m_filteredItems, all items that match the new filter
are removed from the set. However, to ensure that the iterator still
reaches all items in the set, one must not use QSet::remove(), but
rather the iterator's remove() method (see QMutableSetIterator docs).

CCBUG: 300504
(cherry picked from commit 288473a96c)
2012-05-26 16:35:31 +02:00
Frank Reininghaus f061d2a6b3 Use an italic font for symbolic links
BUG: 298218
FIXED-IN: 4.9.0
2012-05-26 15:32:57 +02:00
Peter Penz e76ec71536 Minor coding style fixes 2012-05-26 13:46:30 +02:00