DelphinSoftware / vcl-styles-utils

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

Alt-Tab while 2nd-level submenu is open leaves afterwards garbage on screen #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open second level sub-menu
2. Without closing it press Alt-Tab and release - focus goes to another 
application

What is the expected output? What do you see instead?
Menu should be fully closed, instead the first level menu "ghost" remains on 
screen

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

Please provide any additional information below.
Does not happen when only first-level sub-menu is open

Original issue reported on code.google.com by everyb...@gmail.com on 10 Oct 2014 at 11:40

Attachments:

GoogleCodeExporter commented 9 years ago
In fact happens to all previous sub-menu levels, e.g. closing 3-d level 
sub-menu leaves garbage of 1-st and 2nd level sub-menus

Original comment by everyb...@gmail.com on 10 Oct 2014 at 12:33

GoogleCodeExporter commented 9 years ago
When I press the ALT key, the menu disappears so the issue is not happening, So 
can you send another instructions to reproduce the issue and/or send a sample 
application?

Original comment by Rodrigo.Ruz.V@gmail.com on 13 Oct 2014 at 2:17

GoogleCodeExporter commented 9 years ago
Do you press ALT key while on the second-level sub-menu?
Retested with "\vcl-styles-utils\Vcl Styles Hooks (Demo App)\Demo.dpr" 
by selecting Help|Contents|Contents 1, see image attached

Original comment by everyb...@gmail.com on 13 Oct 2014 at 8:14

Attachments:

GoogleCodeExporter commented 9 years ago
A solution is to comment out line 885:

unit Vcl.Styles.Utils.Menus;
...
885      SetRedraw(ParentPopup, False);
...

Original comment by everyb...@gmail.com on 24 Oct 2014 at 8:54

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r274.

Original comment by Rodrigo.Ruz.V@gmail.com on 29 Oct 2014 at 3:51