Commit graph

211 commits

Author SHA1 Message Date
Frank Reininghaus 258a29f61f Initial support for anchored selections in the selection manager 2011-08-10 11:43:05 +02:00
Frank Reininghaus bb80d1877a Update the anchor item when items are added or removed
If items are added or removed in the model, not only the
current item, but also the anchor item, which is the
starting point for any selections via Shift+Click or
Shift+Key, needs to be updated.
BUG: 262638
FIXED-IN: 4.8.0
2011-08-10 10:38:24 +02:00
Peter Penz 3957884bf2 Improvements for selections, smooth scrolling, tooltips and info-panel 2011-08-09 16:22:36 +02:00
Frank Reininghaus 225fd7073e Underline the current item in KFileItemListView
It still looks a bit ugly, but at least we can see the current
item now :-) It is only updated by mouse clicks at the moment.
2011-08-04 09:52:45 +02:00
Frank Reininghaus e326199727 Shift-clicks and Control-clicks should not open the item 2011-08-03 00:44:36 +02:00
Frank Reininghaus 3547357862 Update current item and anchor item on mouse clicks 2011-08-03 00:44:29 +02:00
Frank Reininghaus 71ccc7e361 Inform the selection manager about model changes. 2011-08-02 23:56:46 +02:00
Peter Penz 8ea76d0a0e Improve performance for creating previews
The overall time for creating previews is faster the more items
are passed to KIO::previewJob() in parallel instead of passing
e.g. only 100 items once and start several KIO::previewJobs
sequentially.

However in the worst case KIO::previewJob() might
block the application for several seconds if the
MIME-type of the passed KFileItems are unknown and e.g. 10000 items
are forwarded.

So KFileItemModelRolesUpdater will now take care to resolve as many
MIME-types as possible until a timeout is reached and will only pass
those items to KIO::previewJob().

For huge image folders, where the MIME-type can be determined very
fast, this means that the overall time for creating previews will
decrease without blocking the application. For "worst case" directories
where resolving the MIME-type can get very expensive this approach
assures no blocking of the user-interface although the overall time
until all previews are generated might slightly increase.
2011-08-02 19:54:39 +02:00
Frank Reininghaus 94f3320444 Fix unwanted triggering of items
An item should only be triggered after a mouse release
event if the mouse press has been done at the same position.
2011-08-02 09:25:41 +02:00
Montel Laurent 08d655c2bc normalize signals/slots 2011-07-31 13:33:56 +02:00
Peter Penz f23e9496f3 Merged very early alpha-version of Dolphin 2.0
Dolphin 2.0 will get a new view-engine with the
following improvements:
- Better performance
- Animated transitions
- No clipped filenames due to dynamic item-sizes
- Grouping support for all view-modes
- Non-rectangular selection areas
- Simplified code for better maintenance

More details will be provided in a blog-entry during
the next days.

Please note that the code is in a very
early alpha-stage and although the most tricky parts
have been implemented already very basic things like
drag and drop or selections have not been pushed yet.
Those things are rather trivial to implement but this
still will take some time.
2011-07-30 20:13:41 +02:00