Commit graph

3737 commits

Author SHA1 Message Date
Peter Penz
b5b8d48bb7 Don't show the name as part of the "path" role
This allows a useful grouping by paths when e.g. searching files.

BUG: 269335
FIXED-IN: 4.8.0
2011-12-23 23:38:38 +01:00
Peter Penz
f8d47e7e04 Don't show the name as part of the "path" role
This allows a useful grouping by paths when e.g. searching files.

BUG: 269335
FIXED-IN: 4.8.0
2011-12-23 23:37:53 +01:00
Peter Penz
b2cb38214e Introduce "isExpandable" role
The role is used to determine whether a directory can be expanded at all. This
is e.g. not the case if a directory has 0 items or the target-URL is different
from the item-URL.

The expansion toggle will get hidden if a directory is not expandable.

CCBUG: 288521
2011-12-23 23:19:48 +01:00
Peter Penz
5f02a3e9ce Introduce "isExpandable" role
The role is used to determine whether a directory can be expanded at all. This
is e.g. not the case if a directory has 0 items or the target-URL is different
from the item-URL.

The expansion toggle will get hidden if a directory is not expandable.

CCBUG: 288521
2011-12-23 23:19:19 +01:00
Peter Penz
2cafa66f00 Fix possible double entries in details view
The patch 30ae57ba80 did not resolve the
issue completely: The pending items to insert must be dispatched before
checking for duplicates.

Related to this report the expanding for the remote-protocol has been
disabled.

BUG: 288521
FIXED-IN: 4.8.0
2011-12-23 21:15:48 +01:00
Peter Penz
c2f86821b8 Fix possible double entries in details view
The patch 30ae57ba80 did not resolve the
issue completely: The pending items to insert must be dispatched before
checking for duplicates.

Related to this report the expanding for the remote-protocol has been
disabled.

BUG: 288521
FIXED-IN: 4.8.0
2011-12-23 21:14:28 +01:00
Peter Penz
6f699495b5 The key "space" should select the current item
Also in case if only one item is shown the navigation-keys should
trigger a selection of the current item. This works now consistent
within all view-modes (there have been been behavior differences
in Dolphin 1.7 depending on the used mode).

BUG: 289589
FIXED-IN: 4.8.0
2011-12-23 16:04:32 +01:00
Peter Penz
00c5d7a242 The key "space" should select the current item
Also in case if only one item is shown the navigation-keys should
trigger a selection of the current item. This works now consistent
within all view-modes (there have been been behavior differences
in Dolphin 1.7 depending on the used mode).

BUG: 289589
FIXED-IN: 4.8.0
2011-12-23 16:03:49 +01:00
Peter Penz
f66f24c11e Increased version number 2011-12-23 14:39:44 +01:00
Peter Penz
be1ea44cbb Increased version to 2.0 2011-12-23 14:37:47 +01:00
Script Kiddy
8129069dc8 SVN_SILENT made messages (.desktop file) 2011-12-23 10:33:39 +01:00
Peter Penz
531c88c840 Reenable drag & drop for the URL navigator
BUG: 289568
FIXED-IN: 4.8.0
2011-12-22 22:00:05 +01:00
Peter Penz
84263dd6dc Reenable drag & drop for the URL navigator
BUG: 289568
FIXED-IN: 4.8.0
2011-12-22 21:59:37 +01:00
Peter Penz
32faa14c1a Don't show child items of collapsed parent items
If a parent item got expanded and collapsed again, KDirLister keeps
the items of the previously expanded directory. Hence inserting new
items there will result in emitting the signal newItems() and a check
must be done whether the parent is still expanded.

BUG: 289598
FIXED-IN: 4.8.0
2011-12-22 21:50:30 +01:00
Peter Penz
e0bbf1bf71 Don't show child items of collapsed parent items
If a parent item got expanded and collapsed again, KDirLister keeps
the items of the previously expanded directory. Hence inserting new
items there will result in emitting the signal newItems() and a check
must be done whether the parent is still expanded.

BUG: 289598
FIXED-IN: 4.8.0
2011-12-22 21:49:53 +01:00
Script Kiddy
42c07bebde SVN_SILENT made messages (.desktop file) 2011-12-22 11:37:00 +01:00
Peter Penz
a63c476db2 Fix first visible index calculation
When having a row with different item-heights, the calculation of the
first visible index might have been wrong.
2011-12-21 23:19:08 +01:00
Peter Penz
2c77176c9c Fix first visible index calculation
When having a row with different item-heights, the calculation of the
first visible index might have been wrong.
2011-12-21 23:18:38 +01:00
Peter Penz
965107fd02 Update previews when the preview-plugin settings have changed
Thanks to Janardhan Reddy for the initial patch.

BUG: 288726
FIXED-IN: 4.8.0
2011-12-21 21:48:24 +01:00
Peter Penz
677f94c800 Update previews when the preview-plugin settings have changed
Thanks to Janardhan Reddy for the initial patch.

BUG: 288726
FIXED-IN: 4.8.0
2011-12-21 21:47:40 +01:00
Aaron Seigo
5e0e05e8f0 Merge remote branch 'origin/KDE/4.8'
Conflicts:
	plasma/applets/folderview/folderview.cpp
2011-12-21 17:08:23 +01:00
Script Kiddy
050e094e6b SVN_SILENT made messages (.desktop file) 2011-12-21 09:54:51 +01:00
Peter Penz
a8622c7a1e Fix autoscroll issue when selecting items
If items get selected with the rubberband the scroll offset must stay inside
the visible range.

