|
|
Home » Developing U++ » U++ Developers corner » Why is GTK Chameleon slow
|
Re: Why is GTK Chameleon slow [message #7863 is a reply to message #7862] |
Sat, 27 January 2007 12:37   |
guido
Messages: 169 Registered: April 2006
|
Experienced Member |
|
|
luzr wrote on Sat, 27 January 2007 12:09 |
OTOH, if you start U++ app from non-GTK environment and there is no GTK in memory yet, it has to be loaded and that is what causes the slowdown.
Mirek
|
One idea I had was, if upp could save gtk themes to disk, instead of recreating them every time. Then upp would only need to poll the Xserver for gtk theme switch messages.
For perfection we needed to listen to theme change messages anyway, to let upp apps follow theme changes on the fly, as gtk apps do.
I consider custom themes in absence of gtk an asset also in case upp apps are written for embedded, like info terminals or cash systems etc. You want to slim down such installs as much as possible, but still easily customize looks.
Also that feature is a safe-guard against breakage from gtk ABI change, if we don't get that perfectly right. And can we really ever be sure about that?
Guido
|
|
|
Re: Why is GTK Chameleon slow [message #7864 is a reply to message #7863] |
Sat, 27 January 2007 12:56   |
 |
mirek
Messages: 14255 Registered: November 2005
|
Ultimate Member |
|
|
guido wrote on Sat, 27 January 2007 06:37 |
luzr wrote on Sat, 27 January 2007 12:09 |
OTOH, if you start U++ app from non-GTK environment and there is no GTK in memory yet, it has to be loaded and that is what causes the slowdown.
Mirek
|
One idea I had was, if upp could save gtk themes to disk, instead of recreating them every time. Then upp would only need to poll the Xserver for gtk theme switch messages.
For perfection we needed to listen to theme change messages anyway, to let upp apps follow theme changes on the fly, as gtk apps do.
I consider custom themes in absence of gtk an asset also in case upp apps are written for embedded, like info terminals or cash systems etc. You want to slim down such installs as much as possible, but still easily customize looks.
Also that feature is a safe-guard against breakage from gtk ABI change, if we don't get that perfectly right. And can we really ever be sure about that?
Guido
|
The problem is that gtk chameleon is actually using GTK to draw things....
Mirek
|
|
|
|
|
|
|
|
|
|
|
Goto Forum:
Current Time: Sat Apr 26 14:20:53 CEST 2025
Total time taken to generate the page: 0.01132 seconds
|
|
|