From: martin rudalics <rudalics@gmx.at>
To: Po Lu <luangruo@yahoo.com>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
52705@debbugs.gnu.org, Aleksandr Vityazev <avityazev@posteo.org>
Subject: bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk
Date: Fri, 24 Dec 2021 11:19:22 +0100 [thread overview]
Message-ID: <08a8dbe2-c7ee-2b41-b554-d4fb82f0532d@gmx.at> (raw)
In-Reply-To: <87h7aye45g.fsf@yahoo.com>
> Hmm, could you try putting SET_FRAME_VISIBLE (f, 1) after this line in
> `x_create_tip_frame':
>
> gtk_window_set_attached_to (GTK_WINDOW (tip_window), FRAME_GTK_WIDGET (p));
> gtk_window_set_destroy_with_parent (GTK_WINDOW (tip_window), TRUE);
> gtk_window_set_decorated (GTK_WINDOW (tip_window), FALSE);
> gtk_window_set_type_hint (GTK_WINDOW (tip_window), GDK_WINDOW_TYPE_HINT_TOOLTIP);
> f->output_data.pgtk->current_cursor = f->output_data.pgtk->text_cursor;
> -> gtk_widget_show_all (FRAME_GTK_OUTER_WIDGET (f));
>
> The signal handler in `map_event' in pgtkterm.c should set the frame's
> visibility, but it seems that for some reason it isn't being triggered,
> even though we do set up event handling.
This has the effect that the tooltip becomes invisible forever after it
has been shown once.
Note all I do with emacs -Q is to evaluate
(progn
(setq x-gtk-use-system-tooltips nil)
(setq tooltip-reuse-hidden-frame t))
and move the mouse over the mode line.
martin
next prev parent reply other threads:[~2021-12-24 10:19 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 15:27 bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil Aleksandr Vityazev
2021-12-22 14:37 ` Lars Ingebrigtsen
2021-12-24 8:08 ` bug#52705: 29.0.50; Flashing popups when x-gtk-use-system-tooltips is nil in pgtk Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-24 8:43 ` martin rudalics
2021-12-24 9:35 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-24 10:19 ` martin rudalics [this message]
2021-12-24 10:38 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-24 16:03 ` martin rudalics
2021-12-25 0:30 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25 9:17 ` martin rudalics
2021-12-25 9:39 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-25 17:16 ` martin rudalics
2021-12-26 1:22 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-12-26 8:25 ` martin rudalics
2022-01-02 12:14 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-01-02 12:33 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=08a8dbe2-c7ee-2b41-b554-d4fb82f0532d@gmx.at \
--to=rudalics@gmx.at \
--cc=52705@debbugs.gnu.org \
--cc=avityazev@posteo.org \
--cc=larsi@gnus.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 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).