]> cloud.milkyroute.net Git - dolphin.git/log
dolphin.git
15 years agoTake care to listen for changes of the settings-widgets after loadSettings() is invok...
Peter Penz [Fri, 5 Nov 2010 17:32:46 +0000 (17:32 +0000)]
Take care to listen for changes of the settings-widgets after loadSettings() is invoked, otherwise it is possible that a change is accidently indicated.

svn path=/trunk/KDE/kdebase/apps/; revision=1193350

15 years agoRename the setter showFilterBar() to setFilterBarVisible().
Peter Penz [Fri, 5 Nov 2010 17:12:35 +0000 (17:12 +0000)]
Rename the setter showFilterBar() to setFilterBarVisible().

svn path=/trunk/KDE/kdebase/apps/; revision=1193348

15 years agoSVN_SILENT: fix typo
Peter Penz [Fri, 5 Nov 2010 17:03:29 +0000 (17:03 +0000)]
SVN_SILENT: fix typo

svn path=/trunk/KDE/kdebase/apps/; revision=1193345

15 years agoIf the user has changed the startup settings, they should also get applied to the...
Peter Penz [Fri, 5 Nov 2010 17:02:58 +0000 (17:02 +0000)]
If the user has changed the startup settings, they should also get applied to the current views.

BUG: 254947
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1193344

15 years agoFix issue that the horizontal scrollbar is not updated correctly when resizing the...
Peter Penz [Fri, 5 Nov 2010 15:31:23 +0000 (15:31 +0000)]
Fix issue that the horizontal scrollbar is not updated correctly when resizing the window

svn path=/trunk/KDE/kdebase/apps/; revision=1193329

15 years agoFix issue that moving the mouse above the viewport might trigger showing the meta...
Peter Penz [Thu, 4 Nov 2010 19:04:18 +0000 (19:04 +0000)]
Fix issue that moving the mouse above the viewport might trigger showing the meta-information of an only shortly hovered file.

svn path=/trunk/KDE/kdebase/apps/; revision=1193131

15 years agoAdjust code to the changed signal of the Nepomuk facet-widget.
Peter Penz [Thu, 4 Nov 2010 18:05:36 +0000 (18:05 +0000)]
Adjust code to the changed signal of the Nepomuk facet-widget.

svn path=/trunk/KDE/kdebase/apps/; revision=1193123

15 years agoInterface cleanup: The DolphinView should not expose QAbstractItemView-specific thing...
Peter Penz [Thu, 4 Nov 2010 17:27:11 +0000 (17:27 +0000)]
Interface cleanup: The DolphinView should not expose QAbstractItemView-specific things like QItemSelectionModel. Just providing interfaces for KFileItem and KUrl will make it easier in future to change the view-implementations internally to QML-specific itemviews or whatever.

svn path=/trunk/KDE/kdebase/apps/; revision=1193113

15 years agoUse the ontologies compiled into libnepomuk
Tobias Koenig [Thu, 4 Nov 2010 13:38:06 +0000 (13:38 +0000)]
Use the ontologies compiled into libnepomuk

svn path=/trunk/KDE/kdebase/apps/; revision=1193072

15 years agoUse a ':' as end of the label instead of a '.', even if the label is top-aligned.
Peter Penz [Wed, 3 Nov 2010 15:06:40 +0000 (15:06 +0000)]
Use a ':' as end of the label instead of a '.', even if the label is top-aligned.

svn path=/trunk/KDE/kdebase/apps/; revision=1192621

15 years agoAdded implementation of the FileInfoExtension to allow KPart plugins to obtain such...
Dawit Alemayehu [Mon, 1 Nov 2010 16:56:47 +0000 (16:56 +0000)]
Added implementation of the FileInfoExtension to allow KPart plugins to obtain such information

svn path=/trunk/KDE/kdebase/apps/; revision=1191993

15 years agoAssure that always the search-box is shown instead of the URL-navigator if a Nepomuk...
Peter Penz [Mon, 1 Nov 2010 12:31:44 +0000 (12:31 +0000)]
Assure that always the search-box is shown instead of the URL-navigator if a Nepomuk-URL is requested. We still have to think about how to show queries that cannot be represented by the facet-widget, but at least it is sure that this kind of information should not be shown by the URL navigator.

svn path=/trunk/KDE/kdebase/apps/; revision=1191912

15 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Sun, 31 Oct 2010 09:11:11 +0000 (09:11 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1191511

15 years agoIf the signal sliderMoved() is emitted, always valueChanged() is emitted too -> no...
Peter Penz [Fri, 29 Oct 2010 15:32:31 +0000 (15:32 +0000)]
If the signal sliderMoved() is emitted, always valueChanged() is emitted too -> no need to connect to sliderMoved()

svn path=/trunk/KDE/kdebase/apps/; revision=1191107

15 years agoIf the vertical scrollbar got triggered by the wheel, the autoscrolling should be...
Peter Penz [Fri, 29 Oct 2010 15:17:32 +0000 (15:17 +0000)]
If the vertical scrollbar got triggered by the wheel, the autoscrolling should be reactivated too.

svn path=/trunk/KDE/kdebase/apps/; revision=1191100

15 years agoDon't do an automatic horizontal scrolling, if the user has adjusted the horizontal...
Peter Penz [Fri, 29 Oct 2010 15:12:59 +0000 (15:12 +0000)]
Don't do an automatic horizontal scrolling, if the user has adjusted the horizontal scrollbar. The autoscrolling gets reactivated again if the vertical scrollbar has been moved by the user.

svn path=/trunk/KDE/kdebase/apps/; revision=1191098

15 years agoIt's easier to put functionality that is used by many unit tests into
Frank Reininghaus [Fri, 29 Oct 2010 14:13:11 +0000 (14:13 +0000)]
It's easier to put functionality that is used by many unit tests into
a common base class. I took that idea from Nepomuk's unit tests in
kdelibs.

svn path=/trunk/KDE/kdebase/apps/; revision=1191051

15 years agoFix build-issue if Nepomuk is not available.
Peter Penz [Fri, 29 Oct 2010 13:41:26 +0000 (13:41 +0000)]
Fix build-issue if Nepomuk is not available.

svn path=/trunk/KDE/kdebase/apps/; revision=1191041

15 years agoSet icons for the rename- and properties-action of the Folders Panels context-menu.
Peter Penz [Wed, 27 Oct 2010 20:30:49 +0000 (20:30 +0000)]
Set icons for the rename- and properties-action of the Folders Panels context-menu.

svn path=/trunk/KDE/kdebase/apps/; revision=1190486

15 years ago- Allow to disable the automatic horizontal scrolling of the Folders Panel
Peter Penz [Wed, 27 Oct 2010 20:11:46 +0000 (20:11 +0000)]
- Allow to disable the automatic horizontal scrolling of the Folders Panel
- Remember the 'Show Hidden Files' setting
- Improve the autoscroll behavior
- Fix issue that expanding folders might not increase the horizontal width
- Fix issue that the selected item might get hidden by the horizontal scrollbar

BUG: 191787
FIXED-IN: 4.6.0
CCMAIL: datpeter@yahoo.com>

svn path=/trunk/KDE/kdebase/apps/; revision=1190479

15 years agoPostpone the initialization of the filter-panel until it is shown. This prevents...
Peter Penz [Wed, 27 Oct 2010 18:31:39 +0000 (18:31 +0000)]
Postpone the initialization of the filter-panel until it is shown. This prevents overhead if the filter-panel is disabled.

svn path=/trunk/KDE/kdebase/apps/; revision=1190460

15 years agoMove "Filter"-action to the bottom and apply icon + shortcut
Peter Penz [Wed, 27 Oct 2010 17:17:20 +0000 (17:17 +0000)]
Move "Filter"-action to the bottom and apply icon + shortcut

svn path=/trunk/KDE/kdebase/apps/; revision=1190446

15 years ago- Automatically show the filter-panel when a searching is done
Peter Penz [Wed, 27 Oct 2010 17:08:02 +0000 (17:08 +0000)]
- Automatically show the filter-panel when a searching is done
- Remove filter-prototypes that conflict with the filterpanel

svn path=/trunk/KDE/kdebase/apps/; revision=1190445

15 years agoshowMenuBar is deprecated, use showHideMenuBar instead.
Kevin Ottens [Wed, 27 Oct 2010 14:26:05 +0000 (14:26 +0000)]
showMenuBar is deprecated, use showHideMenuBar instead.

svn path=/trunk/KDE/kdebase/apps/; revision=1190390

15 years agoRename FacetPanel to FilterPanel so that the name reflects the headline.
Peter Penz [Wed, 27 Oct 2010 13:35:24 +0000 (13:35 +0000)]
Rename FacetPanel to FilterPanel so that the name reflects the headline.

svn path=/trunk/KDE/kdebase/apps/; revision=1190370

15 years agoFix build issues if Nepomuk is not available
Peter Penz [Tue, 26 Oct 2010 16:01:43 +0000 (16:01 +0000)]
Fix build issues if Nepomuk is not available

svn path=/trunk/KDE/kdebase/apps/; revision=1190010

15 years agoApply the facets-patch written by Sebastian Trüg, which allows to filter search resul...
Peter Penz [Tue, 26 Oct 2010 13:11:37 +0000 (13:11 +0000)]
Apply the facets-patch written by Sebastian Trüg, which allows to filter search results in a very comfortable way. A lot of finetuning is necessary (e.g. the custom filter-prototypes from Dolphin will get removed etc). This will be done during the next weeks.

svn path=/trunk/KDE/kdebase/apps/; revision=1189951

15 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 26 Oct 2010 09:57:26 +0000 (09:57 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1189884

15 years agoAdd some debug output to DolphinDetailsViewTest
Frank Reininghaus [Mon, 25 Oct 2010 14:51:10 +0000 (14:51 +0000)]
Add some debug output to DolphinDetailsViewTest

I've seen the test fail due to timeout at
http://my.cdash.org/index.php?project=kdebase&date=
Maybe some debug output helps to find the cause for this.

svn path=/trunk/KDE/kdebase/apps/; revision=1189677

15 years ago- Add support for file item actions (see http://reviewboard.kde.org/r/5659/)
Peter Penz [Mon, 25 Oct 2010 13:45:34 +0000 (13:45 +0000)]
- Add support for file item actions (see http://reviewboard.kde.org/r/5659/)
- Internal cleanups of DolphinContextMenu code

svn path=/trunk/KDE/kdebase/apps/; revision=1189651

15 years agoLink with gold, KDirModel is in KIO. Also remove redundant
Andreas Hartmetz [Fri, 22 Oct 2010 22:29:56 +0000 (22:29 +0000)]
Link with gold, KDirModel is in KIO. Also remove redundant
QT_QTCORE_LIBRARY - KDE4_*_LIBS includes dependencies.

svn path=/trunk/KDE/kdebase/apps/; revision=1188673

15 years agoAdd a second Dolphin unit test (for a regression in DolphinDetailsView
Frank Reininghaus [Fri, 22 Oct 2010 15:41:47 +0000 (15:41 +0000)]
Add a second Dolphin unit test (for a regression in DolphinDetailsView
which has been fixed recently). This commit also adds a new class
TestHelper which provides some funtionality that most Dolphin unit
tests will need. I hope that this makes implementing additional tests
as easy as possible :-)

svn path=/trunk/KDE/kdebase/apps/; revision=1188536

15 years agoLink with gold
Andreas Hartmetz [Thu, 21 Oct 2010 14:11:09 +0000 (14:11 +0000)]
Link with gold

svn path=/trunk/KDE/kdebase/apps/; revision=1188148

15 years agoAdd a first unit test for Dolphin, which verifies that the fix for one
Frank Reininghaus [Thu, 21 Oct 2010 07:58:56 +0000 (07:58 +0000)]
Add a first unit test for Dolphin, which verifies that the fix for one
of the problems related to Dolphin's modifications to QTreeView works
as it should.

This is only a small start, but I hope that we can cover at least the
basic functionality of DolphinView, the three item views and possibly
a couple of other classes with a rather stable API soon.

svn path=/trunk/KDE/kdebase/apps/; revision=1188049

15 years agoactually install the .desktop files as executables
Oswald Buddenhagen [Tue, 19 Oct 2010 12:44:48 +0000 (12:44 +0000)]
actually install the .desktop files as executables

changing merely the file permissions is the repo is quite a noop as far
as cmake is concerned.

svn path=/trunk/KDE/kdebase/apps/; revision=1187438

15 years agoMinor
Laurent Montel [Tue, 19 Oct 2010 07:38:50 +0000 (07:38 +0000)]
Minor

svn path=/trunk/KDE/kdebase/apps/; revision=1187389

15 years agoProvide icon for LocallyModifiedUnstaged versions of a file
Peter Penz [Mon, 18 Oct 2010 14:09:55 +0000 (14:09 +0000)]
Provide icon for LocallyModifiedUnstaged versions of a file

svn path=/trunk/KDE/kdebase/apps/; revision=1187170

15 years agoIt is a valid use-case that m_itemView is 0.
Peter Penz [Fri, 15 Oct 2010 11:44:43 +0000 (11:44 +0000)]
It is a valid use-case that m_itemView is 0.

BUG: 254240

svn path=/trunk/KDE/kdebase/apps/; revision=1186206

15 years agoEnable dropping of raw data, like one could do in KDE3. It's actually working fine...
David Faure [Fri, 15 Oct 2010 00:15:13 +0000 (00:15 +0000)]
Enable dropping of raw data, like one could do in KDE3. It's actually working fine with text data for instance,
only image data is still an issue due to bugs in Qt. This will be in KDE 4.6.
CCBUG: 159337

svn path=/trunk/KDE/kdebase/apps/; revision=1186021

15 years agoThe &-shortcut from another action is not set until the action has been shown at...
Peter Penz [Wed, 13 Oct 2010 15:25:58 +0000 (15:25 +0000)]
The &-shortcut from another action is not set until the action has been shown at least once. To bypass this issue in the context-menu when pressing SHIFT, the text and &-shortcut is applied manually.

svn path=/trunk/KDE/kdebase/apps/; revision=1185522

15 years agoUpdate the statusbar also during loading the items, not only after the loading has...
Peter Penz [Sun, 10 Oct 2010 17:11:55 +0000 (17:11 +0000)]
Update the statusbar also during loading the items, not only after the loading has been completed. This fixes the issue that no current item-count is shown when doing a search.

svn path=/trunk/KDE/kdebase/apps/; revision=1184520

15 years agocompile in debug mode (asserts enabled)
Andreas Hartmetz [Sun, 10 Oct 2010 16:13:25 +0000 (16:13 +0000)]
compile in debug mode (asserts enabled)

svn path=/trunk/KDE/kdebase/apps/; revision=1184511

15 years agoAutomatically start the searching if the user did not change the search-text for...
Peter Penz [Sun, 10 Oct 2010 16:13:24 +0000 (16:13 +0000)]
Automatically start the searching if the user did not change the search-text for at least a second.

svn path=/trunk/KDE/kdebase/apps/; revision=1184510

15 years agoSVN_SILENT: documentation fixes
Peter Penz [Sun, 10 Oct 2010 12:05:11 +0000 (12:05 +0000)]
SVN_SILENT: documentation fixes

svn path=/trunk/KDE/kdebase/apps/; revision=1184468

15 years agoInternal cleanup: Remove some public toggle-slots from DolphinView. Setters- and...
Peter Penz [Sun, 10 Oct 2010 11:28:18 +0000 (11:28 +0000)]
Internal cleanup: Remove some public toggle-slots from DolphinView. Setters- and getters are already available for implementing a toggling.

svn path=/trunk/KDE/kdebase/apps/; revision=1184459

15 years agoInternal cleanup: Remove public method selectedUrls() from DolphinView to keep the...
Peter Penz [Sun, 10 Oct 2010 11:11:45 +0000 (11:11 +0000)]
Internal cleanup: Remove public method selectedUrls() from DolphinView to keep the interface minimal (selectedItems() is already available)

svn path=/trunk/KDE/kdebase/apps/; revision=1184457

15 years ago* Increase the column-width automatically in case where the name of the file does...
Peter Penz [Sat, 9 Oct 2010 18:46:58 +0000 (18:46 +0000)]
* Increase the column-width automatically in case where the name of the file does not fit into the available width
* When scrolling to the active column, do it with a small delay so that temporary activations of a column don't result in jittering

BUG: 214324
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1184290

15 years agoAfter disconnecting and reconnecting to the selectionChangedSignal() it must be check...
Peter Penz [Sat, 9 Oct 2010 16:32:02 +0000 (16:32 +0000)]
After disconnecting and reconnecting to the selectionChangedSignal() it must be checked, whether the selection got reset in the meantime.

svn path=/trunk/KDE/kdebase/apps/; revision=1184262

15 years agoMove the "Add to Places" action upwards when used on the viewport to stay consistent...
Peter Penz [Sat, 9 Oct 2010 15:39:41 +0000 (15:39 +0000)]
Move the "Add to Places" action upwards when used on the viewport to stay consistent when showing the context-menu above an item.

svn path=/trunk/KDE/kdebase/apps/; revision=1184250

15 years agoAllow the user to resize the columns.
Peter Penz [Sat, 9 Oct 2010 15:22:49 +0000 (15:22 +0000)]
Allow the user to resize the columns.

BUG: 190030
BUG: 196717
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1184247

15 years agoIndicate the shown directory of a column by QStyle::PE_FrameFocusRect instead of...
Peter Penz [Sat, 9 Oct 2010 11:38:07 +0000 (11:38 +0000)]
Indicate the shown directory of a column by QStyle::PE_FrameFocusRect instead of using a custom code.

svn path=/trunk/KDE/kdebase/apps/; revision=1184180

15 years agoUse DolphinTreeView as implementation for the columns instead of QListView. This...
Peter Penz [Sat, 9 Oct 2010 11:29:45 +0000 (11:29 +0000)]
Use DolphinTreeView as implementation for the columns instead of QListView. This assures a consistent hover- and selection-behavior with the icons-view and details-view.

BUG: 242357
BUG: 243779

svn path=/trunk/KDE/kdebase/apps/; revision=1184177

15 years agoIt is a valid usecase that the model can be 0 when destructing a view.
Peter Penz [Sat, 9 Oct 2010 10:14:12 +0000 (10:14 +0000)]
It is a valid usecase that the model can be 0 when destructing a view.

svn path=/trunk/KDE/kdebase/apps/; revision=1184156

15 years agoMove the generic hover- and selection-adjustments from DolphinsDetailsView into the...
Peter Penz [Sat, 9 Oct 2010 09:45:56 +0000 (09:45 +0000)]
Move the generic hover- and selection-adjustments from DolphinsDetailsView into the new base class DolphinTreeView.

Background info: QTreeView does not respect the width of a cell for the hover-feedback and the selections. This has been adjusted in DolphinDetailsView already, but the required code for this is quite large. This made it tricky to maintain the really Dolphin-specific parts in DolphinDetailsView.

svn path=/trunk/KDE/kdebase/apps/; revision=1184152

15 years agoAdd the "Find" action per default to the toolbar.
Peter Penz [Fri, 8 Oct 2010 20:43:56 +0000 (20:43 +0000)]
Add the "Find" action per default to the toolbar.

svn path=/trunk/KDE/kdebase/apps/; revision=1183953

15 years agoAllow to use wildcards when searching filenames or simple text files with the filenam...
Peter Penz [Fri, 8 Oct 2010 20:07:13 +0000 (20:07 +0000)]
Allow to use wildcards when searching filenames or simple text files with the filenamesearchprotocol.

svn path=/trunk/KDE/kdebase/apps/; revision=1183944

15 years ago- Don't show the name of the file in the "Path" column
Peter Penz [Fri, 8 Oct 2010 19:32:55 +0000 (19:32 +0000)]
- Don't show the name of the file in the "Path" column
- Also provide a path for non-local URLs

svn path=/trunk/KDE/kdebase/apps/; revision=1183939

15 years agoMove the changing of the cursor-shape from the extensions-factory and the selection...
Peter Penz [Fri, 8 Oct 2010 19:10:53 +0000 (19:10 +0000)]
Move the changing of the cursor-shape from the extensions-factory and the selection-toggle to the selection-manager. Beside simplifying the code this also solves some corner-cases where the shape has not been restored correctly.

svn path=/trunk/KDE/kdebase/apps/; revision=1183934

15 years agoFix issue in column-view, that the icon size has been increased when several columns...
Peter Penz [Fri, 8 Oct 2010 17:27:10 +0000 (17:27 +0000)]
Fix issue in column-view, that the icon size has been increased when several columns are open and a switch to the icon-view is done.

svn path=/trunk/KDE/kdebase/apps/; revision=1183919

15 years agoUse the actions "new_tab" and "new_window" for the viewport-contextmenu instead of...
Peter Penz [Thu, 7 Oct 2010 18:25:47 +0000 (18:25 +0000)]
Use the actions "new_tab" and "new_window" for the viewport-contextmenu instead of "open_in_new_tab" and "open_in_new_window", as the current selection should get ignored.

svn path=/trunk/KDE/kdebase/apps/; revision=1183548

15 years agoReset the file-item when the viewport is entered and files are selected. Otherwise...
Peter Penz [Thu, 7 Oct 2010 18:13:55 +0000 (18:13 +0000)]
Reset the file-item when the viewport is entered and files are selected. Otherwise the information of the file-item will be shown instead of the selection.

svn path=/trunk/KDE/kdebase/apps/; revision=1183544

15 years agoInternal cleanups to assure that the asynchronous request for the folder-information...
Peter Penz [Thu, 7 Oct 2010 18:00:58 +0000 (18:00 +0000)]
Internal cleanups to assure that the asynchronous request for the folder-information works reliable when switching between directories.

svn path=/trunk/KDE/kdebase/apps/; revision=1183537

15 years agoInternal cleanup for panels: Let the panel-implementations decide whether they accept...
Peter Penz [Thu, 7 Oct 2010 14:09:30 +0000 (14:09 +0000)]
Internal cleanup for panels: Let the panel-implementations decide whether they accept an URL or not.

svn path=/trunk/KDE/kdebase/apps/; revision=1183480

15 years agoIgnore search-results in the treeview, as showing equal directory names without path...
Peter Penz [Thu, 7 Oct 2010 13:42:17 +0000 (13:42 +0000)]
Ignore search-results in the treeview, as showing equal directory names without path makes no sense.

svn path=/trunk/KDE/kdebase/apps/; revision=1183472

15 years agoHide the text of the go-back, go-forward and view-mode actions per default when the...
Peter Penz [Thu, 7 Oct 2010 13:33:01 +0000 (13:33 +0000)]
Hide the text of the go-back, go-forward and view-mode actions per default when the text is shown alongside icons.

svn path=/trunk/KDE/kdebase/apps/; revision=1183466

15 years agoImplement the actions "Open in New Window" and "Open in New Tab" for the case if...
Peter Penz [Wed, 6 Oct 2010 15:04:37 +0000 (15:04 +0000)]
Implement the actions "Open in New Window" and "Open in New Tab" for the case if no item is selected.

svn path=/trunk/KDE/kdebase/apps/; revision=1183222

15 years agoRestore the cursor if the URL has been changed. This assures that the pointing-hand...
Peter Penz [Wed, 6 Oct 2010 14:53:06 +0000 (14:53 +0000)]
Restore the cursor if the URL has been changed. This assures that the pointing-hand cursor gets reset when changing the directory.

svn path=/trunk/KDE/kdebase/apps/; revision=1183219

15 years agoApply the cursor asynchronously. This fixes the issue that a pointing-hand cursor...
Peter Penz [Wed, 6 Oct 2010 14:42:48 +0000 (14:42 +0000)]
Apply the cursor asynchronously. This fixes the issue that a pointing-hand cursor is shown if the selection-toggle and the item are hovered at the same time.

svn path=/trunk/KDE/kdebase/apps/; revision=1183214

15 years agoUse a pointing-hand cursor when hovering items as discussed on http://lists.kde.org...
Peter Penz [Wed, 6 Oct 2010 13:58:47 +0000 (13:58 +0000)]
Use a pointing-hand cursor when hovering items as discussed on http://lists.kde.org/?l=kde-core-devel&m=126027946921686&w=1

svn path=/trunk/KDE/kdebase/apps/; revision=1183195

15 years agoPrevent that icons overlap in Details View when zooming.
Frank Reininghaus [Tue, 5 Oct 2010 17:56:07 +0000 (17:56 +0000)]
Prevent that icons overlap in Details View when zooming.

The problem was that a maximum size was assigned to KFileItemDelegate
for displaying items without considering that icon zooming may change
the item height.

CCBUG: 234600

svn path=/trunk/KDE/kdebase/apps/; revision=1182797

15 years agoSVN_SILENT: Remove commented (and obsolete) code
Peter Penz [Tue, 5 Oct 2010 16:44:38 +0000 (16:44 +0000)]
SVN_SILENT: Remove commented (and obsolete) code

svn path=/trunk/KDE/kdebase/apps/; revision=1182780

15 years agoFix minor regression resulted by the previous commit: The m_newName-member may only...
Peter Penz [Tue, 5 Oct 2010 16:38:00 +0000 (16:38 +0000)]
Fix minor regression resulted by the previous commit: The m_newName-member may only get updated after the OK-button has been pressed, otherwise renaming a single file fails.

svn path=/trunk/KDE/kdebase/apps/; revision=1182779

15 years ago- Integrate the patch from Matthias Fuchs from http://reviewboard.kde.org/r/5496...
Peter Penz [Tue, 5 Oct 2010 16:30:03 +0000 (16:30 +0000)]
- Integrate the patch from Matthias Fuchs from http://reviewboard.kde.org/r/5496 to allow having leading zeros when renaming files: E.g. Using the name "A ###.jpg" results in the filenames "A 001.jpg", "A 002.jpg"... The patch could be simplified a little bit by guaranting only one connective sequence of #'s.
- Move the renaming code into the RenameDialog

CCMAIL: mat69@gmx.net
BUG: 226761
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1182776

15 years agoUse "Open Path" instead of "Open Parent Folder", as the headline in the search-result...
Peter Penz [Tue, 5 Oct 2010 14:40:42 +0000 (14:40 +0000)]
Use "Open Path" instead of "Open Parent Folder", as the headline in the search-result is "Path".

svn path=/trunk/KDE/kdebase/apps/; revision=1182754

15 years agoMake executable the Type=Application .desktop files we install,
David Faure [Mon, 4 Oct 2010 22:55:09 +0000 (22:55 +0000)]
Make executable the Type=Application .desktop files we install,
so that they can be used even from a KDE running in another prefix (http://markmail.org/message/4p3krovtnzwx35zd)

svn path=/trunk/KDE/kdebase/apps/; revision=1182558

15 years agoFix issue that no content is shown in the Information Panel on startup
Peter Penz [Tue, 28 Sep 2010 17:51:20 +0000 (17:51 +0000)]
Fix issue that no content is shown in the Information Panel on startup

svn path=/trunk/KDE/kdebase/apps/; revision=1180723

15 years agoFix issue that tooltip-labels might get clipped (this regression has been introduced...
Peter Penz [Tue, 28 Sep 2010 15:58:14 +0000 (15:58 +0000)]
Fix issue that tooltip-labels might get clipped (this regression has been introduced by revision 1158057)

CCBUG: 241608

svn path=/trunk/KDE/kdebase/apps/; revision=1180693

15 years agoUse KStringHandler::preProcessWrap() when calculating the width of a
Frank Reininghaus [Sat, 25 Sep 2010 22:01:05 +0000 (22:01 +0000)]
Use KStringHandler::preProcessWrap() when calculating the width of a
file name in DolphinFileItemDelegate. This makes sure that zero width
spaces (which prevent kerning) are added at the same places where
KFileItemDelegate adds them when actually rendering the name. Fixes
the problem that file names are elided and partly replaced by "..."
even though there is enough space for the full name.

CCBUG: 251121

svn path=/trunk/KDE/kdebase/apps/; revision=1179568

15 years agoFix icon-name for the filenamesearch protocol. This fixes the issue that an unknown...
Peter Penz [Wed, 22 Sep 2010 20:32:06 +0000 (20:32 +0000)]
Fix icon-name for the filenamesearch protocol. This fixes the issue that an unknown-icon is shown when the search is done in a tab.

svn path=/trunk/KDE/kdebase/apps/; revision=1178364

15 years agoIf the context-menu is opened for a file shown as search result, offer the actions...
Peter Penz [Wed, 22 Sep 2010 20:24:49 +0000 (20:24 +0000)]
If the context-menu is opened for a file shown as search result, offer the actions "Open Parent Folder in New Window" and "Open Parent Folder in New Tab"

svn path=/trunk/KDE/kdebase/apps/; revision=1178362

15 years agoUnbelievable: I simply forgot to implement the Stop-action in Dolphin since KDE SC...
Peter Penz [Wed, 22 Sep 2010 19:39:46 +0000 (19:39 +0000)]
Unbelievable: I simply forgot to implement the Stop-action in Dolphin since KDE SC 4.0. Well better later than never: Done now :-)

BUG: 233836

svn path=/trunk/KDE/kdebase/apps/; revision=1178344

15 years agoAdd a small invisible margin to the selection toggle in case the item-height is nearl...
Peter Penz [Wed, 22 Sep 2010 19:12:09 +0000 (19:12 +0000)]
Add a small invisible margin to the selection toggle in case the item-height is nearly equal to the toggle-height. This prevents an accidental execution of application in the details-view with the default icon-size.

BUG: 169494
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1178332

15 years agoIf 'remember view-properties' is selected, store the .directory files only if the...
Peter Penz [Wed, 22 Sep 2010 18:10:45 +0000 (18:10 +0000)]
If 'remember view-properties' is selected, store the .directory files only if the directory is part of the home-path. Otherwise use the mirror in ~/.kde/share/apps/dolphin/view_properties to store the .directory file. This prevents conflicting view-properties if several users have write-access to a common directory.

BUG: 63347
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1178321

15 years agoFix issue, that the details-view has no size and date column in the following case:
Peter Penz [Wed, 22 Sep 2010 17:28:26 +0000 (17:28 +0000)]
Fix issue, that the details-view has no size and date column in the following case:
- Use icons-view as default view
- Create a new directory
- Change view-properties of directory to show e.g. the owner
- Switch to the details-view

svn path=/trunk/KDE/kdebase/apps/; revision=1178311

15 years ago- Use less separators
Peter Penz [Tue, 21 Sep 2010 19:56:35 +0000 (19:56 +0000)]
- Use less separators
- Move "Add to Places" action upwards

svn path=/trunk/KDE/kdebase/apps/; revision=1177960

15 years ago- DolphinViewContainer::url() returns an instance, not a reference
Peter Penz [Tue, 21 Sep 2010 19:38:26 +0000 (19:38 +0000)]
- DolphinViewContainer::url() returns an instance, not a reference
- GeneralSettings::homeUrl() returns a QString instance, not a KUrl reference

svn path=/trunk/KDE/kdebase/apps/; revision=1177958

15 years agoUpdate the title of the tab when closing the second view in the split-mode. Thanks to
Peter Penz [Tue, 21 Sep 2010 19:30:26 +0000 (19:30 +0000)]
Update the title of the tab when closing the second view in the split-mode. Thanks to
Enrique Alonso for analysing the root-cause!

CCMAIL: enrique_alonso@igluk.com

svn path=/trunk/KDE/kdebase/apps/; revision=1177952

15 years agoSVN_SILENT: There is no plural for "information"
Peter Penz [Tue, 21 Sep 2010 19:18:16 +0000 (19:18 +0000)]
SVN_SILENT: There is no plural for "information"

svn path=/trunk/KDE/kdebase/apps/; revision=1177951

15 years agoIt was a bad idea to store the enabled additional-information as bit-values: With...
Peter Penz [Tue, 21 Sep 2010 19:03:04 +0000 (19:03 +0000)]
It was a bad idea to store the enabled additional-information as bit-values: With the current setup only up to 8 additional informations are possible. This restriction is bypassed now:
- Backward compatibility for old .directorry files is provided
- A version-information has been added for possible future changes
- As "side-effect" it also allows to have a details-view with only one column (#238140)

BUG: 238140
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1177944

15 years agoUse K_GLOBAL_STATIC for the previously committed workaround to bypass a X11-issue...
Peter Penz [Tue, 21 Sep 2010 16:18:20 +0000 (16:18 +0000)]
Use K_GLOBAL_STATIC for the previously committed workaround to bypass a X11-issue in combination with KModifierKeyInfo. Thanks to David Faure for the hint.

svn path=/trunk/KDE/kdebase/apps/; revision=1177902

15 years agoSVN_SILENT made messages (.desktop file)
Script Kiddy [Tue, 21 Sep 2010 10:01:09 +0000 (10:01 +0000)]
SVN_SILENT made messages (.desktop file)

svn path=/trunk/KDE/kdebase/apps/; revision=1177799

15 years agoDoes not use bitwise operators on booleans. Thanks to dfaure for pointing it out.
Matthias Fuchs [Tue, 21 Sep 2010 09:31:04 +0000 (09:31 +0000)]
Does not use bitwise operators on booleans. Thanks to dfaure for pointing it out.

svn path=/trunk/KDE/kdebase/apps/; revision=1177781

15 years agoDisables the rename button if no name or an identical name has been specified.
Matthias Fuchs [Mon, 20 Sep 2010 21:04:48 +0000 (21:04 +0000)]
Disables the rename button if no name or an identical name has been specified.
Checks for '#' in the case of renaming multiple files.

svn path=/trunk/KDE/kdebase/apps/; revision=1177675

15 years agoWorkaround for a X11-issue in combination with KModifierKeyInfo: When constructing...
Peter Penz [Mon, 20 Sep 2010 19:52:40 +0000 (19:52 +0000)]
Workaround for a X11-issue in combination with KModifierKeyInfo: When constructing KModifierKeyInfo in the constructor of the context menu, the user interface might freeze. Thanks to Mark Gaiser for clarifying this with the KModifierKeyInfo maintainer and testing the workaround!

CCMAIL: markg85@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=1177658

15 years agoRemove the fixed-size workaround, only one action is used now in this case
Peter Penz [Fri, 17 Sep 2010 22:59:37 +0000 (22:59 +0000)]
Remove the fixed-size workaround, only one action is used now in this case

svn path=/trunk/KDE/kdebase/apps/; revision=1176537

15 years ago- Fix issue, that the 'Move To Trash'-action or 'Delete'-action from the File menu...
Peter Penz [Fri, 17 Sep 2010 22:23:11 +0000 (22:23 +0000)]
- Fix issue, that the 'Move To Trash'-action or 'Delete'-action from the File menu get invisible
- Use KFileItemListProperties to check whether all selected URLs are local
- Coding style cleanups

CCMAIL: markg85@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=1176534

15 years agoThere is no need to burden DolphinMainWindow with internals of the context-menu.
Peter Penz [Fri, 17 Sep 2010 21:16:56 +0000 (21:16 +0000)]
There is no need to burden DolphinMainWindow with internals of the context-menu.

CCMAIL: markg85@gmail.com

svn path=/trunk/KDE/kdebase/apps/; revision=1176513

15 years agoWhen you view the context menu of a file/folder and shift is pressed (and the delete...
Mark Gaiser [Fri, 17 Sep 2010 19:47:01 +0000 (19:47 +0000)]
When you view the context menu of a file/folder and shift is pressed (and the delete action line is not enabled in the settings) then the
"Move to trash (del)" action gets replaced by the "Delete (shift del)" action and replaced back to "Move to trash (del)" when you release
shift.

BUG: 194275

svn path=/trunk/KDE/kdebase/apps/; revision=1176493

15 years agoShow location in window title for non-local URLs. Thanks to Mark Gaiser for the patch...
Peter Penz [Fri, 17 Sep 2010 14:42:57 +0000 (14:42 +0000)]
Show location in window title for non-local URLs. Thanks to Mark Gaiser for the patch and David Faure for the review on http://reviewboard.kde.org/r/5178.

BUG: 244512
FIXED-IN: 4.6.0

svn path=/trunk/KDE/kdebase/apps/; revision=1176395

15 years agoKDirModel takes ownership of the directory lister, so don't delete the directory...
Peter Penz [Fri, 17 Sep 2010 11:24:06 +0000 (11:24 +0000)]
KDirModel takes ownership of the directory lister, so don't delete the directory lister manually.

BUG: 196681

svn path=/trunk/KDE/kdebase/apps/; revision=1176325