]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
13 years agoFirst version of a unit test for KItemListController
Frank Reininghaus [Wed, 1 Feb 2012 20:52:50 +0000 (21:52 +0100)]
First version of a unit test for KItemListController

At the moment, only key press events are tested, and the current item
and selection after the event are verified.
Moreover, this commit makes sure that
KItemListController::keyPressEvent() really does not select anything
if the selection mode is NoSelection.
(cherry picked from commit 7457f4868cf0bc83e8a90ce5693292378f3d07c4)

13 years agoKFileItemModelRolesUpdater: Optimize updates
Peter Penz [Wed, 1 Feb 2012 19:40:57 +0000 (20:40 +0100)]
KFileItemModelRolesUpdater: Optimize updates

The asynchronous resolving to bypass performance bottlenecks is not necessary
anymore as multiple ranges can be inserted in one step now. This solves the issue
that e.g. opening a tree resulted in temporary unknown icons for a short period
of time.

13 years agoDon't animate items if the number of grid elements has been changed
Peter Penz [Wed, 1 Feb 2012 12:46:24 +0000 (13:46 +0100)]
Don't animate items if the number of grid elements has been changed

Having animated items is useful when e.g. deleting or inserting one
item or when the size or position slightly changes by increasing the
zoom level or the window size. However if the number of rows or columns
change, the animation gets obtrusive and in this case lets just apply
the final layout.

13 years agoFix keyboard navigation issue when Home or End are pressed
Frank Reininghaus [Tue, 31 Jan 2012 22:12:36 +0000 (23:12 +0100)]
Fix keyboard navigation issue when Home or End are pressed

The problem was that m_keyboardAnchorIndex and m_keyboardAnchorPos were
not updated when Home or End are pressed. This causes the following
unexpected behavior in Icons View: Press Home, then Right, then Down,
then Home, finally Down. One would expect that the first item in the
second row is the current item then, but before this commit, it was the
second one because the controller still remembered that the second
column was active before Home was pressed.
(cherry picked from commit 999234a94ae41cfb4f2167d2779b562ebf8127ce)

13 years agoAnimation optimizations
Peter Penz [Tue, 31 Jan 2012 20:23:16 +0000 (21:23 +0100)]
Animation optimizations

Prevent that the moving-animation crosses other items when zooming or
changing the window size.

13 years agoFix sorting issues
Peter Penz [Tue, 31 Jan 2012 13:58:25 +0000 (14:58 +0100)]
Fix sorting issues

For some roles the sorting has not been implemented.

BUG: 292941
FIXED-IN: 4.8.1

13 years agoAdjust zoom-slider in the statusbar if settings have been changed
Peter Penz [Tue, 31 Jan 2012 12:43:44 +0000 (13:43 +0100)]
Adjust zoom-slider in the statusbar if settings have been changed

This fixes the issue that changing the zoom-level in the settings
does not update the zoom-slider in the statusbar.

13 years agoApply changed home-URL to the URL navigator
Peter Penz [Tue, 31 Jan 2012 12:29:43 +0000 (13:29 +0100)]
Apply changed home-URL to the URL navigator

BUG: 291043
FIXED-IN: 4.8.1

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 31 Jan 2012 15:19:58 +0000 (16:19 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoOnly move the items if at least one direction is within the item size
Peter Penz [Mon, 30 Jan 2012 13:06:07 +0000 (14:06 +0100)]
Only move the items if at least one direction is within the item size

13 years agoSynchronize view-mode settings before the settings dialog gets opened
Peter Penz [Mon, 30 Jan 2012 15:36:40 +0000 (16:36 +0100)]
Synchronize view-mode settings before the settings dialog gets opened

BUG: 292698
FIXED-IN: 4.8.1

13 years agoFurther animation optimizations
Peter Penz [Mon, 30 Jan 2012 11:59:38 +0000 (12:59 +0100)]
Further animation optimizations

- Assure a proper minimim width in the compact mode.
- Don't calculate the old position of hidden items to animate the
  moving. Just show them directly.

13 years agoFix drag & drop issues with non-local URLs
Peter Penz [Mon, 30 Jan 2012 11:07:08 +0000 (12:07 +0100)]
Fix drag & drop issues with non-local URLs

BUG: 292821
BUG: 292355
FIXED-IN: 4.8.1

13 years agoFix crash in Compact View if view height is smaller then item height
Frank Reininghaus [Mon, 30 Jan 2012 09:07:03 +0000 (10:07 +0100)]
Fix crash in Compact View if view height is smaller then item height

CCBUG: 292816
FIXED-IN: 4.8.1
(cherry picked from commit f5ecaee9c40c940fe8e1bf4a7d50fe0b18e1932b)

13 years agoMake moving animations less obtrusive
Peter Penz [Sun, 29 Jan 2012 17:29:00 +0000 (18:29 +0100)]
Make moving animations less obtrusive

Only animate the moving of items if the new position is within the same
row or the same column. Otherwise just fade in the icon on the new position.
This makes the the animations when resizing the window or changing the zoom-level
a lot more pleasant.

CCBUG: 289238

13 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 29 Jan 2012 10:35:27 +0000 (11:35 +0100)]
SVN_SILENT made messages (.desktop file)

