unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
@ 2024-08-09 11:42 Sergio Callegari
  2024-08-10  5:54 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Sergio Callegari @ 2024-08-09 11:42 UTC (permalink / raw)
  To: 72549

To: bug-gnu-emacs@gnu.org
Subject: 29.4; menus do not work properly on wayland (pgtk)
From: Sergio Callegari <callegar@coccobill.mail-host-address-is-not-set>
--text follows this line--


Using emacs in KDE wayland, with the pgtk build. On a low spec machine,
emacs is hardly usable in this configuration. The menu system (file,
edit, options, etc.) misbehaves. For instance, you position the mouse on
"buffers", but the buffers menu does not open. To get it, you need to go
on File and then slowly move right through edit and options.

On a high spec machine emacs is usable with exactly the same config (Amd 
ryzen 9 with amd graphics).

in X11 mode, emacs is fine on both.


In GNU Emacs 29.4 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42,
cairo version 1.18.0)
System Description: Manjaro Linux

Configured using:
  'configure --with-pgtk --with-native-compilation=aot --sysconfdir=/etc
  --prefix=/usr --libexecdir=/usr/lib --with-tree-sitter
  --localstatedir=/var --with-cairo --disable-build-details
  --with-harfbuzz --with-libsystemd --with-modules 'CFLAGS=-march=x86-64
  -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3
  -Wformat -Werror=format-security -fstack-clash-protection
  -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g
  -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto'
  'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro
  -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto'
  'CXXFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
  -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
  -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
  -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g
  -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto''

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY
PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB

Important settings:
   value of $LC_MONETARY: en_IE.UTF-8
   value of $LC_NUMERIC: en_IE.UTF-8
   value of $LC_TIME: en_IE.UTF-8
   value of $LANG: en_US.UTF-8
   locale-coding-system: utf-8-unix

Major mode: LaTeX/P

Minor modes in effect:
   shell-dirtrack-mode: t
   TeX-PDF-mode: t
   TeX-source-correlate-mode: t
   delete-selection-mode: t
   cua-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   line-number-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message yank-media puny dired
dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils server latexenc time-date comp comp-cstr cl-extra help-mode
vc-git diff-mode vc-dispatcher preview reporter desktop frameset tex-bar
toolbar-x pcase noutline outline tex-mode shell pcomplete font-latex
latex edmacro kmacro latex-flymake rx flymake-proc flymake project
compile text-property-search comint ansi-osc ansi-color ring warnings
icons thingatpt tex-ispell tex-style tex derived easy-mmode crm dbus xml
texmathp finder-inf delsel cua-base cus-load info auctex-autoloads
tex-site markdown-mode-autoloads package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x
map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win
term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify dynamic-setting system-font-setting
font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 486757 33955)
  (symbols 48 23432 0)
  (strings 32 124656 4831)
  (string-bytes 1 3165854)
  (vectors 16 40090)
  (vector-slots 8 1399156 177365)
  (floats 8 103 193)
  (intervals 56 1063 70)
  (buffers 984 17))







^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
  2024-08-09 11:42 bug#72549: 29.4; menus do not work properly on wayland (pgtk) Sergio Callegari
@ 2024-08-10  5:54 ` Eli Zaretskii
  2024-08-10  8:27   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-08-10  5:54 UTC (permalink / raw)
  To: Sergio Callegari, Po Lu; +Cc: 72549

> Date: Fri, 9 Aug 2024 13:42:54 +0200
> From: Sergio Callegari <sergio.callegari@gmail.com>
> 
> Using emacs in KDE wayland, with the pgtk build. On a low spec machine,
> emacs is hardly usable in this configuration. The menu system (file,
> edit, options, etc.) misbehaves. For instance, you position the mouse on
> "buffers", but the buffers menu does not open. To get it, you need to go
> on File and then slowly move right through edit and options.
> 
> On a high spec machine emacs is usable with exactly the same config (Amd 
> ryzen 9 with amd graphics).
> 
> in X11 mode, emacs is fine on both.

Po Lu, any ideas or suggestions?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
  2024-08-10  5:54 ` Eli Zaretskii
@ 2024-08-10  8:27   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-08-24  8:27     ` Eli Zaretskii
  2024-08-24 14:17     ` Sergio Callegari
  0 siblings, 2 replies; 7+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-08-10  8:27 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Sergio Callegari, 72549

Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Fri, 9 Aug 2024 13:42:54 +0200
>> From: Sergio Callegari <sergio.callegari@gmail.com>
>> 
>> Using emacs in KDE wayland, with the pgtk build. On a low spec machine,
>> emacs is hardly usable in this configuration. The menu system (file,
>> edit, options, etc.) misbehaves. For instance, you position the mouse on
>> "buffers", but the buffers menu does not open. To get it, you need to go
>> on File and then slowly move right through edit and options.
>> 
>> On a high spec machine emacs is usable with exactly the same config (Amd 
>> ryzen 9 with amd graphics).
>> 
>> in X11 mode, emacs is fine on both.
>
> Po Lu, any ideas or suggestions?

Is this specific to KWin and Emacs, or reproducible on other compositors
and with other GTK 3 programs also?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
  2024-08-10  8:27   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2024-08-24  8:27     ` Eli Zaretskii
  2024-08-24 14:17     ` Sergio Callegari
  1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2024-08-24  8:27 UTC (permalink / raw)
  To: sergio.callegari, Po Lu; +Cc: 72549

Ping!  Sergio, can you please answer Po Lu's question?

> From: Po Lu <luangruo@yahoo.com>
> Cc: Sergio Callegari <sergio.callegari@gmail.com>,  72549@debbugs.gnu.org
> Date: Sat, 10 Aug 2024 16:27:39 +0800
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> >> Date: Fri, 9 Aug 2024 13:42:54 +0200
> >> From: Sergio Callegari <sergio.callegari@gmail.com>
> >> 
> >> Using emacs in KDE wayland, with the pgtk build. On a low spec machine,
> >> emacs is hardly usable in this configuration. The menu system (file,
> >> edit, options, etc.) misbehaves. For instance, you position the mouse on
> >> "buffers", but the buffers menu does not open. To get it, you need to go
> >> on File and then slowly move right through edit and options.
> >> 
> >> On a high spec machine emacs is usable with exactly the same config (Amd 
> >> ryzen 9 with amd graphics).
> >> 
> >> in X11 mode, emacs is fine on both.
> >
> > Po Lu, any ideas or suggestions?
> 
> Is this specific to KWin and Emacs, or reproducible on other compositors
> and with other GTK 3 programs also?
> 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
  2024-08-10  8:27   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2024-08-24  8:27     ` Eli Zaretskii
@ 2024-08-24 14:17     ` Sergio Callegari
  2024-09-07  7:24       ` Eli Zaretskii
  1 sibling, 1 reply; 7+ messages in thread
From: Sergio Callegari @ 2024-08-24 14:17 UTC (permalink / raw)
  To: Po Lu, Eli Zaretskii; +Cc: 72549

Sorry for the delay.

Unfortunately cannot try with other compositors, only kwin.

Other gtk3 applications are mostly fine. Note that on the specific 
machine many things are slow. For instance typing with thunderbird shows 
some lag and minor hangs. However, one thing is being slow, bothering 
but acceptable, and some other thing is becoming incorrect as in opening 
the wrong menu.

Thanks for looking into the issue

Sergio

On 10/08/2024 10:27, Po Lu wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Date: Fri, 9 Aug 2024 13:42:54 +0200
>>> From: Sergio Callegari <sergio.callegari@gmail.com>
>>>
>>> Using emacs in KDE wayland, with the pgtk build. On a low spec machine,
>>> emacs is hardly usable in this configuration. The menu system (file,
>>> edit, options, etc.) misbehaves. For instance, you position the mouse on
>>> "buffers", but the buffers menu does not open. To get it, you need to go
>>> on File and then slowly move right through edit and options.
>>>
>>> On a high spec machine emacs is usable with exactly the same config (Amd
>>> ryzen 9 with amd graphics).
>>>
>>> in X11 mode, emacs is fine on both.
>> Po Lu, any ideas or suggestions?
> Is this specific to KWin and Emacs, or reproducible on other compositors
> and with other GTK 3 programs also?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
  2024-08-24 14:17     ` Sergio Callegari
