View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006682||JEDI VCL||00 JVCL Components||public||2019-05-30 12:07||2019-08-20 18:19|
|Target Version||Fixed in Version|
|Summary||0006682: loop on WM_DRAWITEM|
|Description||From last update:|
at line: 1839 SetDefaultMenuFont(Screen.MenuFont)
in JvMenus: TJvPopupMenu.WMDrawItem starts a infinite loop with FORMS: TCustomForm.WndProc at WM_DRAWITEM.
Just right-click to get pop-up menu, draws menu items again an again.
Canvas.Font := Screen.MenuFont;
instead of offending line
|Tags||No tags attached.|
PopupTest.zip (54,740 bytes)
I cannot reproduce your problem.
What I did can be seen in the attached demo.
1. Unzip it and run it.
2. right click into the edit at the bottom
On my Windows 10 x64 VM this opens a TJvPopupMenu with 2 entries, both call ShowMessage each and I do not see any flicker. I can click them and they bring up their message each.
=> how does your test case differ?
||@OuatuBogdan: did you check my demo in order to tell us what you make different in order to actually show the bug?|
||@OuatuBogdan: did you check my demo meanwhile? If you tell us what I did differently so I do not see this issue I'll try to help getting it fixed. until then I cannot do anything about that opne. Sorry!|