Commit graph

3959 commits

Author SHA1 Message Date
Script Kiddy 81bac38f2c SVN_SILENT made messages (.desktop file) 2012-07-24 19:23:37 +02:00
Dawit Alemayehu ec2d5c7a7f Show the "Find File" and "Open Terminal" actions in the Tools for file URLs only.
BUG: 279283
FIXED-IN: 4.9.0
REVIEW: 105607
2012-07-22 17:29:31 -04:00
David Faure 43474e7b9d Fix compiler warning, which spotted a real bug.
ItemLayout is an enum, not a flag, so == is even more correct than '&'.
2012-07-20 12:11:45 +02:00
David Faure 149975a004 Fix bug 303375 - Dots in directory names treated as file extension.
Patch by Emmanuel Pescosta <emmanuelpescosta099@gmail.com>

BUG: 303375
REVIEW: 105575
FIXED-IN: 4.9.0
2012-07-20 12:09:04 +02:00
David Faure 4a0454ff88 Fix open-in-new-window to work with remote URLs
FIXED-IN: 4.9.0
BUGS: 274655, 292822
2012-07-18 20:41:38 +02:00
Christoph Feck 3dbe88e42a 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
(cherry picked from commit 79211f6e48)
2012-07-18 01:30:32 +02:00
Frank Reininghaus b8ef5ebca1 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.

BUG: 302557
FIXED-IN: 4.9.0
(cherry picked from commit f4c9600251)
2012-07-12 00:41:20 +02:00
Frank Reininghaus 56b992c486 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!

BUG: 303157
FIXED-IN: 4.9.0
(cherry picked from commit 9940244ddd)
2012-07-12 00:40:09 +02:00
Script Kiddy fbde0901b7 SVN_SILENT made messages (.desktop file) 2012-07-09 11:10:38 +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
Peter Penz 073f8cae13 Further preperations for drag & drop support in the places panel 2012-05-26 13:41:30 +02:00
Dawit Alemayehu f7622d3239 Removed unused list iterators 2012-05-24 13:37:41 -04:00
Jekyll Wu a5aa8d7bd6 Use KService to lookup the library name of konsolepart
See https://git.reviewboard.kde.org/r/105028/
2012-05-25 00:54:08 +08:00
Frank Reininghaus 0f70b60480 Enable the "Empty Trash" action if items are deleted by non-KDE apps
To achieve this, the Places Panel context menu now checks the icon of
the "Trash" item (which is updated by a dir lister that watches the
state of the trash), rather then reading a config file which is only
used by KDE applications.

BUG: 293651
FIXED-IN: 4.9.0
2012-05-21 23:19:08 +02:00
Peter Penz ff9ce4dab3 Colorize icons when an item is selected
BUG: 295515
FIXED-IN: 4.9.0
2012-05-21 22:41:57 +02:00