unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49489: 28.0.50; C-z hangs emacs in i3wm
       [not found] <87tul3wu8t.fsf.ref@aol.com>
@ 2021-07-09 12:24 ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2021-07-10 16:38   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-07-09 12:24 UTC (permalink / raw)
  To: 49489


Hi:

Recently I found that when I send C-z by accident to a gui emacs in i3wm
it hangs until I select another window and select it back again.

i3wm does not support minimize windows, most of the applications just
ignore when the user tries to minimize; but don't hang. (Something that
does not happen very often either because most of the users disable the
window borders)

Is it possible to detect when the window manager does not support
minimize or that the frame was not really minimized?



In GNU Emacs 28.0.50 (build 62, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.17.4)
 of 2021-07-09 built on Ergus
Repository revision: 4bfdf8c78ee8d4f85f0d226006c3cc891bee837f
Repository branch: master
System Description: Arch Linux

Configured using:
 'configure --prefix=/home/ergo/.local/ --with-mailutils --with-json
 --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules
 --with-cairo --with-harfbuzz --with-native-compilation'

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

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

Major mode: ELisp/d

Minor modes in effect:
  show-paren-mode: t
  global-auto-revert-mode: t
  xclip-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  electric-pair-mode: t
  flyspell-mode: t
  company-mode: t
  flycheck-mode: t
  diff-hl-margin-local-mode: t
  diff-hl-margin-mode: t
  diff-hl-mode: t
  counsel-mode: t
  ivy-mode: t
  composable-mark-mode: t
  composable-mode: t
  repeat-mode: t
  xterm-mouse-mode: t
  winner-mode: t
  save-place-mode: t
  which-key-mode: t
  override-global-mode: t
  delete-selection-mode: t
  savehist-mode: t
  global-display-fill-column-indicator-mode: t
  display-fill-column-indicator-mode: t
  global-display-line-numbers-mode: t
  display-line-numbers-mode: t
  eldoc-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/usr/share/emacs/site-lisp/cmake-mode hides /home/ergo/.emacs.d/elpa/cmake-mode-20210104.1831/cmake-mode
/usr/share/emacs/site-lisp/notmuch-crypto hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-crypto
/usr/share/emacs/site-lisp/notmuch-compat hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-compat
/usr/share/emacs/site-lisp/notmuch-hello hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-hello
/usr/share/emacs/site-lisp/notmuch hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch
/usr/share/emacs/site-lisp/notmuch-show hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-show
/usr/share/emacs/site-lisp/notmuch-maildir-fcc hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-maildir-fcc
/usr/share/emacs/site-lisp/coolj hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/coolj
/usr/share/emacs/site-lisp/notmuch-draft hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-draft
/usr/share/emacs/site-lisp/notmuch-tree hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-tree
/usr/share/emacs/site-lisp/notmuch-parser hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-parser
/usr/share/emacs/site-lisp/notmuch-lib hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-lib
/usr/share/emacs/site-lisp/notmuch-mua hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-mua
/usr/share/emacs/site-lisp/notmuch-message hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-message
/usr/share/emacs/site-lisp/notmuch-address hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-address
/usr/share/emacs/site-lisp/notmuch-wash hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-wash
/usr/share/emacs/site-lisp/notmuch-tag hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-tag
/usr/share/emacs/site-lisp/notmuch-print hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-print
/usr/share/emacs/site-lisp/notmuch-query hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-query
/usr/share/emacs/site-lisp/notmuch-jump hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-jump
/usr/share/emacs/site-lisp/notmuch-company hides /home/ergo/.emacs.d/elpa/notmuch-20210707.125/notmuch-company
/home/ergo/.emacs.d/elpa/transient-20210701.1116/transient hides /home/ergo/.local/share/emacs/28.0.50/lisp/transient