13 years agoFix regression: Respect "natural sorting" setting
Peter Penz [Sat, 28 Jan 2012 20:17:01 +0000 (21:17 +0100)]
Fix regression: Respect "natural sorting" setting

BUG: 292270
FIXED-IN: 4.8.1

13 years agoAssure to mark an item as unhovered on a drag-leave event
Peter Penz [Sat, 28 Jan 2012 10:03:22 +0000 (11:03 +0100)]
Assure to mark an item as unhovered on a drag-leave event

BUG: 292501
FIXED-IN: 4.8.1

13 years ago--warning
Peter Penz [Sat, 28 Jan 2012 09:50:38 +0000 (10:50 +0100)]
--warning

13 years ago--warning
Peter Penz [Sat, 28 Jan 2012 09:46:59 +0000 (10:46 +0100)]
--warning

13 years agoFix regression: Allow dragging items on a tab
Peter Penz [Fri, 27 Jan 2012 20:52:29 +0000 (21:52 +0100)]
Fix regression: Allow dragging items on a tab

BUG: 292505
FIXED-IN: 4.8.1

13 years agoDon't crash when opening a tab with enabled split view
Peter Penz [Fri, 27 Jan 2012 20:30:27 +0000 (21:30 +0100)]
Don't crash when opening a tab with enabled split view

BUG: 292470
FIXED-IN: 4.8.1

13 years agoHandle folder names containing spaces correctly in the Folders Panel
Frank Reininghaus [Wed, 25 Jan 2012 20:30:57 +0000 (21:30 +0100)]
Handle folder names containing spaces correctly in the Folders Panel

The problem was that KFileItemModel::setExpanded() used KUrl::url()
to determine the names of the subfolders. This method encodes special
characters, such that comparing the folder names with the unencoded URLs
stored in the model fails.
Using KUrl::path(), which does not encode special characters, fixes the
problem.

CCBUG: 291781
FIXED-IN: 4.8.1
(cherry picked from commit 80d9bfec580bf01b0ee584fc4bb46e3d59a0ba7c)

13 years agoTerminal: only consider process IDs > 0
Peter Penz [Wed, 25 Jan 2012 14:18:09 +0000 (15:18 +0100)]
Terminal: only consider process IDs > 0

Thanks to Jekyll Wu for the analyses.

CCBUG: 286367

13 years agoMake sure that Control+click toggles the selection state
Frank Reininghaus [Mon, 23 Jan 2012 18:28:21 +0000 (19:28 +0100)]
Make sure that Control+click toggles the selection state

This commit fixes a regression caused by the recent commit
9f711b5f2e1d1fd856cd6b033e6adb96f9b46d8a.
CCBUG: 292250
(cherry picked from commit 84a9cc4bf6e9decc4c102102c4b04162369eb0fe)

13 years agoDo not make items invisible when turning off previews
Frank Reininghaus [Thu, 19 Jan 2012 18:52:51 +0000 (19:52 +0100)]
Do not make items invisible when turning off previews

This commit fixes a problem in KItemListView::doLayout(): This function
assumed that firstVisibleIndex is a constant.
However, if the view is scrolled to the bottom with previews enabled,
and then previews are disabled (and the icon size is much smaller
without previews), this function changes the scroll offset, which also
changes the the first visible index. Using the unchanged variable causes
trouble later on (i.e., it makes items which are actually inside the
view area invisible).
lastVisibleIndex is not needed before the scroll offset change and is
const after that, so its calculation is moved a few lines down.
CCBUG: 291841
FIXED-IN: 4.8.1
(cherry picked from commit cc8f5b4939062df44ce0bd314ac4ae04973b9830)

