bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48809: 28.0.50; Missing Lucid/GTK2 graphical elements on tiling WM


From: martin rudalics
Subject: bug#48809: 28.0.50; Missing Lucid/GTK2 graphical elements on tiling WM
Date: Fri, 11 Jun 2021 18:40:58 +0200

Thanks.  What I get here with Lucid from the line starting with
x_make_frame_visible is

x_make_frame_visible
MapNotify, not hidden & not iconified, PS=754x686, DS=754x686
change_frame_size (5), MS=18x36 IH IV
EmacsFrameResize, PS=754x686, XS=754x686
change_frame_size_1, delayed, PS=754x686, XS=754x686
EmacsFrameResize, PS=754x686, XS=754x686, DS=754x686
EmacsFrameResize, PS=754x686, XS=754x686
change_frame_size_1, delayed, PS=754x686, XS=754x686
EmacsFrameResize, PS=754x686, XS=754x686, DS=754x686
EmacsFrameResize, PS=754x686, XS=754x686, DS=754x686
change_frame_size (5), MS=18x36 IH IV
change_frame_size (5), MS=18x36 IH IV

What you get instead is

x_make_frame_visible
EmacsFrameResize, PS=754x686, XS=956x1029, DS=754x686

Here your WM asks Emacs to resize the frame to a native size of 956x1029
pixels instead of the 754x686 we asked for ...

change_frame_size_1, delayed, PS=754x686, XS=956x1029, DS=754x686
MapNotify, not hidden & not iconified, PS=754x686, DS=956x1029
EmacsFrameResize, PS=754x686, XS=956x1029, DS=956x1029
change_frame_size_1, delayed, PS=754x686, XS=956x1029, DS=956x1029
change_frame_size (5), TS=720x648~>922x991, TC=80x36~>102x55, 
NS=754x686~>956x1029, IS=752x648~>954x991, MS=18x36 IH IV

... and here we should apply this change with a new inner size of 954x991
pixels.  Something must go wrong here because the remaining lines do not
indicate any change.

EmacsFrameResize, PS=956x1029, XS=956x1029
change_frame_size_1, delayed, PS=956x1029, XS=956x1029
EmacsFrameResize, PS=956x1029, XS=956x1029, DS=956x1029
EmacsFrameResize, PS=956x1029, XS=956x1029, DS=956x1029
EmacsFrameResize, PS=956x1029, XS=956x1029
change_frame_size_1, delayed, PS=956x1029, XS=956x1029
EmacsFrameResize, PS=956x1029, XS=956x1029, DS=956x1029
change_frame_size (5), MS=18x36 IH IV
change_frame_size (5), MS=18x36 IH IV

Does anything change if, in adjust_frame_size in frame.c, right after the

  adjust_frame_glyphs (f);
  calculate_costs (f);
  SET_FRAME_GARBAGED (f);
  /* We now say here that F was resized instead of using the old
     condition below.  Some resizing must have taken place and if it was
     only shifting the root window's position (paranoia?).  */
  f->resized_p = true;

block around line 893 you insert either of the lines

  windows_or_buffers_changed = 40;
  update_mode_lines = 40;

or both?

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]