Cangjians / ibus-cangjie

An IBus engine for users of the Cangjie and Quick input methods
30 stars 14 forks source link

some char candidate is not visible when near the bottom of screen #75

Closed dictcp closed 8 years ago

dictcp commented 8 years ago

Summary When I am typing Chinese in gedit (other any other text editor/textarea), part of the ibus char selection window is not visible when the windows is too long (in term of height).

Package versions: ubuntu 16.04.1 ibus-cangjie-2.4-1

Steps to reproduce:

  1. install ubuntu, ibus-cangjie and gedit
  2. enable quick input method
  3. move the window to the bottom edge of the screen
  4. try typing in the address bar
  5. partial of the char selection windows was not in the visable screen

Expected behavior: the entire windows should be visible

Reproducible Always

candidate_box

dictcp commented 8 years ago

https://github.com/Cangjians/ibus-cangjie/pull/76 works for me

bochecha commented 8 years ago

76 really was the wrong fix for this.

Can you provide a screenshot of the whole screen, I'm having trouble understanding the full problem.

dictcp commented 8 years ago

candidate_box_screen

since I am using quick, the item in char selection window should be more than 2.

dictcp commented 8 years ago

that nonsense PR should not be accepted for sure :P

and actually I am suspecting it is upstream issue - maybe even got fixed and thus ubuntu-only issue

(I will use that nonsense PR in my daily life) and I will try to reproduce it in other platform to confirm whether it is a upstream issue.

will keep you guys posted.

antonyho commented 8 years ago

Can’t reproduce the problem on Manjaro GNOME.

On 8 Sep 2016, at 11:51 PM, Dick Tang notifications@github.com wrote:

that nonsense PR should not be accepted for sure :P

and actually I am suspecting it is upstream issue - maybe got fixed and thus ubuntu only issue

(I will use that nonsense PR in my daily life) and I will try to reproduce it in other platform to confirm whether it is a upstream issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Cangjians/ibus-cangjie/issues/75#issuecomment-245643943, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2A26Zuq6IdKzd-8_kXW6EVXobKrWjqks5qoC8WgaJpZM4J4Egf.

bochecha commented 8 years ago

I can reproduce with gedit, placing the window at the bottom of the screen.

bad

One thing to note is that ibus-cangjie is not the thing that actually draws the candidate popup on the screen, that's the « ibus panel ».

I'm using GNOME, so for me the « ibus panel » is the GNOME Shell. On other desktops it might be something else.

I don't think there's anything we can do about this on the ibus-cangjie side, though.

Can you open a bug report against GNOME Shell in https://bugzilla.gnome.org?

bochecha commented 8 years ago

@dictcp I don't know whether you reported a bug, but I ended up doing it: https://bugzilla.gnome.org/show_bug.cgi?id=771724

I talked about it with some GNOME folks, and one of them will try and fix it.

Closing this now, thanks for the original bug report!