Bug 1625626

Summary: Surrounding text does not work correctly in a Gnome Wayland session
Product: [Fedora] Fedora Reporter: Mike FABIAN <mfabian>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: fmuellner, lohang, mfabian, otaylor, petersen, tfujiwar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-24 18:15:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot.png none

Description Mike FABIAN 2018-09-05 11:46:44 UTC
Use ibus-typing-booster in a Gnome session to type into gedit.

Type "test . " (i.e. t e s t space . space)

1) In a Gnome Wayland session the result is: "test . "

   That means the output is exactly as typed.

2) In a Gnome Xorg session the result is:    "test. "

   Here, surrounding text is used to detect that a period has been
   added, apparently to end a sentence, therefore the whitespace
   between that period and the last word of the sentence is removed.
   The surrounding text feature is used to do that.
   In the Gnome Wayland session, this does not work as the support
   for surrounding text is apparently broken.

Comment 2 Mike FABIAN 2018-10-10 06:16:30 UTC
This bug is also caused by broken surrounding text:

https://bugzilla.redhat.com/show_bug.cgi?id=1637647

Comment 3 Mike FABIAN 2018-10-10 06:33:39 UTC
(In reply to fujiwara from comment #1)
> I noticed
> https://gitlab.gnome.org/GNOME/gnome-shell/commit/
> 443db2d29f9ec284fc41682231bca60f06b39fb4

That patch seems to be included in gnome-shell-3.30.1 but surrounding
text is still broken, this bug reported here still exists and also 
the bug mentioned in comment#2 still exists.

Comment 4 fujiwara 2018-10-10 08:17:17 UTC
Thank you for the check. I was thinking the reporting date would be a little late for f29.

Comment 5 fujiwara 2019-04-01 09:58:05 UTC
Sorry for the late response. I filed the upstream bug and patches.

Comment 6 Ben Cotton 2019-10-31 19:41:26 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Mike FABIAN 2020-06-23 13:02:29 UTC
Created attachment 1698452 [details]
Screenshot.png

It seems to work better in Gnome Wayland F32, but sometimes if fails in a slightly different way. 

When I originally reported the issue, typing "test . " (i.e. t e s t space . space) always resulted in "test . "
I.e. the space before the "." was not removed when typing the second space.

In this screenshot, where I tested on Gnome Wayland F32, I mostly got the correct "test. " but sometimes I got "test ." (No final space after the ".")

In the screenshot I tested this 20 times. 17 times it worked correctly and the result was "test. ", 3 times the result was "test .".

Comment 8 Ben Cotton 2020-11-03 15:02:24 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Ben Cotton 2020-11-24 18:15:19 UTC
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.