13 years agoWhen populating the "Show Remote Encoding" menu, put the check mark besides
Dawit Alemayehu [Wed, 18 Jan 2012 18:30:54 +0000 (13:30 -0500)]
When populating the "Show Remote Encoding" menu, put the check mark besides
the correct saved remote encoding charset.

BUG: 186289
FIXED-IN: 4.8.0
REVIEW: 103730
(cherry picked from commit 8f231bd08134f7b1870a9c1747429c1b05174d62)

13 years agoMake PageUp/PageDown work in Dolphin's new view engine
Frank Reininghaus [Wed, 18 Jan 2012 09:18:47 +0000 (10:18 +0100)]
Make PageUp/PageDown work in Dolphin's new view engine

BUG: 288748
FIXED-IN: 4.8.0
REVIEW: 103721
(cherry picked from commit e56a363aa6106477fa1577cb0b1bc2a6389910c8)

13 years agoFix typo, which caused a Qt runtime warning when closing Dolphin
Frank Reininghaus [Wed, 18 Jan 2012 08:35:43 +0000 (09:35 +0100)]
Fix typo, which caused a Qt runtime warning when closing Dolphin

(cherry picked from commit dbf0bfffa72c190ed1c8b406c65c9e67b6f65d4f)

13 years agoAvoid unnecessary animations when switching view modes
Peter Penz [Tue, 17 Jan 2012 22:42:55 +0000 (23:42 +0100)]
Avoid unnecessary animations when switching view modes

Thanks to Nikita Skovoroda for the initial patch and the analyses.

BUG: 290947
FIXED-IN: 4.8.0

13 years agoFix probably wrong alternative background color
Peter Penz [Tue, 17 Jan 2012 20:17:35 +0000 (21:17 +0100)]
Fix probably wrong alternative background color

Thanks to Nikita Skovoroda for the patch!

CCMAIL: chalkerx@gmail.com

13 years agoDo a synchronous layout for dynamic item sizes when changing the geometry
Peter Penz [Tue, 17 Jan 2012 20:08:39 +0000 (21:08 +0100)]
Do a synchronous layout for dynamic item sizes when changing the geometry

This prevents a delayed update when resizing the window e.g. in the details
view. As no animated item position changes can happen for dynamic item sizes
the synchronous relayout is fine from a performance point of view.

BUG: 290953
FIXED-IN: 4.8.0

13 years agoDisable smooth-scrolling dependent on the graphics-effect level
Peter Penz [Tue, 17 Jan 2012 08:57:58 +0000 (09:57 +0100)]
Disable smooth-scrolling dependent on the graphics-effect level

If the graphics-effect-level has been set to NoEffects (systemsettings -> Appearance
-> Style -> Fine Tuning), the smooth scrolling in Dolphin will be disabled.

Additionally the duration for the smooth-scrolling has been decreased from 200 ms
to 100 ms to reduce the lag.

A wrong calculation of the end-value has been fixed that might trigger
a wrong position of the content.

BUG: 291740
BUG: 291607
FIXED-IN: 4.8.0

13 years agoIf an item is clicked to trigger it, clear the rest of the selection
Frank Reininghaus [Mon, 16 Jan 2012 18:59:54 +0000 (19:59 +0100)]
If an item is clicked to trigger it, clear the rest of the selection

Note that the clearing is not done on mouse press, but on mouse release.
The reason is that there are situations when multiple items are selected
and pressing the mouse on one of them should not clear the selection
(e.g., drag and drop of multiple items).

BUG: 290854
REVIEW: 103703
FIXED-IN: 4.8.0
(cherry picked from commit 9f711b5f2e1d1fd856cd6b033e6adb96f9b46d8a)

13 years agoUse new icon for "Show in groups"
Peter Penz [Mon, 16 Jan 2012 14:37:32 +0000 (15:37 +0100)]
Use new icon for "Show in groups"

This allows adding the "Show in groups" action to the toolbar with
a nice icon.

CCBUG: 290632

