Page 1 of 1

dark theme listbox performance fix

Posted: Mon Jan 14, 2013 3:25 pm
by oskari
If you based your theme on my dark theme templates, see the changes in buzzgui revision 168.

Re: dark theme listbox performance fix

Posted: Mon Jan 14, 2013 3:37 pm
by mcbpete
I have and I will. Thanks man :)

EDIT: Realised I'm not too sure what I'm looking for as I'm an idiot (is it something regarding the namespaces in MVResources.xaml that call this - http://svn.jeskola.net/buzzgui/BuzzGUI. ... ineList.cs ? )

Re: dark theme listbox performance fix

Posted: Tue Jan 15, 2013 1:19 am
by oskari
See the svn log.

Re: dark theme listbox performance fix

Posted: Tue Jan 15, 2013 12:37 pm
by mcbpete
Apologies for my stupidity, where are the svn logs stored ( I've had a root around http://svn.jeskola.net/buzzgui/ to no avail so I'm guessing they're somewhere else )

Re: dark theme listbox performance fix

Posted: Tue Jan 15, 2013 12:58 pm
by oskari
Get TortoiseSVN or something.

Re: dark theme listbox performance fix

Posted: Tue Jan 15, 2013 9:09 pm
by IXix
mcbpete wrote:Apologies for my stupidity, where are the svn logs stored ( I've had a root around http://svn.jeskola.net/buzzgui/ to no avail so I'm guessing they're somewhere else )
You need to keep a local copy of the repo using a SVN client (I use TortoiseSVN). Then when you sync your local copy to the remote BuzzGUI repo, it tells you what changed in the new versions.

If you install TortoisSVN, you just right-click in windows explorer and choose "SVN Checkout" then put http://svn.jeskola.net/buzzgui in the "URL of repository" field and hit OK.

I'm not very good at SVN so there may be a better/easier way :oops:

edit: Oh and to update your repo, right-click the repo folder and select "SVN Update"

Re: dark theme listbox performance fix

Posted: Tue Jan 15, 2013 9:16 pm
by IXix
To see the logs, right-click the repo folder and select "Show log" from the TortoiseSVN submenu :)

Image

Re: dark theme listbox performance fix

Posted: Wed Jan 16, 2013 4:48 am
by mcbpete
Gotcha, thanks for the detailed explanation man :)

Re: dark theme listbox performance fix

Posted: Wed Jan 16, 2013 8:34 am
by strobotone
many thanks man ! that fixed it.

Re: dark theme listbox performance fix

Posted: Wed Jan 16, 2013 5:27 pm
by mcbpete
Oh boy yeah the improvement is incredible - the machine menu list now instant !

EDIT: Yay and the code I had for a semi transparent machine list menu that was on a (what I thought) permanent <!-- --> has now been reinstated with no apparent slowdown in performance. I'm a happy panda :D

Re: dark theme listbox performance fix

Posted: Sat Feb 02, 2013 5:20 pm
by Klangkulisse
You lucky ones,
just can not figure out, where to put that ListBoxDark.xaml to have the performance advantage in my own theme.
Do I have put it as an xaml-document on its own somewhere or do I have to integrate it in another xaml?

Or is this ths complete wrong way?

Confused Klangkulisse

Re: dark theme listbox performance fix

Posted: Sun Feb 03, 2013 11:25 pm
by mcbpete
Download ListBoxDark.xaml and ListViewDark.xaml (from http://svn.jeskola.net/buzzgui/BuzzGUI. ... pleStyles/ ) and put them in the same folder as the theme you're using

Open Controls.xaml and in the lines near the top change the two lines

Code: Select all

<ResourceDictionary Source="pack://application:,,,/BuzzGUI.Common;component/SimpleStyles/ListBoxDark.xaml"/>
<ResourceDictionary Source="pack://application:,,,/BuzzGUI.Common;component/SimpleStyles/ListViewDark.xaml"/>
to

Code: Select all

<ResourceDictionary Source="ListBoxDark.xaml"/>
<ResourceDictionary Source="ListViewDark.xaml"/>
It might not need both, but I did it just to be safe !

Save, Load up buzz and all should be good :D

Re: dark theme listbox performance fix

Posted: Mon Feb 04, 2013 2:21 pm
by strobotone
Also you could download the entire BuzzGUI project from the SVN and rebuild the DLLs.
Or you wait until the next build release.

Re: dark theme listbox performance fix

Posted: Mon Feb 04, 2013 2:29 pm
by mcbpete
True, though the above method is considerably easier and available to use today :D

Re: dark theme listbox performance fix

Posted: Tue Feb 05, 2013 7:03 pm
by Klangkulisse
Ah, o.k. that's the way • thanks a lot.
But it does not speed it up very much, I think it's because of my really big vst collection.

I once mentioned the size of this vst folder on good old buzz church regarding a quiet similiar list problem and afterwords I was a little ashamed, because I did not want to show off. :oops:
I collected them over a decade now just for fun and documentation, I named it the vst graveyard, because it contains a lot of ugly zombies and coldblooded undeads. So may be yes, that is the real brake.

Thanks again for the hint. :)

Re: dark theme listbox performance fix

Posted: Wed Feb 06, 2013 9:51 am
by strobotone
it has to be significantly faster. even with a huge load of pugins. (atleast that is so in my case).

Re: dark theme listbox performance fix

Posted: Wed Feb 06, 2013 1:56 pm
by mcbpete
Yeah on mine it reduced the time for the 'menu typing menu' to appear from 2-3 seconds down to virtually instantly (and I have faaaaar too many machines in my machines and VST folder)

Re: dark theme listbox performance fix

Posted: Wed Feb 06, 2013 7:11 pm
by Klangkulisse
Hmm ...?
With my previous non-patched theme it takes about 5 seconds, with your help patched theme it takes the same time.
But may be there is something wrong with my theme, because it is a mixture of dark theme and yours - strobotones. I think, there are some - in my theme unactive - code fragments of xd simplon left over. (If I remember correctly, I had a problem with your highlighting frame edges, when you hover over a machine, and somehow I managed to make this part inactive, because deleting it made my theme crash)
Anyway, my theme works besides ot the list showing up delay fine so far, may be it will be solved with the next buzz relesase.

Re: dark theme listbox performance fix

Posted: Tue Feb 12, 2013 7:09 pm
by Klangkulisse
Thanks Oskari, the new build 1481 fixed it, list of (my) dark theme prompts immediatly now.
It's just nicer. :)