mycopy / vcl-styles-utils

Automatically exported from code.google.com/p/vcl-styles-utils
0 stars 0 forks source link

System menu of another application interferes with styled application on Windows 8 #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Styled app with a grid on a form
2. Open the form and close
3. Open system menu of another app (Windows Paint) that sits in front of styled 
app
4. Go to styled app and open the form again

What is the expected output? What do you see instead?
Another app's system menu should have no influence. 
Instead on Windows 8 this leads to styled app incorrect redrawing (
when the form width is increased with a mouse old smaller image is not 
completely cleared and thus produces garbage)

What version of the product are you using? On what operating system?
Windows 8, Delphi XE4

Please provide any additional information below.
Looks like system hook gets involved even when other applications use system 
menu.
The problem appears to originate in rev 244

Original issue reported on code.google.com by everyb...@gmail.com on 10 Mar 2015 at 2:15

GoogleCodeExporter commented 9 years ago
Hi, please attach a image with the issue and a sample project to reproduce this.

Original comment by Rodrigo.Ruz.V@gmail.com on 11 Mar 2015 at 1:59

GoogleCodeExporter commented 9 years ago
Screenshot added

Original comment by everyb...@gmail.com on 12 Mar 2015 at 7:29

Attachments:

GoogleCodeExporter commented 9 years ago
The problem is not reproduced if menus styling is disabled:

unit Vcl.Styles.Utils.Menus;
{$UNDEF UseVCLStyleUtilsMenu}

Original comment by everyb...@gmail.com on 12 Mar 2015 at 9:28

GoogleCodeExporter commented 9 years ago
Hi,
I may see the same issue that just shows itself a little different...
Two of my applications have an icon in the traybar and supply a menu when I 
rightclick the icon. If the menu opens and overlaps with one of the application 
forms, it gets repainted indefinitely. It seems that the applications which 
have the vcl-style-utils linked interfere somehow...
Sometimes I have to kill the app in the process manager, because it seems to be 
stuck in a repainting loop.
Regards,
Stefan

Original comment by stefan.g...@googlemail.com on 27 Mar 2015 at 10:53

GoogleCodeExporter commented 9 years ago
Stefan, both applications uses the vcl-style-utils project code?

Original comment by Rodrigo.Ruz.V@gmail.com on 27 Mar 2015 at 10:49

GoogleCodeExporter commented 9 years ago
Yes, both projects use vcl-style-utils including the unit 
Vcl.Styles.Utils.Menus.pas.

Original comment by stefan.g...@googlemail.com on 28 Mar 2015 at 10:32