GNU bug report logs -
#61719
29.1; pgtk focus problem with fcitx5 5.0.21 preedit
Previous Next
To reply to this bug, email your comments to 61719 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
luangruo <at> yahoo.com, bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Wed, 22 Feb 2023 22:13:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Sean Whitton <spwhitton <at> spwhitton.name>
:
New bug report received and forwarded. Copy sent to
luangruo <at> yahoo.com, bug-gnu-emacs <at> gnu.org
.
(Wed, 22 Feb 2023 22:13:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
X-debbugs-cc: luangruo <at> yahoo.com
I just upgraded a workstation Debian bullseye->bookworm, which involved
an upgrade of the Sway Wayland compositor from 1.5 to 1.7. This appears
to have uncovered a bug in the pgtk build.
1. emacs -Q --bg-daemon=foo
2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
After the second frame has opened, it seems that the first still has
keyboard focus for typing unmodified self-insert chars, but if you type
C-x, then neither of the frames receives the keypress.
I tried 'firefox -new-window; sleep 5; firefox -new-window', which is
also Wayland-native GTK, for comparison. The bug does not appear there.
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Thu, 23 Feb 2023 09:37:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 61719 <at> debbugs.gnu.org (full text, mbox):
Sean Whitton <spwhitton <at> spwhitton.name> writes:
> X-debbugs-cc: luangruo <at> yahoo.com
>
> I just upgraded a workstation Debian bullseye->bookworm, which involved
> an upgrade of the Sway Wayland compositor from 1.5 to 1.7. This appears
> to have uncovered a bug in the pgtk build.
>
> 1. emacs -Q --bg-daemon=foo
> 2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
>
> After the second frame has opened, it seems that the first still has
> keyboard focus for typing unmodified self-insert chars, but if you type
> C-x, then neither of the frames receives the keypress.
>
> I tried 'firefox -new-window; sleep 5; firefox -new-window', which is
> also Wayland-native GTK, for comparison. The bug does not appear there.
Would you please run Emacs with ``WAYLAND_DEBUG=client'' and show the
print out around the time you create the new frame?
The output will be very verbose, but please send the entirety, and not
just what you think to be the problem. Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Fri, 24 Feb 2023 04:53:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 61719 <at> debbugs.gnu.org (full text, mbox):
Hello,
On Thu 23 Feb 2023 at 05:35PM +08, Po Lu wrote:
> Sean Whitton <spwhitton <at> spwhitton.name> writes:
>
>> X-debbugs-cc: luangruo <at> yahoo.com
>>
>> I just upgraded a workstation Debian bullseye->bookworm, which involved
>> an upgrade of the Sway Wayland compositor from 1.5 to 1.7. This appears
>> to have uncovered a bug in the pgtk build.
>>
>> 1. emacs -Q --bg-daemon=foo
>> 2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
>>
>> After the second frame has opened, it seems that the first still has
>> keyboard focus for typing unmodified self-insert chars, but if you type
>> C-x, then neither of the frames receives the keypress.
>>
>> I tried 'firefox -new-window; sleep 5; firefox -new-window', which is
>> also Wayland-native GTK, for comparison. The bug does not appear there.
>
> Would you please run Emacs with ``WAYLAND_DEBUG=client'' and show the
> print out around the time you create the new frame?
>
> The output will be very verbose, but please send the entirety, and not
> just what you think to be the problem. Thanks.
Hmm. I just restarted Sway and now I can't reproduce it, but before I
restarted it, I could reproduce it reliably.
I will keep trying every few hours and see.
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Fri, 24 Feb 2023 20:35:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 61719 <at> debbugs.gnu.org (full text, mbox):
Hello,
On Thu 23 Feb 2023 at 09:52PM -07, Sean Whitton wrote:
> On Thu 23 Feb 2023 at 05:35PM +08, Po Lu wrote:
>
>> Would you please run Emacs with ``WAYLAND_DEBUG=client'' and show the
>> print out around the time you create the new frame?
>>
>> The output will be very verbose, but please send the entirety, and not
>> just what you think to be the problem. Thanks.
>
> Hmm. I just restarted Sway and now I can't reproduce it, but before I
> restarted it, I could reproduce it reliably.
>
> I will keep trying every few hours and see.
Alright, I have reproduced it again now, twice. I am sending the logs
off-list just in case there are privacy implications; please do not post.
wayland_debug:
1. WAYLAND_DEBUG=client emacs -Q --fg-daemon=foo 2>tmp/wayland_debug &
2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
3. Close both of the frames.
4. emacsclient -sfoo -nc
5. In this frame, C-x C-f worked, unlike in my initial report, but
self-insert chars didn't appear until I'd typed the key many times.
The self-insert chars don't appear in the terminal emulator that's
the previously selected window.
6. M-x kill-emacs
7. Repeated steps 4--6. Same result.
wayland_debug2:
1. WAYLAND_DEBUG=client emacs -Q --fg-daemon=foo 2>tmp/wayland_debug2 &
2. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
3. Close both of the frames.
4. emacsclient -sfoo -nc; sleep 5; emacsclient -sfoo -nc
5. Try to type into second frame.
In this case, C-x C-f didn't appear to work in the second frame.
When I tried to type it, the mode line changed to mode-line-inactive.
The other frame seems to have a "Find file:" prompt.
After a few seconds this prompt also appeared in the second frame.
6. M-x kill-emacs
Let me know if you want me to try some other variation.
Thanks!
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Wed, 03 May 2023 19:19:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 61719 <at> debbugs.gnu.org (full text, mbox):
Hello Po,
On Fri 24 Feb 2023 at 01:34PM -07, Sean Whitton wrote:
> Alright, I have reproduced it again now, twice. I am sending the logs
> off-list just in case there are privacy implications; please do not
> post.
>
> [...]
Could I ask whether you've had any more thoughts on this bug?
(Po sent me a patch off-list in response to my logs but it did not
resolve the issue.)
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Sun, 02 Jul 2023 21:55:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 61719 <at> debbugs.gnu.org (full text, mbox):
Hello Po,
On Wed 03 May 2023 at 12:18PM -07, Sean Whitton wrote:
> Hello Po,
>
> On Fri 24 Feb 2023 at 01:34PM -07, Sean Whitton wrote:
>
>> Alright, I have reproduced it again now, twice. I am sending the logs
>> off-list just in case there are privacy implications; please do not
>> post.
>>
>> [...]
>
> Could I ask whether you've had any more thoughts on this bug?
>
> (Po sent me a patch off-list in response to my logs but it did not
> resolve the issue.)
I hope you won't mind me pinging you again about this. Have you had any
more thoughts?
Anyone who tries to use pgtk on the newly released Debian bookworm is
going to run into this, so it is probably worth getting it into Emacs 29.
--
Sean Whitton
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#61719
; Package
emacs
.
(Wed, 23 Aug 2023 20:38:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 61719 <at> debbugs.gnu.org (full text, mbox):
control: retitle -1 29.1; pgtk focus problem with fcitx5 5.0.21 preedit
Hello,
I have determined that the problem is not with Sway but with fcitx5.
Environment to reproduce:
- fcitx5 5.0.21 from Debian bookworm
- enable "Show preedit in application" in fcitx5-config-qt
i.e. the problem can be worked around by disabling showing the preedit.
And as I said previously, the problem does not occur with fcitx5 5.0.5.
I don't know whether the bug is in our port or in fcitx5.
--
Sean Whitton
Changed bug title to '29.1; pgtk focus problem with fcitx5 5.0.21 preedit' from '29.0.60; pgtk focus problem with Sway 1.7'
Request was from
Sean Whitton <spwhitton <at> spwhitton.name>
to
control <at> debbugs.gnu.org
.
(Wed, 23 Aug 2023 20:40:01 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 296 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.