Menu

#795 Assert at syntax highlighting

Undefined
fixed
nobody
Editor (23)
Bug_Report
2021-12-18
2019-02-06
Manuel MS
No

Steps:
1) Remove %users%\YOURUSER\AppData\Roaming\Codeblocks folder, just to simulate a fresh nighty install
2) Open C::B 11552
3) Press OK on compiler detection, no need to select one.
4) Same for "file associations".
5) Menu Settings -> Editor. Select "Syntax highlighting" at left pane.
6) Change a color, for example for "Comment normal".
7) Press OK button. The dialog closes.
8) Repeat 5 and 6.
Now, when OK is pressed a message appears:
"A debugging check in this application has failed".
"../../src/common/wincmn.cpp(1531): assert ""Assert failure"" failed in RemoveEventHandler(): where has the event handler gone?

Note that I have not clicked on the Scintilla preview window, but strictly the steps above.
If I click and scroll a bit, then two assert messages are shown, both identical.

Note: This ticket seems similar to #310 and #591

Discussion

  • bluehazzard

    bluehazzard - 2019-02-06

    This could probably be fixed with this commit: https://sourceforge.net/p/codeblocks/code/11561/
    At least i can not reproduce it with the latest trunk version

     

    Last edit: bluehazzard 2019-02-06
  • Teodor Petrov

    Teodor Petrov - 2019-05-25

    @Manuel Martin: Does this reproduce with the latest night build?

     
  • Manuel MS

    Manuel MS - 2019-05-27

    With CB rev. 11628 the bug is gone. THX.
    However, I see some flicker after closing the settings dialog. The toolbars layout is what flickers.

     
  • Teodor Petrov

    Teodor Petrov - 2019-05-27

    @Manuel Martin: Is this flickering new? We're recreating/reloading the editors after the settings are closed, so some flickering is probably expected, but I'm not sure. I don't think something changed about this recently.

     
  • Manuel MS

    Manuel MS - 2019-05-27

    Not that new, if I remember well (you know, you get used to something and notice nothing ;) . What is new is the amount of flicker, too much.

     
  • Teodor Petrov

    Teodor Petrov - 2019-05-27

    Can you track which night build is the first to have it that bad?

     
    • Manuel MS

      Manuel MS - 2019-05-28

      rev. 11623 (7 April 2019) is the culprit.

       
      • Teodor Petrov

        Teodor Petrov - 2019-06-08

        From your answer it is not clear if it happens with older night builds.

        Is 116323 the only one you've tried? Is 116323 the first one which has the problem and the night build before it doesn't exhibit the problem?

         
        • Manuel MS

          Manuel MS - 2019-06-10

          I've tested 11511, 11552, 11579, 11623 and 11628. The excess of flicker began with 11623.

           
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-18
    • status: open --> fixed
     
  • Miguel Gimenez

    Miguel Gimenez - 2021-12-18

    The original issue is fixed. About flicker, there is some filcker in current nightlies but it is expected.

     

Log in to post a comment.