Commit graph

1693 commits

Author SHA1 Message Date
Script Kiddy
82a5b8075a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=839172
2008-07-29 13:26:35 +00:00
Peter Penz
4759321fdd forgot to remove unused variable in last commit
svn path=/trunk/KDE/kdebase/apps/; revision=838119
2008-07-26 19:23:20 +00:00
Peter Penz
8d189f44c4 use DBus interface instead of KRun::runCommand()
svn path=/trunk/KDE/kdebase/apps/; revision=838112
2008-07-26 19:09:17 +00:00
Peter Penz
309f302c1d Tooltips are shown on wrong position in combination with a dual screen setup. Thanks to Lucas Murray for the patch!
BUG: 167205

svn path=/trunk/KDE/kdebase/apps/; revision=838041
2008-07-26 14:10:26 +00:00
Urs Wolfer
7d3e2cc93f it's http://dolphin.kde.org/ now
svn path=/trunk/KDE/kdebase/apps/; revision=838040
2008-07-26 14:01:34 +00:00
Peter Penz
a07ea82381 Provide a "Quick View" in the Tools menu, which uses the Previewer plasmoid.
TODO 1: use the D-Bus interface directly instead of using KRun::runCommand() as workaround.

TODO 2: a new icon would be necessary

CCMAIL: alediaferia@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=838039
2008-07-26 13:49:50 +00:00
Peter Penz
d337ece6df Provide a 'int selectedItemsCount() const' interface for performance reasons, so that code which just needs to know whether items have been selected does not need to invoke selectedItems().count(), which is quite expensive.
svn path=/trunk/KDE/kdebase/apps/; revision=838037
2008-07-26 13:46:58 +00:00
Peter Penz
8a51f70377 fix crash when opening a lot of columns and going back very fast by clicking on each breadcrumb of the URL navigator
BUG: 164304

svn path=/trunk/KDE/kdebase/apps/; revision=837486
2008-07-24 19:50:40 +00:00
Peter Penz
5d7de69ae6 fixed issue that the close-action for the split view has been applied to the inactive view instead of the active view
BUG: 167209

svn path=/trunk/KDE/kdebase/apps/; revision=836643
2008-07-22 17:36:52 +00:00
Peter Penz
b1eca66e8b SVN_SILENT: update
svn path=/trunk/KDE/kdebase/apps/; revision=835498
2008-07-20 17:50:50 +00:00
Peter Penz
3c87a260fc This time doing it the correct way: just stop the timers when the widget gets hidden
BUG: 167044

svn path=/trunk/KDE/kdebase/apps/; revision=835185
2008-07-20 02:42:28 +00:00
Peter Penz
d49c1d89f9 SideBarTreeView is derived from KTreeView
svn path=/trunk/KDE/kdebase/apps/; revision=835181
2008-07-20 02:13:56 +00:00
Peter Penz
f28ee3152a revert fix for bug 167044 - although the crash is fixed the autoscroll does not work as expected anymore...
CCBUG: 167044

svn path=/trunk/KDE/kdebase/apps/; revision=835179
2008-07-20 02:11:27 +00:00
Peter Penz
2b2c0941cc fix crash in Folder Panel (= treeview) when Dolphin gets closed before the panel got polished
BUG: 167044

svn path=/trunk/KDE/kdebase/apps/; revision=835169
2008-07-20 01:33:55 +00:00
Peter Penz
a3b4d94f6e fixed issue that Dolphin uses the wrong settings for the move-to-trash and delete-confirmation
BUG: 166717

svn path=/trunk/KDE/kdebase/apps/; revision=834990
2008-07-19 19:53:25 +00:00
André Wöbbeking
448c080fbd forwardport of rev. 834841:
compile with old XShape (taken from kwin/utils.h)

BUG 166324

svn path=/trunk/KDE/kdebase/apps/; revision=834961
2008-07-19 19:05:32 +00:00
Peter Penz
295ecd1ddf Disable the menu 'File' -> 'Create New...' if no writing is supported.
BUG: 166592

svn path=/trunk/KDE/kdebase/apps/; revision=834845
2008-07-19 16:51:29 +00:00
Peter Penz
ec2ed0f3e7 fix possible division by 0 crash (no backport to 4.1 needed, as there QProgressBar is used instead of KCapacityBar)
svn path=/trunk/KDE/kdebase/apps/; revision=834788
2008-07-19 15:56:52 +00:00
Peter Penz
8fc4bc196a remember the maximum size, so that an update is also done for the (rare) case when two partitions have a different size but an equal used size
(no backport to KDE 4.1 necessary, as there QProgressBar is used instead of KCapacityBar)

CCMAIL: ereslibre@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=834550
2008-07-19 09:24:46 +00:00
Rafael Fernández López
dc4827579d The space info widget now inherits KCapacityBar. Two things to check:
- Align vertically the text correctly
- Minimum width of the widget (not forcing it to 200)

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=834445
2008-07-18 22:22:33 +00:00
Dirk Mueller
08989d295c fix crash
svn path=/trunk/KDE/kdebase/apps/; revision=832953
2008-07-15 21:03:55 +00:00
David Faure
b5e97174d0 Code factorization: move "properties" action and slot to DolphinViewActionHandler.
svn path=/trunk/KDE/kdebase/apps/; revision=831148
2008-07-11 23:06:07 +00:00
David Faure
815332af38 another i18n TODO done: better description of this special action, for "configure shortcuts"
svn path=/trunk/KDE/kdebase/apps/; revision=831111
2008-07-11 21:33:56 +00:00
Peter Penz
96158191a9 SVN_SILENT: increased version number for KDE 4.2
svn path=/trunk/KDE/kdebase/apps/; revision=830463
2008-07-10 14:53:11 +00:00
Peter Penz
6eb70b3fa4 prevent crash when "Use common view properties for all folders" is set (uninitialized member variable)
BUG: 166102