13 years agofix build of tests on windows
Patrick Spendrin [Sun, 15 Jan 2012 14:49:34 +0000 (15:49 +0100)]
fix build of tests on windows

13 years agoDon't select items if the selection toggle has been disabled
Peter Penz [Sun, 15 Jan 2012 09:50:53 +0000 (10:50 +0100)]
Don't select items if the selection toggle has been disabled

13 years agoDon't show a expanding-toggle in the Folders Panel if there are no subdirectories
Peter Penz [Sun, 15 Jan 2012 09:39:11 +0000 (10:39 +0100)]
Don't show a expanding-toggle in the Folders Panel if there are no subdirectories

BUG: 290745
FIXED-IN: 4.8.0

13 years agoAssure an active view when activating an item
Peter Penz [Sat, 14 Jan 2012 21:00:22 +0000 (22:00 +0100)]
Assure an active view when activating an item

This might not be the case when e.g. having a split view, having enabled the "auto
expand folders" option and dragging an item from the active view to another
folder of the inactive view.

13 years agoFix "general settings" issues
Peter Penz [Sat, 14 Jan 2012 20:44:50 +0000 (21:44 +0100)]
Fix "general settings" issues

If the general settings for the "selection toggle" or "expanding folders during
drag operations" are changed, those changes must be applied to the engine.

13 years agoFix issue when deleting items with the context menu
Peter Penz [Sat, 14 Jan 2012 19:02:11 +0000 (20:02 +0100)]
Fix issue when deleting items with the context menu

Thanks to Jekyll Wu for the analyses of the issue!

BUG: 290307
BUG: 269096
BUG: 290954
BUG: 264583
FIXED-IN: 4.8.0

13 years agoFix possible crash in version-control observer
Peter Penz [Sat, 14 Jan 2012 18:25:49 +0000 (19:25 +0100)]
Fix possible crash in version-control observer

BUG: 291505
FIXED-IN: 4.8.0

13 years agoFix current-item indicator in combination with the cleanlooks style
Peter Penz [Sat, 14 Jan 2012 10:29:24 +0000 (11:29 +0100)]
Fix current-item indicator in combination with the cleanlooks style

Thanks to Christoph Feck for the hint.

BUG: 290536
FIXED-IN: 4.8.0

13 years agoFix selection issue when expanding a tree
Peter Penz [Wed, 11 Jan 2012 21:33:20 +0000 (22:33 +0100)]
Fix selection issue when expanding a tree

The selection anchor must be reset when changing the current item
to the root of the tree.

BUG: 290832
FIXED-IN: 4.8.0

14 years agoPrevent accessing an item with an invalid index
Peter Penz [Wed, 11 Jan 2012 15:13:16 +0000 (16:13 +0100)]
Prevent accessing an item with an invalid index

14 years agoFix issue that shift + drag does not move files
Peter Penz [Tue, 10 Jan 2012 16:22:30 +0000 (17:22 +0100)]
Fix issue that shift + drag does not move files

BUG: 291103
FIXED-IN: 4.8.0

14 years agoUse the same icon size for the compact-view like the details-view per default
Peter Penz [Tue, 10 Jan 2012 16:06:40 +0000 (17:06 +0100)]
Use the same icon size for the compact-view like the details-view per default

14 years agoMerge remote-tracking branch 'origin/KDE/4.8'
Jekyll Wu [Tue, 10 Jan 2012 12:09:21 +0000 (20:09 +0800)]
Merge remote-tracking branch 'origin/KDE/4.8'

Conflicts:
dolphin/src/main.cpp

14 years agoMiddle clicking the 'Home' button should open home folder in a new tab
Jekyll Wu [Mon, 9 Jan 2012 05:54:57 +0000 (13:54 +0800)]
Middle clicking the 'Home' button should open home folder in a new tab

The general idea is to make it behave consistently with other navigating
buttons.

BUG: 278194
FIXED-IN:4.8.0
REVIEW:103659

14 years agoPrevent generating previews all the time during downloading a large file
Peter Penz [Mon, 9 Jan 2012 21:10:12 +0000 (22:10 +0100)]
Prevent generating previews all the time during downloading a large file

When downloading a large file the preview should not be recreated each time
a change-notification has been received. Create the preview after getting
the first file change, but postpone creating the next previews until no change
has been done during a longer period of time.

