#649 The candidate window of input method can not follow the cursor in windows

None
fixed
nobody
5*
2014-07-20
2012-11-29
ctexlive
No

When I using input method to type chinese characters on texstudio(2.5.1) in windows(win7 x64), the input window could not follow the cursor(see Fig1-2). The candidate window of the input method should follow the cursor.
Fig1. fig1

1 Attachments

Discussion

  • ctexlive

    ctexlive - 2012-11-29

    Fig2.texstudio

     
  • ctexlive

    ctexlive - 2012-11-29

    When I using input method to type chinese characters on texmaker(3.3.3) ,the coursor following works well. Due to texmaker use the same qt libs for windows like texstudio,so there must be some bugs in texstudio,not in input method(see Fig3). Please fix this bug. Thanks.
    http://www.xm1math.net/texmaker/ texmaker's homepage
    Fig3. fig3

     
  • Benito van der Zander

    so the bug is only about the position fo that window; not about the inserted characters?

    (and btw texstudio uses qcodeedit for editing, while texmaker uses qtextedit, which are completely different; and qcodeedit does not usually support that editing mode)

     
    • ctexlive

      ctexlive - 2012-11-30

      "so the bug is only about the position fo that window; not about the inserted characters?"-->yes. The behaviour can be ddescribed as follows:
      "This is how cursor following works: Application send the position to Input method, then input method move the input window. So if application do not send the position, the position would be wrong. This behavior is controlled by application, but not input method. "Ref [1][1]

      [1]:http://fcitx-im.org/wiki/FAQ "Cursor Following problem" section

       
      Last edit: ctexlive 2012-11-30
  • Benito van der Zander

    • Priority: 1 --> 5*
     
  • Tim Hoffmann

    Tim Hoffmann - 2012-12-03

    I created a new executable that reports the microfocus to an input method query.

    Please download it here:
    http://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20SVN/input_method_test.zip/download
    and temporarilby replace the original executable with the new one. Check if this solves the issue and please report back.

     
    • ctexlive

      ctexlive - 2012-12-03

      HI~,Thank you for your efforts.When I move the cursor along the y axis, the input method window can follow the cursor's y-coordinate.But it can't follow the cursor's x-coordinate.(See FIg1) The Normal behaviour typing in Notepad2 editor can be seen in Fig2.
      Fig1.

       
      Last edit: ctexlive 2012-12-03
    • ctexlive

      ctexlive - 2012-12-03

      Fig2.
      Typing in Notepad2 editor.

       
      Last edit: ctexlive 2012-12-03
    • ctexlive

      ctexlive - 2012-12-03

      another problem:
      When I use Microsoft pinyin IME 2010 to type in texstudio,a provisional pinyin showing line is absent.(see Fig3 comparison between texstudio and texmaker)
      I think texstudio may lack some IME API .
      Ref.
      Input Method Editor and Text Services Framework Accessibility in Windows XP
      http://msdn.microsoft.com/en-us/library/ms971336.aspx
      http://newton.uor.edu/Departments&Programs/AsianStudiesDept/language/chinese_write.htm

      Fig3.

       
      Last edit: ctexlive 2012-12-03
  • Tim Hoffmann

    Tim Hoffmann - 2012-12-03

    @ position problem: I've put a new binary under the same link
    http://sourceforge.net/projects/texstudio/files/texstudio/TeXstudio%20SVN/input_method_test.zip/download
    Please test.

    @ missing IME API. That may be true. Although it's the responsibility of the QCodeEditor component we use, not of TXS itself. We have to investigate this at some later point (n.b. the above fix for the position is also inside QCE)

     
    • ctexlive

      ctexlive - 2012-12-04

      @ position problem: I test in win xp and win7(x64),both are ok. Thanks.

       
  • Tim Hoffmann

    Tim Hoffmann - 2012-12-05

    note: position problem fixed in rev. 3526

     
  • Tim Hoffmann

    Tim Hoffmann - 2014-07-20
    • status: open --> fixed
    • Group: -->
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks