Menu

#1054 Input method candidate box never follows the cursor in Editor (wxgtk / ibus)

Undefined
open
nobody
Bug_Report
2021-01-02
2021-01-01
orzun
No
  • Versions: Arch Linux / Gnome 3.38.2 / ibus 1.5.23 / ibus-libpinyin 1.11.1 / CodeBlocks 20.03 rev 11997 / wxgtk 3.0.5.1
  • Steps to reproduce:
    1. change IME to ibus-libpinyin by press Super+Space;
    2. open CodeBlocks and input something in the Editor, the candidate box is below the Editor area:
      ibus
  • Expected behavior:
    the candidate box should follow the cursor when typing like it in poedit:
    poedit

Discussion

  • Teodor Petrov

    Teodor Petrov - 2021-01-01

    Does this work in the stc sample of wxWidgets or in CodeLite (another editor based on wx and scintillla)?

     
    • orzun

      orzun - 2021-01-01

      No, it doesn't work in Codelite. I didn't try it with the stc sample of wxWidgets.

       
      • Teodor Petrov

        Teodor Petrov - 2021-01-01

        Can you try building C::B against wx-master? You can install it locally and then use

          --with-wx-config=CONFIG wx-config script to use (optional)
        

        to select the non-system version. This would make it possible to test also the stc sample. Hint: The wxscintilla code in C::B and wx is slightly different, so the code it wx might work, but the code in C::B might not. This would be helpful info.

        Note: Does this thing work in scite, geany or any other scintila+gtk based editor?

         

        Last edit: Teodor Petrov 2021-01-01
        • orzun

          orzun - 2021-01-01

          It could take some time to build wxWidget on my laptop. It works somewhat in scite and geany:geany
          I searched IBus in Codelite's github repo, and found it might be a bug for wxScintila.

           

          Last edit: orzun 2021-01-01
        • orzun

          orzun - 2021-01-02

          I build the stc sample to test. Unfortunately, ibus behaves the same as in CodeBlocks. So it could be an upstream issue.

           
          • Teodor Petrov

            Teodor Petrov - 2021-01-02

            We try to be in sync with the code in wx, so if it is broken there chances that it works in C::B are close to 0.

             
  • Teodor Petrov

    Teodor Petrov - 2021-01-01
    • labels: --> Editor, Scintilla, IME
     
  • Teodor Petrov

    Teodor Petrov - 2021-01-02
     

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.