Menu

#88 Code completion mouse hover tooltip is always active

Next_Release
open
nobody
Bug_Report
2020-09-26
2014-11-03
No

As first notified here

The Code Completion option "display info when hovering mouse over a token in the editor" is always active. Even when uncheckd, it shows a tooltip. Plus it has wrong colors.

Discussion

  • ollydbg

    ollydbg - 2014-11-09
    • labels: Code Completion --> Code Completion, CodeCompletion
     
  • ollydbg

    ollydbg - 2014-11-11

    FYI: CCManager settings dialogue plan Once this is done, the issue can be fixed.

    BTW: I think the color is another issue, I don't know if there are some options we can change the tip window color.

     
  • purple_light

    purple_light - 2014-11-12

    labels: use what you think is more appropriate.
    colors: I think the colors should be simply those used in the editor.

     
  • Morten MacFly

    Morten MacFly - 2015-02-07
    • Type: --> Undefined
     
  • ollydbg

    ollydbg - 2015-09-08

    @purple_light, does the bug still exists in the trunk? Thanks.

     
  • purple_light

    purple_light - 2015-09-09

    Tested on the 10474 win32:
    - I started CB with the CC plugin disabled.
    - The "code completion" checkbox in the general settings is enabled even when the CC plugin is not loaded.
    - I enabled the plugin. In the editor, nothing happens, so it seems that a CB restart is required. So I did.
    - After the restart, CC works ok. and the tooltips can be disabled.
    - The colors of the tooltip, suggestion list and the documentation tooltip are still wrong and not coherent. The tooltip seems to be the default black on yellow, while the others are some white on grey, similar to the colors i have in the editor.
    Also.. why the CC options are in the general settings?

    Anyways, thanks for fixing it

     

    Last edit: purple_light 2015-09-09
  • ollydbg

    ollydbg - 2015-09-09

    OK, thanks for the test:

    why the CC options are in the general settings?

    This could be improved, I think a single page is needed. (that's an option for the ccmanager, and we have many kinds of CCs, such as :c/c++ CC, Fortran CC, Python CC. Currently, I don't see any devs are active working on it, so to remenber this issue, can you please file a SF Ticket? Thanks.

    About the color issue, I think a separate SF ticket is need here, thanks.

    I think the colors should be simply those used in the editor.

    You mean the background color and the font color of the tip window?

    There is indeed another issue, which is CC don't start parsing the project if it is enabled. (instread, a restart is needed), this could be another SF ticket.

     

    Last edit: ollydbg 2015-09-09
    • purple_light

      purple_light - 2015-09-23

      can you please file a SF Ticket? Thanks.

      Here: https://sourceforge.net/p/codeblocks/tickets/223/

      About the color issue, I think a separate SF ticket is need here, thanks.

      I might add one later.

      You mean the background color and the font color of the tip window?

      yes.

      There is indeed another issue, which is CC don't start parsing the project if it is enabled. (instread, a restart is needed), this could be another SF ticket.

      I think it's a minor thing... for the time being, it could just be a note on the options window.

       
  • Teodor Petrov

    Teodor Petrov - 2016-01-20
    • Type: Undefined --> Bug_Report
     
  • ollydbg

    ollydbg - 2016-02-19

    Is the bug

    The Code Completion option "display info when hovering mouse over a token in the editor" is always active. Even when uncheckd, it shows a tooltip.

    solved?

    If yes, I would like to mark this ticket as closed, and we can discuss other issues(like the color issues) in other tickets, thanks.

     

    Last edit: ollydbg 2016-02-19
  • purple_light

    purple_light - 2016-02-19

    I've tested with v16.01 on win32.
    The CC options in the general settings are still all clickable even when the plugin is not loaded. It's nothing important though.
    The tooltip and documentation colors are tweakable in the environment settings, and they appear correct.
    I've tested the tooltip enable/disable/keybound settings and they seem to work ok.
    I've not tested the "force single page" because I don't know what it does :)

    I guess this ticket could be closed.

     
  • purple_light

    purple_light - 2016-03-01

    Is it possible that the tooltip with the wrong colors is a leftover from Scintilla?

     
  • Teodor Petrov

    Teodor Petrov - 2020-09-26
    • labels: Code Completion, CodeCompletion --> CodeCompletion
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.