Features:
(shadow sort notmuch-company notmuch-lib notmuch-version notmuch-compat
mm-view mml-smime smime dig mailcap mail-extr emacsbug message rmc puny
rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail
rmail-loaddefs auth-source password-cache mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils thingatpt amx s
time-date paren autorevert filenotify xclip yasnippet-snippets yasnippet
elec-pair flyspell-correct-ivy flyspell-correct flyspell ispell
company-keywords company-gtags company-dabbrev-code company-dabbrev
company-files company-semantic company-template company-capf
company-elisp company flycheck json map find-func dash diff-hl-margin
diff-hl-dired diff-hl log-view pcvs-util vc-dir ewoc vc counsel xdg xref
project dired-x dired dired-loaddefs compile text-property-search comint
ansi-color swiper ivy-avy avy ivy flx ivy-faces ivy-overlay colir vc-git
diff-mode vc-dispatcher pcase term/tmux term/xterm xterm jka-compr init
composable composable-mark powerline comp comp-cstr warnings subr-x
powerline-separators color powerline-themes repeat xt-mouse
simple-16-theme winner ring saveplace diminish edmacro kmacro which-key
advice configmail cl-extra help-mode use-package use-package-ensure
use-package-delight use-package-diminish use-package-bind-key bind-key
use-package-core disp-table delsel savehist easy-mmode
display-fill-column-indicator display-line-numbers info ede/auto
eieio-base cl-seq seq eieio byte-opt bytecomp byte-compile cconv
eieio-core cl-macs gv eieio-loaddefs cl-loaddefs cl-lib tex-site rx
slime-autoloads early-init iso-transl tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-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 cl-generic 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 charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button
loaddefs faces cus-face macroexp files window text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo
move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 295294 8406)
 (symbols 48 20161 2)
 (strings 32 63272 10012)
 (string-bytes 1 2280857)
 (vectors 16 31968)
 (vector-slots 8 613299 10391)
 (floats 8 207 930)
 (intervals 56 5860 1969)
 (buffers 992 14))





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

* bug#49489: 28.0.50; C-z hangs emacs in i3wm
  2021-07-09 12:24 ` bug#49489: 28.0.50; C-z hangs emacs in i3wm Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-07-10 16:38   ` Lars Ingebrigtsen
  2021-07-11  1:12     ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-07-10 16:38 UTC (permalink / raw)
  To: Ergus; +Cc: 49489

Ergus <spacibba@aol.com> writes:

> Recently I found that when I send C-z by accident to a gui emacs in i3wm
> it hangs until I select another window and select it back again.

Just to confirm that it's indeed the iconification that makes Emacs
hang, can you try

M-: (iconify-frame) RET

?

> i3wm does not support minimize windows, most of the applications just
> ignore when the user tries to minimize; but don't hang. (Something that
> does not happen very often either because most of the users disable the
> window borders)
>
> Is it possible to detect when the window manager does not support
> minimize or that the frame was not really minimized?

I think the window manager can announce whether it supports
iconification or not, but I'm not very familiar with that stuff myself.
Anybody else know?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

* bug#49489: 28.0.50; C-z hangs emacs in i3wm
  2021-07-10 16:38   ` Lars Ingebrigtsen
@ 2021-07-11  1:12     ` Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 0 replies; 3+ messages in thread
From: Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-07-11  1:12 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 49489

On Sat, Jul 10, 2021 at 06:38:05PM +0200, Lars Ingebrigtsen wrote:
>Ergus <spacibba@aol.com> writes:
>
>> Recently I found that when I send C-z by accident to a gui emacs in i3wm
>> it hangs until I select another window and select it back again.
>
>Just to confirm that it's indeed the iconification that makes Emacs
>hang, can you try
>
>M-: (iconify-frame) RET
>
>?
>
Confirmed! Just tried and this makes it hang.

>> i3wm does not support minimize windows, most of the applications just
>> ignore when the user tries to minimize; but don't hang. (Something that
>> does not happen very often either because most of the users disable the
>> window borders)
>>
>> Is it possible to detect when the window manager does not support
>> minimize or that the frame was not really minimized?
>
>I think the window manager can announce whether it supports
>iconification or not, but I'm not very familiar with that stuff myself.
>Anybody else know?
>
>-- 
>(domestic pets only, the antidote for overdose, milk.)
>   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-07-11  1:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87tul3wu8t.fsf.ref@aol.com>
2021-07-09 12:24 ` bug#49489: 28.0.50; C-z hangs emacs in i3wm Ergus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-10 16:38   ` Lars Ingebrigtsen
2021-07-11  1:12     ` Ergus 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).