all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tollef Fog Heen <tfheen@err.no>
To: Po Lu <luangruo@yahoo.com>
Cc: Eli Zaretskii <eliz@gnu.org>, 66398@debbugs.gnu.org
Subject: bug#66398: 29.1; Buggy handling of transparency changes / blur/unblur
Date: Sat, 14 Oct 2023 19:31:10 +0200	[thread overview]
Message-ID: <87il799km9.fsf@err.no> (raw)
In-Reply-To: <87o7h1a9zv.fsf@yahoo.com> (Po Lu's message of "Sat, 14 Oct 2023 16:23:00 +0800")

]] Po Lu 

Hi,

> before deactivating and reactivating that frame, posting the output from
> xprop here?

_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
_NET_WM_OPAQUE_REGION(CARDINAL) = 0, 0, 1073, 1057
_NET_WM_WINDOW_OPACITY(CARDINAL) = 3435973836
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x52044b3
                bitmap id # of mask for icon: 0x52044b9
                window id # of group leader: 0x5200001
_GTK_THEME_VARIANT(UTF8_STRING) =
_NET_WM_ICON(CARDINAL) =        Icon (48 x 48):

                            ░░░▒▒░░░
                        ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒
                      ░▒▒▒▒░░░░░░░░░▒▒▒▒▒░
                    ░▒▒▒░░░░░░░░░░░░░░░▒▒▒▒░
                   ▒▒▒░░░░░░░░░░░░░░░░░░░▒▒▒▒
                 ░▒▒░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒
                ░▒▒░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒░
               ░▒▒░░░░░░░░░░░░░░░       ░▒▒▒▒▒▒▓
              ░▒▒░░░░░░░░░░░░░           ░▒▒▒▒▒▒▒
              ▒▒░░░░░░░░░░░░░░░░░░░░░    ░▒▒▒▒▒▒▒▒
             ▒▒░░░░░░░░░░░░░░░░░░░░░      ▒▒▒▒▒▒▒▒▒
            ░▒░░░░░░░░░░░░░░░            ░▒▒▒▒▒▒▒▒▓
            ▒▒░░░░░░░░░                  ░▒▒▒▒▒▒▒▒▒▒
           ░▒░░░░░░░░░                 ░▒▒▒▒▒▒▒▒▒▒▒▓
           ▒▒░░░░░░░░         ░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
           ▒░░░░░░░░░░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▒▒░░░░░░░░░░░     ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
          ▒▒░░░░░░░░░░░░     ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
          ▒▒░░░░░░░░░░░░░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▒░░░░░░░░░░░▒▒▒▒░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
         ░▒░░░░░░░░░░▒▒▒▒▒▒▒░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
         ░▒░░░░░░░░░▒▒▒▒▒▒▒░░░░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░░░░░▒▒▒▒▒░░             ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░░░░▒▒▒▒░             ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░░░▒▒▒░           ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░▒▒▒▒░          ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
         ░▒░░▒▒▒▒░         ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▓▒▒▒▒▒▒░        ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▒▒▒▒▒▒▒░       ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
          ▒▒▒▒▒▒▒░       ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
          ░▒▒▒▒▒▒▒        ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
           ▒▒▒▒▒▒▒▒░         ░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
           ░▒▒▒▒▒▒▒▒░                     ░░▒▒▒▒▒▒▒▓░
            ▒▒▒▒▒▒▒▒▒▒░░                    ░▒▒▒▒▒▒▒
            ░▒▒▒▒▒▒▒▒▒▒▒▒▒░░                ▒▒▒▒▒▒▓░
             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░     ░▒▒▒▒▒▒▓▒
              ▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░      ░░▒▒▒▒▒▒▒▒▓
              ░▓▒▒▒▒▒▒▒▒▒▒▒░░      ░░▒▒▒▒▒▒▒▒▒▒▒▓
               ░▓▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
                ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
                 ░▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
                  ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒
                    ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓░
                      ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒
                        ░▒▓▓▒▒▒▒▒▒▒▓▓▓▒░
                           ░░▒▒▒▒▒▒░░