BUG: 282353
FIXED-IN: 4.8.0
2011-12-20 23:08:26 +01:00
Peter Penz
e71bdb0cf6 Fix autoscroll issue when selecting items
If items get selected with the rubberband the scroll offset must stay inside
the visible range.

BUG: 282353
FIXED-IN: 4.8.0
2011-12-20 23:07:49 +01:00
Peter Penz
d9e1db6ea4 Remove child items when a parent item gets deleted
BUG: 289447
FIXED-IN: 4.8.0
2011-12-20 22:30:15 +01:00
Peter Penz
e76affea64 Remove child items when a parent item gets deleted
BUG: 289447
FIXED-IN: 4.8.0
2011-12-20 22:22:24 +01:00
Script Kiddy
8012fe7da2 SVN_SILENT made messages (.desktop file) 2011-12-20 16:23:36 +01:00
Peter Penz
090393599c Show an error when dragging above a folder without write access
Got OK from the translator team to add this new string.
2011-12-20 08:58:24 +01:00
Frank Reininghaus
a3c41997db KFileItemModel: Always use upper case letters to group by name
This fixes the following problems:
1. In a folder containing the items ~a and b, the first group,
   containing ~a, is named "Others".
2. In a folder containing the items a, ~b, ~c, and ~d, the first group
   "A" contains a and ~b, and the other two items are in the group
   "Others".
2011-12-20 02:03:31 +01:00
Script Kiddy
404d54fc4a SVN_SILENT made messages (.desktop file) 2011-12-19 15:32:33 +01:00
Peter Penz
023ab306c7 Hide tooltips when dragging items 2011-12-18 20:29:34 +01:00
Peter Penz
45a42d6a42 Turn off animations if they are globally disabled
Respect the graphicseffect level in the system settings. This will disable
all item-animations if the graphicseffect level is "NoEffect".

The smooth scrolling won't be disabled in this case, but the duration has been
made smaller so that it is not recognized as an animation.

BUG: 289238
FIXED-IN: 4.8.0
2011-12-18 15:38:42 +01:00
Script Kiddy
36a97150df SVN_SILENT made messages (.desktop file) 2011-12-18 09:51:34 +01:00
Peter Penz
422da53333 Force a root-expansion level for the trash protocol 2011-12-17 23:17:12 +01:00
Peter Penz
999e498a68 Determine the path of the trash-protocol correctly 2011-12-17 23:11:59 +01:00
Peter Penz
5f1ae054d7 Hide tooltips when the view is scrolled 2011-12-17 23:01:41 +01:00
Script Kiddy
e983cbeae5 SVN_SILENT made messages (.desktop file) 2011-12-17 09:44:01 +01:00
Peter Penz
fd60b81573 Animation finetuning
If dynamic item sizes are used don't animate the size of the widget
in along the dynamic direction. This prevents unnecessary animations when
increasing the window width in combination with e.g. the details view.
2011-12-16 23:57:33 +01:00
Peter Penz
d0ba75d13e Minor layout and coding style cleanups
- Disable performance debugging output
- Force a synchronous layout during scrolling. This prevents having a jerky
  scroll-animation if there are pending operations ongoing in parallel.
- Minor coding style cleanups
2011-12-16 23:39:57 +01:00
Peter Penz
ea2ed61cd1 Update the roles if items have been changed
The code "// TODO..." in slotItemsChanged() obviously was not
sufficient ;-)

BUG: 288691
BUG: 288824
BUG: 288921
FIXED-IN: 4.8.0
2011-12-16 22:06:12 +01:00
Peter Penz
f640e48bbe Assure that the general settings are refreshed
This fixes issues where Dolphin must get restarted after changing
a general setting.

BUG: 289131
FIXED-IN: 4.8.0
2011-12-16 19:43:10 +01:00
Peter Penz
d9222cd1ce RenameDialog: Don't disable the OK-button if nothing has been changed
This prevents using the RETURN-key when accidently opening the
renaming dialog.

Thanks to Thomas Murach for pointing this out and providing the patch!

REVIEW: 103414
2011-12-15 16:47:54 +01:00
Script Kiddy
9a11094790 SVN_SILENT made messages (.desktop file) 2011-12-15 09:09:04 +01:00
Frank Reininghaus
dbfba7dfed Start an anchored selection when clicking a selection marker
BUG:200782
FIXED-IN:4.8.0
2011-12-15 00:36:30 +01:00
Peter Penz
065244fac9 Fix descending sort order issue
If the sort order is descending and directories and files are
shown on the same hierarchy level, the sorting was partly wrong.
2011-12-15 00:24:33 +01:00
Peter Penz
756c648f62 Don't show an expansion toggle for locked expansions 2011-12-15 00:05:33 +01:00
Peter Penz
b27aefa798 Fix expansion levels for search results
Force an expansion level of 0 for search results to prevent
showing tabbed child items without parent items.
2011-12-14 23:46:12 +01:00
Peter Penz
0c1ad320d1 Fix filtering issue in combination with expanded items
When items have been expanded they should never get filtered, as
each child item must have a parent item.
2011-12-14 22:59:10 +01:00
Peter Penz
10659d97af Improve private method KFileItemModel::expansionLevelsCompare()
Get rid of the hack to access the m_itemData member for getting
the parent of an item during sorting. ItemData has been extended
by a parent-member which allows a fast and save way to do this.

Sadly this makes the unit-test for expansionLevelsCompare() more
complex and it has been temporary deactivated. I'll take care to
fix this during the next week.
2011-12-14 22:33:34 +01:00
Peter Penz
ee8d9bb4ab Fix comment 2011-12-14 00:03:40 +01:00