svn path=/trunk/KDE/kdebase/apps/; revision=829777
2008-07-09 05:01:51 +00:00
Script Kiddy
07fcb14354 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=829587
2008-07-08 17:29:47 +00:00
Peter Penz
82d3d8316c updated to KDE 4 (the file was valid for Dolphin for KDE 3)
svn path=/trunk/KDE/kdebase/apps/; revision=829020
2008-07-07 09:18:51 +00:00
Script Kiddy
3619edf41a SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=828584
2008-07-06 05:35:58 +00:00
David Faure
60ac42c048 Don't connect multiple times to the selectionChanged signal, otherwise the slot will be called as many times as we entered a directory...
svn path=/trunk/KDE/kdebase/apps/; revision=828216
2008-07-04 22:26:05 +00:00
David Faure
9078232033 re-enable, fix came in quickly after all
svn path=/trunk/KDE/kdebase/apps/; revision=828101
2008-07-04 17:16:56 +00:00
Sebastian Trueg
f7f7f460e2 Forgot to commit new method
svn path=/trunk/KDE/kdebase/apps/; revision=828091
2008-07-04 16:58:55 +00:00
David Faure
d611a7e35a quick fix for compilation
svn path=/trunk/KDE/kdebase/apps/; revision=828090
2008-07-04 16:49:20 +00:00
Sebastian Trueg
90019a84c6 Do not show an ugly confusing message to users but simple open the tagging widget on mouse click
svn path=/trunk/KDE/kdebase/apps/; revision=828078
2008-07-04 15:26:39 +00:00
Script Kiddy
8b64b18ae7 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=827249
2008-07-02 13:27:02 +00:00
Peter Penz
3da35b5c1c fixed wrong logic for showing the space info: if the progress bar is shown, the space info may never be shown
svn path=/trunk/KDE/kdebase/apps/; revision=826897
2008-07-01 19:08:17 +00:00
Script Kiddy
2f0c966c30 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=826707
2008-07-01 06:52:44 +00:00
Peter Penz
fbfcbd5b95 * use existing KFileItem also for the selection instead of creating a new KFileItem from the URL
* don't invoke fileItem() if a multiple selection is provided

svn path=/trunk/KDE/kdebase/apps/; revision=826393
2008-06-30 17:12:03 +00:00
Peter Penz
3bc3ca1458 Move the "Find File..." action from DolphinMainWindow to DolphinViewActionHandler, so that is used in DolphinPart and hence also in Konqueror. Thanks to Bram for the patch!
CCMAIL: bramschoenmakers@kde.nl
CCMAIL: faure@kde.org

svn path=/trunk/KDE/kdebase/apps/; revision=826383
2008-06-30 16:37:08 +00:00
Peter Penz
823b033ab7 dispatch the preview queue immediately before resuming the preview generation
svn path=/trunk/KDE/kdebase/apps/; revision=826230
2008-06-30 06:31:28 +00:00
Peter Penz
9226a063b0 when moving the visible items to the front of the list, take care not to reverse the order
svn path=/trunk/KDE/kdebase/apps/; revision=826161
2008-06-29 22:25:02 +00:00
Peter Penz
dbe0566f43 Use fast image transformation like Gwenview. This increases the performance of applyImageFrame() by a factor of >2.
Hmm, previews don't look so smooth as before, but even when having a 2 GHz CPU a bilinear scaling of 1000 previews just takes too much time.

svn path=/trunk/KDE/kdebase/apps/; revision=826128
2008-06-29 21:54:41 +00:00
Peter Penz
4cf8450bc4 The check whether there is a cut-selection when receiving a preview consumes 12 % (!) of the runtime in addToPreviewQueue(). The check is now done only once before starting the preview generation and when the clipboard data has been changed.
svn path=/trunk/KDE/kdebase/apps/; revision=826126
2008-06-29 21:40:07 +00:00
Peter Penz
1f3607bdc1 Move the block for resizing the preview, applying an item effect + border to the slot where the preview has been received. This reduces the blocking of the GUI for the following usecase:
- folder with 1000 items
- ~30 items are visible

Old approach:
- Show the 30 items as soon as possible.
- Receive preview and add it to the queue. This is done asynchronously 970 times (no UI blocking).
- Iterate through 970 items, resize, apply item effect + border and apply the preview to the model (-> blocking of UI thread for more than 3 seconds).

New approach:
- Show the 30 items as soon as possible.
- Receive preview, resize it, apply item effect + border and add it to the queue. This is done asynchronously 970 times (no UI blocking).
- Iterate through 970 items and apply the preview to the model (-> UI thread is blocked only very short).

svn path=/trunk/KDE/kdebase/apps/; revision=826109
2008-06-29 21:04:43 +00:00
Script Kiddy
fdd06835fc SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdebase/apps/; revision=826056
2008-06-29 19:06:43 +00:00
Peter Penz
4af0c48f05 Internal cleanup: Make it easier getting the correct file item that should be used for showing the meta information (it depends on the current selection and whether the file item is already available).
CCMAIL: sebastian@trueg.de

svn path=/trunk/KDE/kdebase/apps/; revision=825996
2008-06-29 17:08:49 +00:00
Peter Penz
85b0ed6a63 Don't grey out an invalid preview immediately, but with a small timeout. This prevents a flickering if the new preview can be generated within a small timeframe.
BUG: 165317

svn path=/trunk/KDE/kdebase/apps/; revision=825942
2008-06-29 16:42:59 +00:00
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