Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl: repainting performance issue in dark mode on Win 10
GridCtrl: repainting performance issue in dark mode on Win 10 [message #53310] Fri, 27 March 2020 20:35 Go to next message
przem_kaz is currently offline  przem_kaz
Messages: 3
Registered: April 2010
Location: Poland
Junior Member
Hi U++ comunity,
It's seems that there is (still) some repainting performance issue with GridCtrl in Dark Mode in Win 10.
I've recompiled one of my apps that heavily used a GridGtrl with the nightly U++ and now when I switch to Dark mode in Win10 (build 1903) I notice a huge delays in repainted.
First I thought that it is some issue in my code but it is easly reproducable e.g. \reference\GridCtrlTest or example\HomeBudget have the same issue in dark mode in Win10.
On Linux seems that everything is fine with GridCtrl in dark modes but I tested only on Manjaro KDE and on Mint 19.3 with Cinamon.

Best regards
Przemek
Re: GridCtrl: repainting performance issue in dark mode on Win 10 [message #53320 is a reply to message #53310] Sat, 28 March 2020 20:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
przem_kaz wrote on Fri, 27 March 2020 20:35
Hi U++ comunity,
It's seems that there is (still) some repainting performance issue with GridCtrl in Dark Mode in Win 10.
I've recompiled one of my apps that heavily used a GridGtrl with the nightly U++ and now when I switch to Dark mode in Win10 (build 1903) I notice a huge delays in repainted.
First I thought that it is some issue in my code but it is easly reproducable e.g. \reference\GridCtrlTest or example\HomeBudget have the same issue in dark mode in Win10.
On Linux seems that everything is fine with GridCtrl in dark modes but I tested only on Manjaro KDE and on Mint 19.3 with Cinamon.

Best regards
Przemek


Good catch, thank you. I think I know what the problem is, trying to fix it.
Re: GridCtrl: repainting performance issue in dark mode on Win 10 [message #53323 is a reply to message #53310] Sun, 29 March 2020 13:42 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
przem_kaz wrote on Fri, 27 March 2020 20:35
Hi U++ comunity,
It's seems that there is (still) some repainting performance issue with GridCtrl in Dark Mode in Win 10.
I've recompiled one of my apps that heavily used a GridGtrl with the nightly U++ and now when I switch to Dark mode in Win10 (build 1903) I notice a huge delays in repainted.
First I thought that it is some issue in my code but it is easly reproducable e.g. \reference\GridCtrlTest or example\HomeBudget have the same issue in dark mode in Win10.
On Linux seems that everything is fine with GridCtrl in dark modes but I tested only on Manjaro KDE and on Mint 19.3 with Cinamon.

Best regards
Przemek


Hopefully fixed in trunk, please check.

Mirek
Re: GridCtrl: repainting performance issue in dark mode on Win 10 [message #53330 is a reply to message #53323] Sun, 29 March 2020 17:30 Go to previous message
przem_kaz is currently offline  przem_kaz
Messages: 3
Registered: April 2010
Location: Poland
Junior Member
With the latest version from trunk, looks like GridCtrl in dark mode on Win10 works as expected.

Thank you Mirek!
Previous Topic: ArrayCtrl::SetClipboard does not set \r\n in rows
Next Topic: ArrayCtrl drop on all control area
Goto Forum:
  


Current Time: Fri Mar 29 14:59:55 CET 2024

Total time taken to generate the page: 0.01562 seconds