Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-02-05 Thread Mark
On Tue, Feb 5, 2013 at 9:01 AM, Mark mark...@gmail.com wrote: On Tue, Feb 5, 2013 at 8:03 AM, Frank Reininghaus frank7...@googlemail.com wrote: Hi Mark, 2013/2/4 Mark: I really really really dislike KDirModel and friends (KDirLister, KFileItem). before you get even more emotional in your

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-02-05 Thread David Faure
On Tuesday 05 February 2013 09:01:21 Mark wrote: The thing i'm puzzling most with right now is how i can optimize UDSEntry. Internally it's a hash and that very visible in profiling. Also in KFileItem one part that i find a little strange is this line:

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-02-05 Thread Mark
On Tue, Feb 5, 2013 at 10:19 AM, David Faure faure+bluesyst...@kde.org wrote: On Tuesday 05 February 2013 09:01:21 Mark wrote: The thing i'm puzzling most with right now is how i can optimize UDSEntry. Internally it's a hash and that very visible in profiling. Also in KFileItem one part that i

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-02-05 Thread Mark
On Tue, Feb 5, 2013 at 11:47 AM, David Faure faure+bluesyst...@kde.org wrote: On Tuesday 05 February 2013 11:05:35 Mark wrote: On Tue, Feb 5, 2013 at 10:19 AM, David Faure faure+bluesyst...@kde.org wrote: On Tuesday 05 February 2013 09:01:21 Mark wrote: The thing i'm puzzling most with

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-02-04 Thread Frank Reininghaus
Hi Mark, 2013/2/4 Mark: I really really really dislike KDirModel and friends (KDirLister, KFileItem). before you get even more emotional in your next reply to this thread, please consider reading http://www.kde.org/code-of-conduct/ I sort of got used to reading disrespectful messages with

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-23 Thread Aaron J. Seigo
On Monday, January 21, 2013 21:09:59 you wrote: - RMB context menu - App wide shortcuts - Clipboard integration.. these are all being worked on. In my DirModel i took a good close look at the current DisplayRole stuff. It was a blocking call that could potentially slow the interface down.

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-23 Thread Mark
On Wed, Jan 23, 2013 at 3:35 PM, Aaron J. Seigo ase...@kde.org wrote: On Monday, January 21, 2013 21:09:59 you wrote: - RMB context menu - App wide shortcuts - Clipboard integration.. these are all being worked on. Gladly :) But as said.. Qt 5.2 or even 5.3 material. Certainly not 5.1. In

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-21 Thread Aaron J. Seigo
On Tuesday, January 15, 2013 10:40:58 Frank Reininghaus wrote: Right, but considering that Dolphin doesn't even use KDirModel any more, going the QAbstractItemView way would feel like throwing away most of what happened in Dolphin in the last 2 years. dolphin still uses QAbstractItemModels,

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-21 Thread Frank Reininghaus
Hi, 2013/1/21 Aaron J. Seigo: On Tuesday, January 15, 2013 10:40:58 Frank Reininghaus wrote: Right, but considering that Dolphin doesn't even use KDirModel any more, going the QAbstractItemView way would feel like throwing away most of what happened in Dolphin in the last 2 years. dolphin

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-21 Thread Aaron J. Seigo
On Monday, January 21, 2013 17:53:48 Frank Reininghaus wrote: http://ppenz.blogspot.de/2011/08/introducing-dolphin-20.html Ah, that's right .. it uses ItemViewsNG. of which the last commits seem to be in 2010, and QGraphicsView is not receiving much attention now either :/ i suppose as long as

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-21 Thread Mark
On Mon, Jan 21, 2013 at 8:01 PM, Aaron J. Seigo ase...@kde.org wrote: On Monday, January 21, 2013 17:53:48 Frank Reininghaus wrote: http://ppenz.blogspot.de/2011/08/introducing-dolphin-20.html Ah, that's right .. it uses ItemViewsNG. of which the last commits seem to be in 2010, and

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-21 Thread Frank Reininghaus
Hi, 2013/1/21 Aaron J. Seigo ase...@kde.org: On Monday, January 21, 2013 17:53:48 Frank Reininghaus wrote: http://ppenz.blogspot.de/2011/08/introducing-dolphin-20.html Ah, that's right .. it uses ItemViewsNG. of which the last commits seem to be in 2010, and QGraphicsView is not receiving

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-21 Thread Aaron J. Seigo
On Monday, January 21, 2013 20:18:03 you wrote: I'm guessing Qt5 won't be ready for full fledged desktop application - maybe you wouldn't say that if you'd seen the QML Desktop Components demo applications :) jump to around minute 57 of http://www.youtube.com/watch?v=Y1pqL5bXe0A native menus

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-16 Thread David Faure
On Tuesday 15 January 2013 17:14:52 Mark wrote: We're talking about application level now. In other terms: off topic ;) Not completely. It's good to decide on an overall direction for a given issue, before determining which layer should do what. If we decide that it's ok to compute things

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-16 Thread Mark
On Tue, Jan 15, 2013 at 11:25 PM, David Faure fa...@kde.org wrote: On Tuesday 15 January 2013 17:14:52 Mark wrote: We're talking about application level now. In other terms: off topic ;) Not completely. It's good to decide on an overall direction for a given issue, before determining which

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-15 Thread Aurélien Gâteau
Le mercredi 9 janvier 2013 16:42:25 Mark a écrit : Dolphin happens to be a big user here, but i'm really not talking about dolphin specifically. The structures behind it are my target :) Filtering will indeed be done afterwards, but you have to think about it. What would be better? 1. A fast

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-15 Thread Mark
On Tue, Jan 15, 2013 at 3:42 PM, Aurélien Gâteau agat...@kde.org wrote: Le mercredi 9 janvier 2013 16:42:25 Mark a écrit : Dolphin happens to be a big user here, but i'm really not talking about dolphin specifically. The structures behind it are my target :) Filtering will indeed be done

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-15 Thread Aurélien Gâteau
Le mardi 15 janvier 2013 16:04:39 Mark a écrit : Well, sorting is very fast now (in my test environment) and fast enough for regular data to be sorted before you see the data. That's not an issue. The issue arises when data arrives in batches. For example: - Batch 1 comes in - - Sort batch

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-15 Thread Mark
On Tue, Jan 15, 2013 at 5:06 PM, Aurélien Gâteau agat...@kde.org wrote: Le mardi 15 janvier 2013 16:04:39 Mark a écrit : Well, sorting is very fast now (in my test environment) and fast enough for regular data to be sorted before you see the data. That's not an issue. The issue arises when

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-11 Thread Mark
On Thu, Jan 10, 2013 at 11:54 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, January 10, 2013 19:37:39 you wrote: Is there another dirmodel fork somewhere that does that? Link please :) well, what we ought to do is do a threaded version and then put it somewhere we can all share

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Frank Reininghaus
Hi, 2013/1/9 Mark: On Wed, Jan 9, 2013 at 2:51 PM, David Faure wrote: On Wednesday 09 January 2013 11:15:20 Mark wrote: A little more in depth questions for KDirLister and KFileItem. In my profiling KFileItem ends up high due to various reasons, but KDirLister is also a bit of a heavy

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Mark
On Thu, Jan 10, 2013 at 9:23 AM, Frank Reininghaus frank7...@googlemail.com wrote: Hi, 2013/1/9 Mark: On Wed, Jan 9, 2013 at 2:51 PM, David Faure wrote: On Wednesday 09 January 2013 11:15:20 Mark wrote: A little more in depth questions for KDirLister and KFileItem. In my profiling KFileItem

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Aaron J. Seigo
On Thursday, January 10, 2013 11:30:35 Mark wrote: very rapidly, the actual view is still barely usable as long as files are dripping in. This is the same in QML (ListView) as in QWidgets The issue here is that the view - even though it's not showing the items - is doing all the calculations

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Mark
On Thu, Jan 10, 2013 at 12:20 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, January 10, 2013 11:30:35 Mark wrote: very rapidly, the actual view is still barely usable as long as files are dripping in. This is the same in QML (ListView) as in QWidgets The issue here is that the view -

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Aaron J. Seigo
On Thursday, January 10, 2013 14:12:30 you wrote: part very rapidly. No issue thus far. But when i start scrolling _while_ the data is dripping in it's ... not very responsive. after a quick look: the DirModel is doing all the data retrieval in the main thread as well as instantly on demand

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Mark
On Thu, Jan 10, 2013 at 3:53 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, January 10, 2013 14:12:30 you wrote: part very rapidly. No issue thus far. But when i start scrolling _while_ the data is dripping in it's ... not very responsive. after a quick look: the DirModel is doing

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Frank Reininghaus
Hi, 2013/1/10 Aaron J. Seigo: in the case of dolphin, i can imagine a goal that could lead to over- calculating: wanting even spacing between all icons, which in turn means knowing how much space each and every icon will require (thumbnail? how much text? etc.) The number of text lines

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Mark
On Thu, Jan 10, 2013 at 7:24 PM, Aaron J. Seigo ase...@kde.org wrote: On Thursday, January 10, 2013 16:49:15 you wrote: On Thu, Jan 10, 2013 at 3:53 PM, Aaron J. Seigo ase...@kde.org wrote: * DirModel::updatePreview calls setData for each preview that it gets back. that causes dataChanged

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-10 Thread Aaron J. Seigo
On Thursday, January 10, 2013 19:37:39 you wrote: Is there another dirmodel fork somewhere that does that? Link please :) well, what we ought to do is do a threaded version and then put it somewhere we can all share it properly :) i'll discuss with Marco what he thinks and come back

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-09 Thread David Faure
On Wednesday 09 January 2013 11:15:20 Mark wrote: A little more in depth questions for KDirLister and KFileItem. In my profiling KFileItem ends up high due to various reasons, but KDirLister is also a bit of a heavy resource hog due to it's default behavior of fetching all file information

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-09 Thread Mark
On Wed, Jan 9, 2013 at 2:51 PM, David Faure fa...@kde.org wrote: On Wednesday 09 January 2013 11:15:20 Mark wrote: A little more in depth questions for KDirLister and KFileItem. In my profiling KFileItem ends up high due to various reasons, but KDirLister is also a bit of a heavy resource hog

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2013-01-08 Thread Aurélien Gâteau
Le lundi 31 décembre 2012 11:43:47 David Faure a écrit : [snip] If you want to think bigger redesign, one could consider adding the necessary API to KDirModel so that direct usage of KDirLister isn't necessary anymore, i.e. encapsulating it completely. Then looking at whether all the app code

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2012-12-29 Thread David Faure
On Friday 28 December 2012 02:50:53 Mark wrote: Hi, -- Be sure to read all of this (long!) mail or parts won't make sense! -- -- cross posting to frameworks and KCD since it concerns both -- I'll let the k-c-d people come here if they want to participate. cases that would be oke, but if

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2012-12-29 Thread Mark
On Sat, Dec 29, 2012 at 12:44 PM, David Faure fa...@kde.org wrote: On Friday 28 December 2012 02:50:53 Mark wrote: Hi, -- Be sure to read all of this (long!) mail or parts won't make sense! -- -- cross posting to frameworks and KCD since it concerns both -- I'll let the k-c-d people come

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2012-12-29 Thread Volker Krause
On Saturday 29 December 2012 11:44:20 David Faure wrote: On Friday 28 December 2012 02:50:53 Mark wrote: Another thing is the UDS_EXTRA and UDS_EXTRA_END. I seriously doubt that the functionality is even used anywhere. Yes, this got lost with the move from the old konq views to dolphin.

Re: KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2012-12-29 Thread Mark
On Sat, Dec 29, 2012 at 3:27 PM, Volker Krause vkra...@kde.org wrote: On Saturday 29 December 2012 11:44:20 David Faure wrote: On Friday 28 December 2012 02:50:53 Mark wrote: Another thing is the UDS_EXTRA and UDS_EXTRA_END. I seriously doubt that the functionality is even used anywhere.

KDirModelV2, KDirListerV2 and UDSEntryV2 suggestions

2012-12-27 Thread Mark
Hi, -- Be sure to read all of this (long!) mail or parts won't make sense! -- -- cross posting to frameworks and KCD since it concerns both -- Recently i've been playing a lot with KDirModel in combination with QML and i certainly found quite a few points for improvement. Even so much that i