Andreas Pakulat [Fri, 5 Oct 2007 22:21:25 +0000 (22:21 +0000)]
Merge the KConfig branch. This are the 3 main modules (+kdeadmin), which are
needed now because friday is the last BC day. The rest of the modules will
follow as fast as my laptop allows.
Peter Penz [Fri, 5 Oct 2007 21:00:44 +0000 (21:00 +0000)]
Refactored DolphinColumnWidget so that it does not need a hierarchical KDirLister. This simplifies the code a lot and also bypasses the current problems with the KDirLister cache when working on hierarchical directories in parallel. There are some minor regressions which will be fixed, but all in all some improvements are visible already:
- the loading of columns is a lot faster
- preview in columns is working
- no side effects in combination with the treeview-panel because of caching
Peter Penz [Fri, 5 Oct 2007 06:33:48 +0000 (06:33 +0000)]
Restoring the column view relies on the URL-history. It might be possible that the view properties have been changed or deleted in the meantime, so it cannot be asserted that really a column view has been created.
Changes related to the smooth scrolling. We can enable it since icefox has submitted his "division by zero" to Qt, so it should be safe. If we experience any division by
zero or report, we just disable them commenting them out and with a comment to remind ourselves to uncomment them after.
The smooth scrolling is being combined with a good behavior when using the mouse wheel.
Some investigation on QListView found nice stuff for KCategorizedView.
Peter, I have the smooth scrolling for KDirOperator too, let me that one... I have binary incompatible changes merged there with this ones and I am committing everything
together on friday.
Peter Penz [Tue, 2 Oct 2007 22:11:18 +0000 (22:11 +0000)]
As the additional information can be shown in parallel, a combobox selection is not sufficient anymore. To prevent bug-reports for the beta 3 release, all items are explicitly marked as TODO temporary.
Peter Penz [Tue, 2 Oct 2007 22:04:36 +0000 (22:04 +0000)]
Allow showing additional information like type, size and date in parallel for the icons view (thanks to Fredrik for the extension of KFileItemDelegate!).
David Faure [Mon, 1 Oct 2007 17:06:34 +0000 (17:06 +0000)]
Ported KonqPopupMenu away from xmlgui to make things debuggable (we had code that dynamically created XML, and then passed it for gui merging with KonqPopupMenu's own generated XML, that was too much magic and headaches).
There are now unit tests for KonqPopupMenu, and its code has a bit less magic hacks than before.
There is no more KonqPopupMenuPlugin though, but I'm happy to re-create it once there's a real use case for it.
Peter Penz [Thu, 27 Sep 2007 07:02:35 +0000 (07:02 +0000)]
Remove ScrollPerPixel again. Beside a crash with a non-patched version of Qt it also decreases the usability when using the mouse wheel: one full rotation of the mouse wheel only leads to a scrolling of 1 or 2 items...
Peter Penz [Thu, 27 Sep 2007 06:20:39 +0000 (06:20 +0000)]
* moved the loading of the settings into a separate method
* assure that the "show in groups" action gets disabled when no categorization is allowed for the current view
Peter Penz [Thu, 27 Sep 2007 06:19:30 +0000 (06:19 +0000)]
Use case: categorized sorting is enabled, the current view mode is icons-view. When switching to the details-view (which does not support categorized sorting yet), the 'categorized sorting' action should get only disabled to indicate that it is not available, not get unchecked (currently it gets disabled AND unchecked). This patch assures that always the stored categorization state is returned for the menu actions, but internally the categorization is turned off for the proxy model for the details view and column view.
Peter Penz [Wed, 26 Sep 2007 15:26:30 +0000 (15:26 +0000)]
Assure that the categorized sorting is applied correctly to the proxy model if the view does not support the categorization feature (currently only the icons view supports this). Take care that switching between e. g. the icons-view and the details-view does not change the stored categorized sorting. Thanks to Rafael for the initial patch!
Peter Penz [Wed, 26 Sep 2007 11:46:49 +0000 (11:46 +0000)]
* Fix memory leak (DolphinCategoryDrawer is leaking...)
* There is no need to explicitly turning on the category, as this is done automatically when reading out the view properties. @Rafael: I tested your error description and could not reproduce the problem anymore. If I miss something, please let me know, so that we can work together to fix this :-)
Peter Penz [Wed, 26 Sep 2007 08:39:58 +0000 (08:39 +0000)]
Listen to the directory lister signals to know whether the directory lister is still working. This information is needed as KDirModel::expandToUrl() may never get invoked if the directory lister is still busy...
Peter Penz [Wed, 26 Sep 2007 06:12:44 +0000 (06:12 +0000)]
Revert last patch which should fix the "name column can get too small issue" - turning off the automatical resizing is no good solution. I'll submit another fix during this week...
Peter Penz [Wed, 26 Sep 2007 06:08:51 +0000 (06:08 +0000)]
temporary disable the ScrollPerPixel feature until a Qt-patch is supplied which fixes a possible crash
(see http://lists.kde.org/?l=kde-core-devel&m=119077433611662&w=2)
- On the icon view, enable categorization
- Switch to details view
- Go back to the icon view. The categorization has been disabled for the
details view to sort correctly.
When the view is the Details or Columns one do not have in count lessThanGeneralPurpose. For that we need to force the proxy model to not to be categorized.
Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed to sort by categories. This will result as bad sortings on Detailed and in
Column views.
Peter Penz [Tue, 25 Sep 2007 13:53:08 +0000 (13:53 +0000)]
assure that "Select All" and "Invert Selection" only operate on the active column of the column-view instead of selecting the whole hierarchy of the model
Peter Penz [Mon, 24 Sep 2007 13:50:31 +0000 (13:50 +0000)]
Restore the root URL when navigating through the history (this is important for views like the column view where the root URL might differ from the current URL).
Adapt CMakeLists.txt as discussed with Alex.
KDE4_ADD_TEST_EXECUTABLE is deprecated now use KDE4_ADD_EXECUTABLE(<target> TEST <files>) instead
QT4_ADD_DBUS_INTERFACE_NO_NAMESPACE and QT4_ADD_DBUS_INTERFACES_NO_NAMESPACE are deprecated too
used SET_SOURCE_FILES_PROPERTIES(<files> PROPERTIES NO_NAMESPACE TRUE) QT4_ADD_DBUS_INTERFACES(<srcList> <files>)
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) is put in each CMakeLists.txt where
KDE4_ADD_EXECUTABLE(<target> TEST <files>) and KDE4_ADD_UNIT_TEST were used.
Show more useful information when sorting by date (in all folders, not
only on those with pictures).
With the current architecture it is impossible to create different rules
depending on the items that each category contains. All categories are
similar to the rest. That also helps to quickly find what you are
looking for.