Peter Penz
5372176640
SVN_SILENT: Renamed m_timer to m_infoTimer and slotTimeout() to slotInfoTimeout(), as preperation for a new timer that prevents a flickering of outdated previews.
...
svn path=/trunk/KDE/kdebase/apps/; revision=825916
2008-06-29 16:24:09 +00:00
Peter Penz
b5de4d8ffb
Don't disable the "Properties" action when no file is selected, just use the current folder as source. TODO: the code in DolphinPart::slotProperties() and DolphinMainWindow::properties() is quite similar -> move to DolphinViewActionHandler?
...
CCMAIL: faure@kde.org
BUG: 165311
svn path=/trunk/KDE/kdebase/apps/; revision=825846
2008-06-29 13:54:52 +00:00
Peter Penz
cb32d720d1
provide Ctrl+T as alternative shortcut to Ctrl+Shift+N for "New Tab" like Konqueror
...
BUG: 165309
svn path=/trunk/KDE/kdebase/apps/; revision=825833
2008-06-29 13:36:53 +00:00
Urs Wolfer
8677eafd24
Improve mouse middle click path paste behavior: first check selection clipboard, after 'real' clipboard. Before setting new URL, check if it is a path. This prevents a crash. Behavior is now similar to Konqueror KDE 3.
...
Reviewed by Peter Penz.
svn path=/trunk/KDE/kdebase/apps/; revision=825771
2008-06-29 10:59:24 +00:00
Peter Penz
c446e29bc3
Don't check for "kompare" each time 2 items are selected (thanks to Andreas Scherf). As Albert Astals Cid pointed out it might be nicer to use a menu plugin instead of hardcoding "kompare" (> KDE 4.1).
...
CCMAIL: scherfa@arcor.de
svn path=/trunk/KDE/kdebase/apps/; revision=825587
2008-06-28 18:42:51 +00:00
Peter Penz
15979f49c0
Also allow to use the selection toggle when double click is used. This allows to select/deselect files without CTRL key.
...
BUG: 165115
svn path=/trunk/KDE/kdebase/apps/; revision=825325
2008-06-27 20:20:33 +00:00
Peter Penz
4e4c8d01e3
SVN_SILENT: fix documentation typo
...
svn path=/trunk/KDE/kdebase/apps/; revision=825319
2008-06-27 20:05:15 +00:00
Peter Penz
d96712f50e
tried to simplify the logic to decide whether the information panel should show the information for one file or for a multiple selection
...
CCMAIL: sebastian@trueg.de
svn path=/trunk/KDE/kdebase/apps/; revision=825317
2008-06-27 20:01:04 +00:00
Peter Penz
3a6ee0eee8
Avoid blocking of the GUI when creating previews for invisible items. The blocking part is a relayout, that has been done each time a group of previews have been received.
...
Now only for the visible items a relayout is done as soon as possible, for the previews of invisible items this is postponed until all previews have been generated.
svn path=/trunk/KDE/kdebase/apps/; revision=825304
2008-06-27 19:36:44 +00:00
Sebastian Trueg
868d2c946a
It is hard to understand which is the actual selected item here: m_selection, m_fileItem, or m_shownUrl. Anyway, now the descision for the metadata uses the exact same algo as for the name and preview and it works.
...
svn path=/trunk/KDE/kdebase/apps/; revision=825279
2008-06-27 18:34:52 +00:00
Peter Penz
d6cddc8c7d
Assure that the file capabilities are respected when opening the context menu for the Folder Panel (= treeview). Disable actions that cannot be executed.
...
svn path=/trunk/KDE/kdebase/apps/; revision=824950
2008-06-26 22:34:40 +00:00
Peter Penz
f067201e9f
respect the inline-renaming setting also for the Folder Panel (= treeview)
...
svn path=/trunk/KDE/kdebase/apps/; revision=824946
2008-06-26 22:23:09 +00:00
Peter Penz
71634554cf
assure that the tooltip never exceeds the desktop area
...
BUG: 161895
svn path=/trunk/KDE/kdebase/apps/; revision=824927
2008-06-26 21:41:13 +00:00
Sebastian Trueg
5be4abc3a8
Properly handle setting of an empty tag list.
...
BUG: 164705
svn path=/trunk/KDE/kdebase/apps/; revision=824616
2008-06-26 11:06:44 +00:00
Dirk Mueller
6861a87683
fix linking
...
svn path=/trunk/KDE/kdebase/apps/; revision=824530
2008-06-26 01:29:37 +00:00
Script Kiddy
554a3b1dc2
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=824402
2008-06-25 17:27:50 +00:00
Peter Penz
0df5527c21
fixed issue that CTRL + mouseclick did not work anymore in the details view
...
BUG: 164693
svn path=/trunk/KDE/kdebase/apps/; revision=824372
2008-06-25 17:04:12 +00:00
Peter Penz
fa9da5cbaf
faster + nicer (thanks to André Wöbbeking for the hint)
...
svn path=/trunk/KDE/kdebase/apps/; revision=824312
2008-06-25 16:29:16 +00:00
Peter Penz
65e72704e3
remember old setting of the uniformItemSizes property and restore it again (thanks to Rafael for the hint)
...
CCMAIL: ereslibre@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=824128
2008-06-24 23:38:52 +00:00
Peter Penz
dcf7529688
Performance improvement when showing previews inside directories having several 1000 items: temporary block the expensive layouting inside QListView until a block of previews has been applied.
...
CCMAIL: fredrik@kde.org
CCMAIL: faure@kde.org
CCMAIL: ereslibre@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=824118
2008-06-24 23:01:21 +00:00
Script Kiddy
f56394e276
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=823977
2008-06-24 14:18:37 +00:00
Script Kiddy
2d57408d22
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=822978
2008-06-22 10:35:45 +00:00
Peter Penz
30cb4c1ef2
Assure that the keyboard focus stays inside the view when replacing the view implementation, otherwise when having a split view the other view gets the focus and will activate itself.
...
BUG: 164468
svn path=/trunk/KDE/kdebase/apps/; revision=822367
2008-06-19 22:43:10 +00:00
Laurent Montel
71a6ab3c9b
Fix mem leak
...
svn path=/trunk/KDE/kdebase/apps/; revision=822130
2008-06-19 09:37:49 +00:00
Script Kiddy
1af667f6fd
SVN_SILENT made messages (.desktop file, second try)
...
svn path=/trunk/KDE/kdebase/apps/; revision=822007
2008-06-18 21:37:23 +00:00
Peter Penz
afe18732f2
KFileItem::url() returns per value, not per reference
...
svn path=/trunk/KDE/kdebase/apps/; revision=822003
2008-06-18 21:23:06 +00:00
Peter Penz
4f3e1b0c24
the method dropUrls(KUrl::List, KUrl) was never used as slot and is invoked only once -> moved to caller
...
svn path=/trunk/KDE/kdebase/apps/; revision=822000
2008-06-18 21:19:46 +00:00
Peter Penz
84376acc84
it's assured that when requesting a context menu that the column is marked as active
...
svn path=/trunk/KDE/kdebase/apps/; revision=821938
2008-06-18 20:01:25 +00:00
Peter Penz
5b541d04e5
SVN_SILENT: removed unnecessary includes
...
svn path=/trunk/KDE/kdebase/apps/; revision=821923
2008-06-18 19:52:15 +00:00
Peter Penz
b8a4e0fac2
Assure that when requesting the context menu for the column-view, that the correct items are used.
...
TODO for 4.2: get rid of those 'if (isColumnViewActive())' special cases and provide a generic model which also works with the way the column view is implemented
BUG: 164146
svn path=/trunk/KDE/kdebase/apps/; revision=821903
2008-06-18 19:34:03 +00:00
James Richard Tyrer
91607d4c4d
Correcting icon name from "view_icon" to "view-icon"
...
svn path=/trunk/KDE/kdebase/apps/; revision=821583
2008-06-17 21:29:51 +00:00
Peter Penz
8103ead940
Details view related fixes: all columns except the name column should act as viewport.
...
svn path=/trunk/KDE/kdebase/apps/; revision=821229
2008-06-16 21:56:20 +00:00
Peter Penz
989cc7e0bf
also update the current index if a deselection is done
...
svn path=/trunk/KDE/kdebase/apps/; revision=821216
2008-06-16 21:19:34 +00:00
Peter Penz
350197cee9
also adjust the current index when selecting an item by the (+) selector
...
svn path=/trunk/KDE/kdebase/apps/; revision=821197
2008-06-16 20:02:06 +00:00
Peter Penz
836849c785
use a smaller margin for the meta information
...
svn path=/trunk/KDE/kdebase/apps/; revision=821189
2008-06-16 19:33:29 +00:00
Script Kiddy
2001b7f833
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=820661
2008-06-15 03:55:58 +00:00
Peter Penz
94fd0e85ff
Runtime optimization for preview sorting: Use 2 different algorithms dependent on the relation between model-rows and preview items. One algorithm is faster when e. g. inserting 10 items into a directory of 2000 items, while the other algorithm is faster when initially loading the directory.
...
svn path=/trunk/KDE/kdebase/apps/; revision=820321
2008-06-13 21:22:13 +00:00
David Faure
b17a5814d0
Fix the "No text" menu appearing in konqueror while browsing directories. Sorry for message freeze breakage.
...
svn path=/trunk/KDE/kdebase/apps/; revision=820149
2008-06-13 10:58:26 +00:00
Peter Penz
fe1d38f023
Finally fixed problem that "Apply to all folders" did not work as expected. TODO: the mirrored directory still should be cleaned up, but this has to be done without deleting the view properties fallback.
...
BUG: 163366
svn path=/trunk/KDE/kdebase/apps/; revision=820068
2008-06-13 06:10:53 +00:00
Peter Penz
b4bbde4005
Fix the "Apply" - "OK" problem in the viewproperties dialog (patch done by Rafael Fernández López). One related problem still has to be solved...
...
CCBUG: 163366
svn path=/trunk/KDE/kdebase/apps/; revision=820062
2008-06-13 05:30:55 +00:00
Peter Penz
07eae8826f
SVN_SILENT: comment++
...
svn path=/trunk/KDE/kdebase/apps/; revision=819683
2008-06-11 18:52:57 +00:00
Peter Penz
5717987295
Simplify code:
...
* Use KFileItems for all lists instead a mixture of KFileItemList and QList<KUrl>.
* Use a common helper method for generatePreviews() and resumePreviews() to order the visible items at the beginning of the list.
svn path=/trunk/KDE/kdebase/apps/; revision=819681
2008-06-11 18:47:32 +00:00
Peter Penz
4032437915
cancel previews if the URL has been changed
...
svn path=/trunk/KDE/kdebase/apps/; revision=819665
2008-06-11 17:51:32 +00:00
Peter Penz
629ec98952
Improve the performance of the code part which checks which items are visible. Although the code is less readable now, it requires only 0,5 seconds for 2500 items instead of 2 seconds.
...
svn path=/trunk/KDE/kdebase/apps/; revision=819663
2008-06-11 17:50:59 +00:00
Script Kiddy
60bfc51464
SVN_SILENT made messages (.desktop file)
...
svn path=/trunk/KDE/kdebase/apps/; revision=819272
2008-06-10 20:52:13 +00:00
Peter Penz
9a4c1af391
don't forget to delete the MIME type resolver when the IconManager gets destructed
...
svn path=/trunk/KDE/kdebase/apps/; revision=819163
2008-06-10 18:45:00 +00:00
Peter Penz
35370b6678
only resolve the MIME-types asynchronously, if no preview is generated
...
CCMAIL: faure@kde.org
CCMAIL: ereslibre@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=819162
2008-06-10 18:38:28 +00:00
Peter Penz
9b9bccc862
remove KDE 3 relict (the preview action does not exist anymore since about more than 1 year)
...
svn path=/trunk/KDE/kdebase/apps/; revision=819151
2008-06-10 17:54:52 +00:00
Peter Penz
8fd40e72aa
Just use KMimeType::extractKnownExtension() instead of the custom implementation. Thanks to David Faure for the hint!
...
svn path=/trunk/KDE/kdebase/apps/; revision=819137
2008-06-10 17:22:24 +00:00
Peter Penz
c4f8d95a60
Move code for disabling the paste action into DolphinView::pasteInfo() -> Dolphin KPart now also is aware about the disabled paste action.
...
@David: Konqueror hides the paste action in the context menu now, but still the action in the edit menu stays enabled
CCMAIL: faure@kde.org
svn path=/trunk/KDE/kdebase/apps/; revision=819116
2008-06-10 16:23:46 +00:00