-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Random visual glitches around the menu area v1.1 (Win 7) #10256
Comments
@wfdctrl You'll need to provide more info. A screen shot and set of steps to reproduce each problem would be very helpful. |
As I said the flashing seems to happen at random, so it is not directly triggered by any of my actions. It always happens when I am typing, so I never got a good look at it. It kind of looks like the glitch when you minimize the window. I'll try to take a video... In the mean time I downgraded, because it was a bit distracting and I haven't had any problems since... |
Yes, everything seems random until you figure out what's happening :) |
No, I use the default theme, always have. Anyways my computer is a little sluggish today, therefore the window switching works slower than usual. Now I can see what’s actually going on. The default windows border and title bar peek through for a brief moment and the white lines I have been noticing are their edges. The flashing also happens when I press ctrl-s and that is how it was triggered while typing. 😄 |
Btw, about "the text started to turn green": that's the normal, correct syntax highlighting. When you type a number in a JavaScript file, it will be color-coded green. |
Hmm, I can actually repro this today when switching windows too. |
@nethip yes, you’re probably right, when I first installed 1.1 version, there was constant flashing while I was typing (I compulsively press ctrl-s after every input). After I downgraded it was no longer triggered by saving, so it was as good as fixed for me. Then after I upgraded again I couldn't replicate that behavior, hence the confusion in my earlier comments... @peterflynn about the green text: am not the sharpest tool in the shed at 3 in the morning 😅 |
I think this could be caused by ScheduleMenuRedraw and MenuRedrawTimerHandler. Maybe try to not only call DrawMenuBar, but instead do whole DoPaintNonClientArea? Legacy windows code probably draws this white line, which needs to be drawn over again. |
I also noticed this happening after a WM_NCACTIVATE / WM_ACTIVATE. Changing the following in cef_dark_aero_window.cpp seems to get rid of that, since the default WndProc doesn't get to draw weird stuff after our call to UpdateNonClientArea.
Changed to:
|
@fxb 👏 This indeed fixed this! Good job! Could you put up a PR for this. |
@faddee The PR adobe/brackets-shell#507 is not yet merged with the master as we ran into couple of issues while unit testing. |
@nethip Argh! Ok, thanks for the info and good work though! :-) |
Since I upgraded to the new version(1.1), I have been noticing that the menu area is flashing at random times. I also get a similar glitch when I minimize the window.
The text was updated successfully, but these errors were encountered: