Commit graph

1689 commits

Author SHA1 Message Date
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
Peter Penz 8a8c615e37 SVN_SILENT: documentation fixes
svn path=/trunk/KDE/kdebase/apps/; revision=819108
2008-06-10 16:07:09 +00:00
David Faure 162436801d Argh my last patch broke plugins. So revert 818988 and do it properly, for real this time :)
KPluginFactory can take the catalog name as second argument, this is the best fix.
CCMAIL: Chusslove Illich <caslav.ilic@gmx.net>

svn path=/trunk/KDE/kdebase/apps/; revision=818989
2008-06-10 09:15:19 +00:00
Chusslove Illich e5840f23f9 Revert 818910 and do it properly (patch by dfaure).
svn path=/trunk/KDE/kdebase/apps/; revision=818988
2008-06-10 09:07:59 +00:00
David Faure 11bf9d8dbb Another fix for redirections: "Create New" was missing from the konqpopupmenu when doing RMB on ftp://user@host, because after the redirection, part->url() was still the old url (so it didn't look like a popup opened for the current directory, in the konqpopupemenu code)
svn path=/trunk/KDE/kdebase/apps/; revision=818721
2008-06-09 11:59:15 +00:00
Peter Penz ffe9bbacd9 disable the paste action if no writing is supported for the paste-destination
BUG: 161639

svn path=/trunk/KDE/kdebase/apps/; revision=818445
2008-06-08 15:20:19 +00:00
Peter Penz eeea9662b7 * use a default size where the height of the line editor is not too small
* remember the size set by the user

CCMAIL: trueg@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=818381
2008-06-08 13:10:14 +00:00
Peter Penz 6a9d80a1fd fixed issue that "Apply to all folders" in the view properties dialog might forget some settings when pressing first "Apply" and then "OK"
BUG: 163366

svn path=/trunk/KDE/kdebase/apps/; revision=818368
2008-06-08 12:43:10 +00:00
Peter Penz cb6e5a933b SVN_SILENT: removed trailing spaces
svn path=/trunk/KDE/kdebase/apps/; revision=818367
2008-06-08 12:38:56 +00:00