GNU bug report logs -
#53839
29.0.50; Strange bug causes tool bar to be overwritten
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Mon, 7 Feb 2022 09:16:01 UTC
Severity: normal
Found in version 29.0.50
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 53839 <at> debbugs.gnu.org (full text, mbox):
martin rudalics <rudalics <at> gmx.at> writes:
> /* 2021 REMIX: Don't call widget_update_wm_size_hints here since on
> GNOME shell get_wm_shell may fail to produce the wmshell widget.
> As a consequence, no size hints get set before we issue our resize
> request, mutter (presumably) refuses to resize the outer window as
> requested and we end up with a wrong initial frame size.
>
> It's not clear whether other calls of update_wm_hints are affected
> as well but not calling widget_update_wm_size_hints here seems
> sufficient to fix the bug. */
>
> /** #ifdef USE_X_TOOLKIT **/
> /** if (f->output_data.x->widget) **/
> /** { **/
> /** widget_update_wm_size_hints (f->output_data.x->widget); **/
> /** return; **/
> /** } **/
> /** #endif **/
>
> which works around that problem. (I didn't try your fix but am
> convinced that it gets the initial frame height wrong.)
I fixed the calls to widget_update_wm_size_hints on master, and it fixes
the bug, so if you're happy with that fix I'll close this bug now.
Thanks.
This bug report was last modified 3 years and 108 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.