|
From: Matthias S. <sch...@su...> - 2004-03-15 12:05:48
|
Hi Martin, the moment i've sended the patch for the coloring, i started to realize that something is wrong with the root node ... sorry: to little testing before sending a patch ... I've some other ideas what to change in the code, if you think these ideas are of use, i can do the coding: a) the shortcut ALT-M for marking all messages read simply don't work on my boxes (Linux|Solaris|Mac OS X). Can I assign a new schortcut (F-Something?) AND put the Context-Menu-Entry for "Mark all read" much higher, since this is what you do on a day-to-day base rather then reconfiguring your subscriptions. b) We can Highlight ALL Subscribtions by selecting root ( ... or use a button/ Shortcut) and mark them all read. c) I played around with the "Remember Items" Option. After having several hundred (100-300) articles in the DB, things are getting slow. First i suspected the DB to be guilty but it isn't. I've used some profilers on the code, just for my own curiosity. I've attached a screenshot which shows that the vast majority of the CPU is consumed by javax.swing.text.HTMLDocument.insertHTML() operations. To get around this, one can implement some caching strategy to buffer the generated HTML and only append when something new happens AND ( ... and this is not i minor change, but it's worth to do it in the long run ) don't do the work in the AWT-Thread. This would make the GUI much more touchy, esp. when someone change his/her mind which channel to view, while still doing the rendering. d) We can do some experiments with changing the Swing Look&Feel to the discovered platform. It's a minor change, and the results are worth it. ... and by the way: you created a very usefull and fine piece of code. I use it every day. Thanks. cheers, Matthias -- Matthias Schmidt Viehtriftstrasse 49 67346 Speyer Tel. : 06232-4867 Fax. : 06232-640089 Mobil.: 0171-5767209 -- Matthias Schmidt Tel : (++49) 6227 356 236 Sun Microsystems GmbH Fax : (++49) 6227 356 222 Altrottstr. 31 SAP(WDF03,I4.01) : (++49) 6227 7 47505 D-69190 Walldorf Mobil : (++49) 171 5767209 |