Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code point feature broken without commit 7c8abbe8 #2496

Closed
gunnarhj opened this issue Mar 28, 2023 · 9 comments
Closed

Code point feature broken without commit 7c8abbe8 #2496

gunnarhj opened this issue Mar 28, 2023 · 9 comments

Comments

@gunnarhj
Copy link

This may or may not be an IBus bug, but I would appreciate input from others. Related Ubuntu bug: https://launchpad.net/bugs/2012788

In the coming Ubuntu 23.04 we see that using code points for entering Unicode characters no longer works. If I press for instance

Ctrl+Shift+U followed by 2014

I see u2014 on the screen. But it's not replaced with the expected character (in this case an Em Dash) when I confirm with Space or Enter — it just disappears.

The problem started with the Ubuntu build of ibus 1.5.28-2. The problem is not present if I downgrade to ibus 1.5.28-1. Neither is it present if I install the binaries from the 1.5.28-2 build for Debian experimental.

So what's the common denominators in the two latter cases? One thing is that they were both built with glib 2.74. So my suspicion is that building ibus with glib > 2.74 somehow breaks the code point feature.

@fujiwarat: Is this possibly something you can confirm, i.e. will building ibus with latest glib result in this issue?

@gunnarhj
Copy link
Author

This is the buildlog for the latest (broken) Ubuntu build:

https://launchpadlibrarian.net/656257694/buildlog_ubuntu-lunar-amd64.ibus_1.5.28-2_BUILDING.txt.gz

@fujiwarat
Copy link
Member

Are you talking about #2460 ?

@gunnarhj
Copy link
Author

Don't think so. Ubuntu is on libx11 1.8.4, and the issue above happens both on x11 and wayland.

@gunnarhj
Copy link
Author

OTOH, another common denominator for the ibus builds which work is that they were both built with libx11 1.8.3, while the latest problematic version in Ubuntu was built with libx11 1.8.4.

@fujiwarat
Copy link
Member

The problem started with the Ubuntu build of ibus 1.5.28-2.
Neither is it present if I install the binaries from the 1.5.28-2 build for Debian experimental.

Sorry, do you mean Ubuntu 1.5.28-2 has the problem and Debian 1.5.28-2 does not?

Seems ibus 1.5.28-1 works fine with you. What is the difference between 1.5.28-1 and 1.5.28-2 in Ubuntu?

Can 7c8abbe resolve your issue?

@fujiwarat
Copy link
Member

I cannot reproduce your problem in Fedora 38, glib2-2.76.1-1.fc38.x86_64 and libX11-1.8.4-1.fc38.x86_64 .

@gunnarhj
Copy link
Author

gunnarhj commented Mar 29, 2023

Sorry, do you mean Ubuntu 1.5.28-2 has the problem and Debian 1.5.28-2 does not?

Yes. Same source, but different build environments.

Seems ibus 1.5.28-1 works fine with you. What is the difference between 1.5.28-1 and 1.5.28-2 in Ubuntu?

  1. 497f0c7 and 8f706d1 added as patches.
  2. 1.5.28-2 was built later, i.e. with later versions of some build dependencies.

Can 7c8abbe resolve your issue?

Will test that.

@gunnarhj gunnarhj changed the title Code point feature breaks if building ibus with glib > 2.74 Code point feature broken without commit 7c8abbe8 Mar 29, 2023
@gunnarhj
Copy link
Author

@fujiwarat: Yes, 7c8abbe was it. I hadn't realized the significance of that commit.

Thanks!

@fujiwarat
Copy link
Member

Thank you for the quick test.

Duplicate of #2476

pennae added a commit to r-ryantm/nixpkgs that referenced this issue Apr 18, 2023
pennae added a commit to r-ryantm/nixpkgs that referenced this issue Apr 19, 2023
see NixOS#226526,
ibus/ibus#2496,
NixOS#218120 (comment)

codepoint and emoji input simply don't show due to runtime
initialization issues, and a missing make dependency makes the build flaky.
pennae added a commit to r-ryantm/nixpkgs that referenced this issue Apr 19, 2023
see NixOS#226526,
ibus/ibus#2496,
NixOS#218120 (comment)

codepoint and emoji input simply don't show due to runtime
initialization issues, and a missing make dependency makes the build flaky.
pennae added a commit to NixOS/nixpkgs that referenced this issue Apr 19, 2023
see #226526,
ibus/ibus#2496,
#218120 (comment)

codepoint and emoji input simply don't show due to runtime
initialization issues, and a missing make dependency makes the build flaky.
anpin pushed a commit to anpin/nixpkgs that referenced this issue Apr 22, 2023
see NixOS#226526,
ibus/ibus#2496,
NixOS#218120 (comment)

codepoint and emoji input simply don't show due to runtime
initialization issues, and a missing make dependency makes the build flaky.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants