Bug 1942970 - Once enable emoji mode in gedit it got enabled by default in other applications as well
Summary: Once enable emoji mode in gedit it got enabled by default in other applicatio...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ibus
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: fujiwara
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-25 12:17 UTC by Priyam Gupta
Modified: 2021-11-04 01:46 UTC (History)
5 users (show)

Fixed In Version: ibus-1.5.25-5.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-04 01:46:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screencast (1.24 MB, video/webm)
2021-03-25 12:17 UTC, Priyam Gupta
no flags Details
Another video showing the problem (159.41 KB, video/mp4)
2021-10-05 07:05 UTC, Mike FABIAN
no flags Details

Description Priyam Gupta 2021-03-25 12:17:06 UTC
Created attachment 1766295 [details]
Screencast

Description of problem:

If I enable emoji on gedit and switch to other application (for e.g. terminal, browser or even if your screen got locked it is enabled by default ), the emoji mode is active in other applications as well, till I cancel it on gedit(or the app from where I initially activated it).


How reproducible:


Steps to Reproduce:
1.Open gedit.
2.Press ctrl+shift+e for activating emoji mode.
3.Switch to another application like terminal,firefox etc
4.Now try to type in the switched application.


Actual results:
It got enabled by default in other applications as well

Expected results:
 It should not enable by default in other applications

Additional info:
 Attaching screen recording for the same.

Comment 1 Jens Petersen 2021-04-12 09:35:30 UTC
Is this with ibus or not?

Comment 2 fujiwara 2021-04-15 11:36:09 UTC
Hmm..., I see your request.
But there is another use case.

IBus engines cannot recognize applications but input focuses.
IBus emoji extension accepts to change the IMEs and Super-space switcher dialog changes input focuses and do not disable emoji typing with focus changes by default.

Comment 3 Mike FABIAN 2021-10-05 07:05:36 UTC
Created attachment 1829253 [details]
Another video showing the problem

I also think this is very bad.

ibus should commit or discard this on focus change (I would prefer commit) but not move this emoji preedit to a different window.

What is especially bad is that it is sometimes “moved invisibly”:

In the video one can see that I type

Control+. smile space

into geedit and then see “e😃”.

Then I click into Libreoffice and the “e😃” is moved into LibreOffice.

Then I click into gedit and the “e😃” is moved back into gedit.

I click into LibreOffice again and the “e😃” is moved into LibreOffice.

Now I click into gedit again and it looks like the “e😃” has disappeared.

Now I type a “b” and surprisingly see “esmileb”, i.e. the “e😃” preedit was still there, it was just invisible and adding a “b” to this preedit made it visible again.

Comment 4 fujiwara 2021-10-29 04:53:27 UTC
Thank you all for the comments.
I'm convinced with the several issues and implemented a little complicated logic to handle focus-out/in events with Ctrl-period, space, and Emojier category window in Wayland desktops.
Let's see if we find other issues or regression ones.

Comment 5 Fedora Update System 2021-10-29 05:49:53 UTC
FEDORA-2021-f5f819f8d0 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5f819f8d0

Comment 6 Fedora Update System 2021-10-29 21:17:22 UTC
FEDORA-2021-f5f819f8d0 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f5f819f8d0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f5f819f8d0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2021-11-04 01:46:34 UTC
FEDORA-2021-f5f819f8d0 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.