Commit graph

3749 commits

Author SHA1 Message Date
Peter Penz
8403383926 Minor cleanup: Rename m_keyboardAnchorXPos to m_keyboardAnchorPos 2011-12-26 22:44:26 +01:00
Peter Penz
ba2c3e89f9 Minor cleanup: Rename m_keyboardAnchorXPos to m_keyboardAnchorPos 2011-12-26 22:43:20 +01:00
Peter Penz
2e2a6ae24c Improve item offset scrolling
Don't check whether the m_layoutTimer is active: Changing the
item offset must always trigger a synchronous layout, otherwise
the smooth-scrolling might get jerky.
2011-12-26 22:30:15 +01:00
Peter Penz
c33c54be7d Improve item offset scrolling
Don't check whether the m_layoutTimer is active: Changing the
item offset must always trigger a synchronous layout, otherwise
the smooth-scrolling might get jerky.
2011-12-26 22:29:44 +01:00
Peter Penz
118fe89449 Fix keyboard issues when groups are enabled
When groups are enabled in Dolphin the key-up and key-down keys did not behave
consistent in comparison to traditional views or like done in editors.

CCBUG: 261995
CCBUG: 262038
2011-12-26 22:22:50 +01:00
Peter Penz
83c5692f5e Fix keyboard issues when groups are enabled
When groups are enabled in Dolphin the key-up and key-down keys did not behave
consistent in comparison to traditional views or like done in editors.

CCBUG: 261995
CCBUG: 262038
2011-12-26 22:22:04 +01:00
Peter Penz
4dc5714016 Fix grouping issue
When switching to a group that is not shown currently, the group headers
won't be updated. The root-cause was that the m_groups-cache must be reset
when the roles have been changed.

CCBUG: 289654
2011-12-25 22:38:34 +01:00
Peter Penz
6212ac6053 Fix grouping issue
When switching to a group that is not shown currently, the group headers
won't be updated. The root-cause was that the m_groups-cache must be reset
when the roles have been changed.

CCBUG: 289654
2011-12-25 22:37:44 +01:00
Peter Penz
ee26791cee Fix wrong grouping of types
- Uninitialized types count as one group
- Let the receiver of the signal itemsMoved() decide whether unmoved items
  really result in an unchanged visual appearance. This might e.g. be the case
  if the grouping is turned on and the group-names change although the items
  themselves have not changed their position.

BUG: 289654
FIXED-IN: 4.8.0
2011-12-25 11:39:46 +01:00
Peter Penz
a237f42ee3 Fix wrong grouping of types
- Uninitialized types count as one group
- Let the receiver of the signal itemsMoved() decide whether unmoved items
  really result in an unchanged visual appearance. This might e.g. be the case
  if the grouping is turned on and the group-names change although the items
  themselves have not changed their position.

BUG: 289654
FIXED-IN: 4.8.0
2011-12-25 11:39:17 +01:00
Peter Penz
00b0bfcd01 Fix sort-issue for trees
If a protocol like fish is used, the sorting of sub-trees was wrong. The root
cause was a wrong comparing of URLs where the protocol was not initialized.

BUG: 289697
FIXED-IN: 4.8.0
2011-12-24 14:16:10 +01:00
Peter Penz
f07315deb0 Fix sort-issue for trees
If a protocol like fish is used, the sorting of sub-trees was wrong. The root
cause was a wrong comparing of URLs where the protocol was not initialized.

BUG: 289697
FIXED-IN: 4.8.0
2011-12-24 14:15:21 +01:00
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