@ 2024-09-07  7:24       ` Eli Zaretskii
  2024-09-07  9:15         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2024-09-07  7:24 UTC (permalink / raw)
  To: luangruo, Sergio Callegari; +Cc: 72549

Ping!  How can we make some further progress here?

> Date: Sat, 24 Aug 2024 16:17:12 +0200
> Cc: 72549@debbugs.gnu.org
> From: Sergio Callegari <sergio.callegari@gmail.com>
> 
> Sorry for the delay.
> 
> Unfortunately cannot try with other compositors, only kwin.
> 
> Other gtk3 applications are mostly fine. Note that on the specific 
> machine many things are slow. For instance typing with thunderbird shows 
> some lag and minor hangs. However, one thing is being slow, bothering 
> but acceptable, and some other thing is becoming incorrect as in opening 
> the wrong menu.
> 
> Thanks for looking into the issue
> 
> Sergio
> 
> On 10/08/2024 10:27, Po Lu wrote:
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> >>> Date: Fri, 9 Aug 2024 13:42:54 +0200
> >>> From: Sergio Callegari <sergio.callegari@gmail.com>
> >>>
> >>> Using emacs in KDE wayland, with the pgtk build. On a low spec machine,
> >>> emacs is hardly usable in this configuration. The menu system (file,
> >>> edit, options, etc.) misbehaves. For instance, you position the mouse on
> >>> "buffers", but the buffers menu does not open. To get it, you need to go
> >>> on File and then slowly move right through edit and options.
> >>>
> >>> On a high spec machine emacs is usable with exactly the same config (Amd
> >>> ryzen 9 with amd graphics).
> >>>
> >>> in X11 mode, emacs is fine on both.
> >> Po Lu, any ideas or suggestions?
> > Is this specific to KWin and Emacs, or reproducible on other compositors
> > and with other GTK 3 programs also?
> 





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#72549: 29.4; menus do not work properly on wayland (pgtk)
  2024-09-07  7:24       ` Eli Zaretskii
@ 2024-09-07  9:15         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 7+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2024-09-07  9:15 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Sergio Callegari, 72549

Eli Zaretskii <eliz@gnu.org> writes:

> Ping!  How can we make some further progress here?
>
>> Date: Sat, 24 Aug 2024 16:17:12 +0200
>> Cc: 72549@debbugs.gnu.org
>> From: Sergio Callegari <sergio.callegari@gmail.com>
>> 
>> Sorry for the delay.
>> 
>> Unfortunately cannot try with other compositors, only kwin.
>> 
>> Other gtk3 applications are mostly fine. Note that on the specific 
>> machine many things are slow. For instance typing with thunderbird shows 
>> some lag and minor hangs. However, one thing is being slow, bothering 
>> but acceptable, and some other thing is becoming incorrect as in opening 
>> the wrong menu.

Sorry for the belated response.  Thunderbird is unfortunately not a
"real" GTK 3 application, as it implements a custom GUI; rather I'm
interested in the behavior of the GTK menu bar widget under your
compositor, which is best tested with the `gtk3-demo-application'
program.





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-09-07  9:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 11:42 bug#72549: 29.4; menus do not work properly on wayland (pgtk) Sergio Callegari
2024-08-10  5:54 ` Eli Zaretskii
2024-08-10  8:27   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24  8:27     ` Eli Zaretskii
2024-08-24 14:17     ` Sergio Callegari
2024-09-07  7:24       ` Eli Zaretskii
2024-09-07  9:15         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).