Skip to content

fix(ime): flip the candidate position vertically if the bottom edge overflows bottom screen edge#332

Draft
kenz-gelsoft wants to merge 1 commit intopop-os:masterfrom
kenz-gelsoft:revert-291-fix_linux_cand_pos_pop
Draft

fix(ime): flip the candidate position vertically if the bottom edge overflows bottom screen edge#332
kenz-gelsoft wants to merge 1 commit intopop-os:masterfrom
kenz-gelsoft:revert-291-fix_linux_cand_pos_pop

Conversation

@kenz-gelsoft
Copy link
Copy Markdown

@kenz-gelsoft kenz-gelsoft commented Apr 25, 2026

Prepares to fix pop-os/cosmic-comp#2284 for COSMIC apps.

This depends on cosmic-comp PR:


Basically pop-os/cosmic-comp#2320 fixes this but we specify the IME cursor rect to 0-height after #291 for workaround cosmic-comp issue, so flipping at screen bottom edge doesn't work correctly.

As pop-os/cosmic-comp#2320 will fix the root cause of #291, we can revert this once pop-os/cosmic-comp#2320 merged and released the cosmic-comp update to users.

  1. before Fix IME popup positioning for Wayland input-method-v2 clients cosmic-comp#2320
    • it doesn't flip the popup direction at the bottom of the screen
      Screenshot_2026-04-25_11-20-44
  2. after Fix IME popup positioning for Wayland input-method-v2 clients cosmic-comp#2320
    • it does flip vertically but doesn't respect the IME cursor area height.
    • this results in hiding the inputting text
      Screenshot_2026-04-25_11-26-56
  3. after this PR
    • it filps and respect IME cursor height
      Screenshot_2026-04-25_11-13-42

Revert "fix(ime): the candidate window position of fcitx5 which does't work well with winit's set_ime_cursor_area()"

Reverts #291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Input method popup (Fcitx5) does not flip vertically at the bottom screen edge and gets clipped

1 participant