Bug#1146833: OSK unfolds way too often as gtk4 sends too many text_input.enable() events
Guido Günther
agx at sigxcpu.org
Mon Sep 21 14:07:31 BST 2026
Hi,
On Sat, Sep 19, 2026 at 12:07:18PM +0200, Guido Günther wrote:
> Hi,
> On Sat, Sep 19, 2026 at 10:43:04AM +0200, Jeremy Bícha wrote:
> > On Sat, Sep 19, 2026 at 10:12 AM Guido Günther <agx at sigxcpu.org> wrote:
> > > > That was a bit too terse, sorry: We have a workaround for the "osk pops
> > > > out too often" but not yet for the broken preedit one. I
> > > > would assume that both affect other input-methods as well. I'll let you
> > > > know once we made progress there.
> >
> > No problem. The only input method I tried was ibus, specifically
> > ibus-typing-booster and that worked.
> >
> > > I have a patch here now:
> > >
> > > https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10392
> >
> > I can cherry-pick that into Debian.
>
> That would be great but maybe we wait for some upstream feedback? I hope
> it's the correct approach (we've fixed similar issues like this before)
> but it would be good to be certain so that we don't break other input
> methods.
>
> > Do you also want me to add Breaks:
> > phoc like I did for ibus? If so, what version should I use? 0.57.0-2~
> > or will there be a new upstream release?
>
> Yes please, you can use 0.58~, I'll tag an upstream release. Downside is
> that we need to bundle wlroots in phoc for that as we're depending on
> not yet merged wlroots MRs
>
> https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/5458
>
> for the compositor side workaround for this issue.
I've now uploaded 0.58~alpha1 to unstable that works around this leaving
https://gitlab.gnome.org/GNOME/gtk/-/work_items/8419
as the last critical issue¹ which (as far as I can tell) needs a GTK side
fix:
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10392
I think with that cherry-picked GTK 4.24 looks o.k. to migrate to testing
for touch devices. (sorry for holding things up here btw).
https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/10395 fixes another
regression but it's not release critical, maybe we can cherry-pick that
once/if merged upstream.
Cheers,
-- Guido
1) It affects the default config (text prediction enabled)
>
> Cheers,
> -- Guido
>
> >
> > Thank you,
> > Jeremy Bícha
> >
More information about the pkg-gnome-maintainers
mailing list