BUG: 290698
FIXED-IN: 4.8.0

14 years agoPrevent generating previews all the time during downloading a large file
Peter Penz [Mon, 9 Jan 2012 21:10:12 +0000 (22:10 +0100)]
Prevent generating previews all the time during downloading a large file

When downloading a large file the preview should not be recreated each time
a change-notification has been received. Create the preview after getting
the first file change, but postpone creating the next previews until no change
has been done during a longer period of time.

BUG: 290698
FIXED-IN: 4.8.0

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Mon, 9 Jan 2012 07:30:24 +0000 (08:30 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoRevert patch using the native graphicssystem as default
Peter Penz [Sat, 7 Jan 2012 17:18:43 +0000 (18:18 +0100)]
Revert patch using the native graphicssystem as default

I'm trusting Christoph Feck's advice here. Additionally the smooth scaling
has been activated to fix bug 290865.

BUG: 290865
FIXED-IN: 4.8.0

14 years agoRevert patch using the native graphicssystem as default
Peter Penz [Sat, 7 Jan 2012 17:18:43 +0000 (18:18 +0100)]
Revert patch using the native graphicssystem as default

I'm trusting Christoph Feck's advice here. Additionally the smooth scaling
has been activated to fix bug 290865.

BUG: 290865
FIXED-IN: 4.8.0

14 years agoUse the native graphicssystem per default
Peter Penz [Sat, 7 Jan 2012 11:32:06 +0000 (12:32 +0100)]
Use the native graphicssystem per default

The scaling of pixmaps is just way too slow with the raster graphicssystem (see KPixmapModifier::scalePixmap()). It is of course still possible to run Dolphin
with the raster graphicssystem, but this has to be done explicitly then.

CCBUG: 290865

14 years agoUse the native graphicssystem per default
Peter Penz [Sat, 7 Jan 2012 11:32:06 +0000 (12:32 +0100)]
Use the native graphicssystem per default

The scaling of pixmaps is just way too slow with the raster graphicssystem (see KPixmapModifier::scalePixmap()). It is of course still possible to run Dolphin
with the raster graphicssystem, but this has to be done explicitly then.

CCBUG: 290865

14 years agoDetails view: Fix wrong expansion level
Peter Penz [Fri, 6 Jan 2012 17:00:07 +0000 (18:00 +0100)]
Details view: Fix wrong expansion level

The calculation of the root-expansion level had been incorrect which
lead to a wrong indentation on some directories.

BUG: 290757
FIXED-IN: 4.8.0

14 years agoDetails view: Fix wrong expansion level
Peter Penz [Fri, 6 Jan 2012 17:00:07 +0000 (18:00 +0100)]
Details view: Fix wrong expansion level

The calculation of the root-expansion level had been incorrect which
lead to a wrong indentation on some directories.

BUG: 290757
FIXED-IN: 4.8.0

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Fri, 6 Jan 2012 07:38:18 +0000 (08:38 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoTemporary skip 2 unit-tests in KFileItemModel
Peter Penz [Thu, 5 Jan 2012 20:37:58 +0000 (21:37 +0100)]
Temporary skip 2 unit-tests in KFileItemModel

KFileItemModel::resortAllItems() always emits a itemsMoved() signal since some
time. Before blindly adjusting the tests lets discuss first whether
resortAllItems() should be used in this context.

14 years agoTemporary skip 2 unit-tests in KFileItemModel
Peter Penz [Thu, 5 Jan 2012 20:37:58 +0000 (21:37 +0100)]
Temporary skip 2 unit-tests in KFileItemModel

KFileItemModel::resortAllItems() always emits a itemsMoved() signal since some
time. Before blindly adjusting the tests lets discuss first whether
resortAllItems() should be used in this context.

14 years agoFix issue that an empty directory is shown in the split mode
Peter Penz [Thu, 5 Jan 2012 20:23:46 +0000 (21:23 +0100)]
Fix issue that an empty directory is shown in the split mode

Root-cause was that the signal KDirLister::completed(KUrl) must be watched
by the model and not KDirLister::completed().

BUG: 290182
FIXED-IN: 4.8.0

14 years agoFix issue that an empty directory is shown in the split mode
Peter Penz [Thu, 5 Jan 2012 20:23:46 +0000 (21:23 +0100)]
Fix issue that an empty directory is shown in the split mode

Root-cause was that the signal KDirLister::completed(KUrl) must be watched
by the model and not KDirLister::completed().

BUG: 290182
FIXED-IN: 4.8.0

14 years agoFolders Panel: Activate folders on single-click
Peter Penz [Thu, 5 Jan 2012 19:41:59 +0000 (20:41 +0100)]
Folders Panel: Activate folders on single-click

Even if double-click is used as default setting, the folders panel should
open folders with a single-click.

BUG: 289971
FIXED-IN: 4.8.0

14 years agoFolders Panel: Activate folders on single-click
Peter Penz [Thu, 5 Jan 2012 19:41:59 +0000 (20:41 +0100)]
Folders Panel: Activate folders on single-click

Even if double-click is used as default setting, the folders panel should
open folders with a single-click.

BUG: 289971
FIXED-IN: 4.8.0

14 years agoFix style-issues in items when not using Oxygen
Peter Penz [Thu, 5 Jan 2012 19:13:49 +0000 (20:13 +0100)]
Fix style-issues in items when not using Oxygen

Thanks to Jonathan Marten and Christoph Feck for the analyses
and the patch.

Still open: The focus frame in cleanlooks is not drawn.

CCBUG: 290536

14 years agoFix style-issues in items when not using Oxygen
Peter Penz [Thu, 5 Jan 2012 19:13:49 +0000 (20:13 +0100)]
Fix style-issues in items when not using Oxygen

Thanks to Jonathan Marten and Christoph Feck for the analyses
and the patch.

Still open: The focus frame in cleanlooks is not drawn.

CCBUG: 290536

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Wed, 4 Jan 2012 08:28:08 +0000 (09:28 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 3 Jan 2012 15:51:07 +0000 (16:51 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoFix inconsistency in selection manager
Peter Penz [Thu, 29 Dec 2011 23:02:17 +0000 (00:02 +0100)]
Fix inconsistency in selection manager

When a selection has been done with non-linear ranges, it was possible that
the anchor item pointed to an invalid index that resulted into an invalid
selection.

As part of this fix the sorting for DolphinView::selectedItems() has been
disabled (if the caller assumes a sorted selection he must manually adjust it).

BUG: 288908
FIXED-IN: 4.8.0

14 years agoFix inconsistency in selection manager
Peter Penz [Thu, 29 Dec 2011 23:02:17 +0000 (00:02 +0100)]
Fix inconsistency in selection manager

When a selection has been done with non-linear ranges, it was possible that
the anchor item pointed to an invalid index that resulted into an invalid
selection.

As part of this fix the sorting for DolphinView::selectedItems() has been
disabled (if the caller assumes a sorted selection he must manually adjust it).

BUG: 288908
FIXED-IN: 4.8.0

14 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Thu, 29 Dec 2011 09:43:55 +0000 (10:43 +0100)]
SVN_SILENT made messages (.desktop file)

14 years agoKDiskFreeSpace already uses KMountPoint internally, we can give it any path.
David Faure [Thu, 29 Dec 2011 08:48:53 +0000 (09:48 +0100)]
KDiskFreeSpace already uses KMountPoint internally, we can give it any path.

14 years agoFix issue that dragging pictures/videos to Google-Search/YouTube fails
Peter Penz [Tue, 27 Dec 2011 14:50:02 +0000 (15:50 +0100)]
Fix issue that dragging pictures/videos to Google-Search/YouTube fails

BUG: 289917
BUG: 278236
FIXED-IN: 4.8.0

14 years agoFix issue that dragging pictures/videos to Google-Search/YouTube fails
Peter Penz [Tue, 27 Dec 2011 14:50:02 +0000 (15:50 +0100)]
Fix issue that dragging pictures/videos to Google-Search/YouTube fails

BUG: 289917
BUG: 278236
FIXED-IN: 4.8.0

14 years agoFix group-header clipping in compact mode
Peter Penz [Tue, 27 Dec 2011 08:09:57 +0000 (09:09 +0100)]
Fix group-header clipping in compact mode

14 years agoFix group-header clipping in compact mode
Peter Penz [Tue, 27 Dec 2011 08:09:57 +0000 (09:09 +0100)]
Fix group-header clipping in compact mode

14 years agoFix icon alignment issue in the details view
Peter Penz [Tue, 27 Dec 2011 07:32:45 +0000 (08:32 +0100)]
Fix icon alignment issue in the details view

BUG: 289889
FIXED-IN: 4.8.0

14 years agoFix icon alignment issue in the details view
Peter Penz [Tue, 27 Dec 2011 07:32:45 +0000 (08:32 +0100)]
Fix icon alignment issue in the details view

BUG: 289889
FIXED-IN: 4.8.0

14 years agoMinor cleanup: Rename m_keyboardAnchorXPos to m_keyboardAnchorPos
Peter Penz [Mon, 26 Dec 2011 21:42:49 +0000 (22:42 +0100)]
Minor cleanup: Rename m_keyboardAnchorXPos to m_keyboardAnchorPos

14 years agoMinor cleanup: Rename m_keyboardAnchorXPos to m_keyboardAnchorPos
Peter Penz [Mon, 26 Dec 2011 21:42:49 +0000 (22:42 +0100)]
Minor cleanup: Rename m_keyboardAnchorXPos to m_keyboardAnchorPos

14 years agoImprove item offset scrolling
Peter Penz [Mon, 26 Dec 2011 21:28:54 +0000 (22:28 +0100)]
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.

14 years agoImprove item offset scrolling
Peter Penz [Mon, 26 Dec 2011 21:28:54 +0000 (22:28 +0100)]
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.

14 years agoFix keyboard issues when groups are enabled
Peter Penz [Mon, 26 Dec 2011 21:16:32 +0000 (22:16 +0100)]
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

14 years agoFix keyboard issues when groups are enabled
Peter Penz [Mon, 26 Dec 2011 21:16:32 +0000 (22:16 +0100)]
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

14 years agoFix grouping issue
Peter Penz [Sun, 25 Dec 2011 21:34:45 +0000 (22:34 +0100)]
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

14 years agoFix grouping issue
Peter Penz [Sun, 25 Dec 2011 21:34:45 +0000 (22:34 +0100)]
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

14 years agoFix wrong grouping of types
Peter Penz [Sun, 25 Dec 2011 10:35:05 +0000 (11:35 +0100)]
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

14 years agoFix wrong grouping of types
Peter Penz [Sun, 25 Dec 2011 10:35:05 +0000 (11:35 +0100)]
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

14 years agoFix sort-issue for trees
Peter Penz [Sat, 24 Dec 2011 13:12:09 +0000 (14:12 +0100)]
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

14 years agoFix sort-issue for trees
Peter Penz [Sat, 24 Dec 2011 13:12:09 +0000 (14:12 +0100)]
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

14 years agoDon't show the name as part of the "path" role
Peter Penz [Fri, 23 Dec 2011 22:36:32 +0000 (23:36 +0100)]
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

14 years agoDon't show the name as part of the "path" role
Peter Penz [Fri, 23 Dec 2011 22:36:32 +0000 (23:36 +0100)]
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

14 years agoIntroduce "isExpandable" role
Peter Penz [Fri, 23 Dec 2011 22:05:08 +0000 (23:05 +0100)]
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

14 years agoIntroduce "isExpandable" role
Peter Penz [Fri, 23 Dec 2011 22:05:08 +0000 (23:05 +0100)]
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

14 years agoFix possible double entries in details view
Peter Penz [Fri, 23 Dec 2011 20:10:32 +0000 (21:10 +0100)]
Fix possible double entries in details view

The patch 30ae57ba807ecadfdef833a4895621fc330badc9 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

14 years agoFix possible double entries in details view
Peter Penz [Fri, 23 Dec 2011 20:10:32 +0000 (21:10 +0100)]
Fix possible double entries in details view

The patch 30ae57ba807ecadfdef833a4895621fc330badc9 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

14 years agoThe key "space" should select the current item
Peter Penz [Fri, 23 Dec 2011 15:01:23 +0000 (16:01 +0100)]
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

14 years agoThe key "space" should select the current item
Peter Penz [Fri, 23 Dec 2011 15:01:23 +0000 (16:01 +0100)]
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

14 years agoIncreased version number
Peter Penz [Fri, 23 Dec 2011 13:39:44 +0000 (14:39 +0100)]
Increased version number