XdndAware(ATOM) = BITMAP
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 86000395, 86000396
_NET_WM_USER_TIME(CARDINAL) = 1422382098
_NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x520430a
WM_CLIENT_LEADER(WINDOW): window id # 0x5200001
_NET_WM_PID(CARDINAL) = 3313810
WM_LOCALE_NAME(STRING) = "nb_NO.utf8"
WM_CLIENT_MACHINE(STRING) = "xoog"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified minimum size: 40 by 17
                program specified resize increment: 8 by 17
                program specified base size: 40 by 17
                window gravity: NorthWest
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_CLASS(STRING) = "emacs", "Emacs"
WM_ICON_NAME(STRING) = "*test "
_NET_WM_ICON_NAME(UTF8_STRING) = "*test "
WM_NAME(STRING) = "*test "
_NET_WM_NAME(UTF8_STRING) = "*test "
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_WINDOW_OPACITY(CARDINAL) = 4294967295
_NET_WM_WINDOW_OPACITY(CARDINAL) = 3435973836
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_WINDOW_OPACITY(CARDINAL) = 3435973836
_NET_WM_WINDOW_OPACITY(CARDINAL) = 3435973836
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_WINDOW_OPACITY(CARDINAL) = 4294967295
_NET_WM_WINDOW_OPACITY(CARDINAL) = 3435973836
_NET_WM_USER_TIME(CARDINAL) = 1422405540
_NET_WM_USER_TIME(CARDINAL) = 1422405540
_NET_WM_USER_TIME(CARDINAL) = 1422406221
_NET_WM_USER_TIME(CARDINAL) = 1422406221
_NET_WM_ICON(CARDINAL) =        Icon (48 x 48):

                            ░░░▒▒░░░
                        ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒
                      ░▒▒▒▒░░░░░░░░░▒▒▒▒▒░
                    ░▒▒▒░░░░░░░░░░░░░░░▒▒▒▒░
                   ▒▒▒░░░░░░░░░░░░░░░░░░░▒▒▒▒
                 ░▒▒░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒
                ░▒▒░░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒░
               ░▒▒░░░░░░░░░░░░░░░       ░▒▒▒▒▒▒▓
              ░▒▒░░░░░░░░░░░░░           ░▒▒▒▒▒▒▒
              ▒▒░░░░░░░░░░░░░░░░░░░░░    ░▒▒▒▒▒▒▒▒
             ▒▒░░░░░░░░░░░░░░░░░░░░░      ▒▒▒▒▒▒▒▒▒
            ░▒░░░░░░░░░░░░░░░            ░▒▒▒▒▒▒▒▒▓
            ▒▒░░░░░░░░░                  ░▒▒▒▒▒▒▒▒▒▒
           ░▒░░░░░░░░░                 ░▒▒▒▒▒▒▒▒▒▒▒▓
           ▒▒░░░░░░░░         ░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
           ▒░░░░░░░░░░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▒▒░░░░░░░░░░░     ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
          ▒▒░░░░░░░░░░░░     ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
          ▒▒░░░░░░░░░░░░░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▒░░░░░░░░░░░▒▒▒▒░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
         ░▒░░░░░░░░░░▒▒▒▒▒▒▒░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
         ░▒░░░░░░░░░▒▒▒▒▒▒▒░░░░      ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░░░░░▒▒▒▒▒░░             ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░░░░▒▒▒▒░             ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░░░▒▒▒░           ░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
         ░▒░░░▒▒▒▒░          ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
         ░▒░░▒▒▒▒░         ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▓▒▒▒▒▒▒░        ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
          ▒▒▒▒▒▒▒░       ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
          ▒▒▒▒▒▒▒░       ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
          ░▒▒▒▒▒▒▒        ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓
           ▒▒▒▒▒▒▒▒░         ░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
           ░▒▒▒▒▒▒▒▒░                     ░░▒▒▒▒▒▒▒▓░
            ▒▒▒▒▒▒▒▒▒▒░░                    ░▒▒▒▒▒▒▒
            ░▒▒▒▒▒▒▒▒▒▒▒▒▒░░                ▒▒▒▒▒▒▓░
             ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░     ░▒▒▒▒▒▒▓▒
              ▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░      ░░▒▒▒▒▒▒▒▒▓
              ░▓▒▒▒▒▒▒▒▒▒▒▒░░      ░░▒▒▒▒▒▒▒▒▒▒▒▓
               ░▓▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
                ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
                 ░▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓░
                  ░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒
                    ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓░
                      ▒▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒
                        ░▒▓▓▒▒▒▒▒▒▒▓▓▓▒░
                           ░░▒▒▒▒▒▒░░



WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0x52044bf
                bitmap id # of mask for icon: 0x52044c5
                window id # of group leader: 0x5200001
_NET_WM_NAME(UTF8_STRING) = " *Minibuf-1* "
WM_NAME(STRING) = " *Minibuf-1* "
_NET_WM_ICON_NAME(UTF8_STRING) = " *Minibuf-1* "
WM_ICON_NAME(STRING) = " *Minibuf-1* "
WM_ICON_NAME(STRING) = " *Minibuf-1* "
_NET_WM_ICON_NAME(UTF8_STRING) = " *Minibuf-1* "
_NET_WM_WINDOW_OPACITY(CARDINAL) = 4294967295
_NET_WM_USER_TIME(CARDINAL) = 1422406864
_NET_WM_USER_TIME(CARDINAL) = 1422406864
_NET_WM_USER_TIME(CARDINAL) = 1422408217
_NET_WM_USER_TIME(CARDINAL) = 1422408217
_NET_WM_NAME(UTF8_STRING) = "*test "
WM_NAME(STRING) = "*test "
_NET_WM_ICON_NAME(UTF8_STRING) = "*test "
WM_ICON_NAME(STRING) = "*test "
WM_ICON_NAME(STRING) = "*test "
_NET_WM_ICON_NAME(UTF8_STRING) = "*test "
_NET_WM_WINDOW_OPACITY(CARDINAL) = 4294967295
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_WINDOW_OPACITY(CARDINAL) = 4294967295
_NET_WM_WINDOW_OPACITY(CARDINAL) = 3435973836

The actions I took were:
- run xprop (initial output up to the first WM_STATE)
- focus emacs frame (it was still showing as partially transparent at
this point, as if it had not been focused, this is the next
_NET_WM_WINDOW_OPACITY and WM_STATE lines
- move focus back to the terminal I ran xprop in (new set of
_NET_WM_WINDOW_OPACITY and WM_STAE
- move focus to emacs again (next WM_STATE + WM_NET_WINDOW_OPACITY
- M-x (which forces emacs to realise it's in the foreground and repaint
with the correct transparency), this is (most of) the rest of the output
- moved focus back to terminal, interrupted xprop

Please let me know if anything is unclear or any other sort of
information I can provide or experiments/patches to test.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

  reply	other threads:[~2023-10-14 17:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-07 20:07 bug#66398: 29.1; Buggy handling of transparency changes / blur/unblur Tollef Fog Heen
2023-10-14  8:13 ` Eli Zaretskii
2023-10-14  8:23   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-14 17:31     ` Tollef Fog Heen [this message]
2023-10-15  1:25       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-15 20:14         ` Tollef Fog Heen
2023-10-16  0:51           ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-16  4:42             ` Tollef Fog Heen
2023-10-16  4:44               ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-10-16 11:51                 ` Eli Zaretskii
2023-10-17  0:34                   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87il799km9.fsf@err.no \
    --to=tfheen@err.no \
    --cc=66398@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=luangruo@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.