GNU bug report logs -
#74496
30.0.91; fullscreen frame set with F11 is shifted when ctwm restarts
Previous Next
Reported by: Van Ly <van.ly <at> SDF.ORG>
Date: Sat, 23 Nov 2024 18:29:02 UTC
Severity: normal
Found in version 30.0.91
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
martin rudalics <rudalics <at> gmx.at> writes:
> Maybe you can try the attached diff (it's against the release version)
> and set breakpoints at the four lines I marked with a
>
> // break-here
>
> comment. Start gdb via run -Q, do F11 and restart CWTM.
Here is the backtrace.
1 (gdb) info b
2 Num Type Disp Enb Address What
3 1 breakpoint keep y 0x000000000042edfd in gui_set_frame_parameters_1 at /u/xxx/src/emacs/29.4/src/frame.c:4461
4 2 breakpoint keep y 0x00000000004cf6fb in x_net_wm_state at /u/xxx/src/emacs/29.4/src/xterm.c:17504
5 3 breakpoint keep y 0x00000000004cf5c1 in x_handle_net_wm_state at /u/xxx/src/emacs/29.4/src/xterm.c:27249
6 4 breakpoint keep y 0x00000000004e52b5 in x_check_fullscreen at /u/xxx/src/emacs/29.4/src/xterm.c:27324
7 (gdb) run -Q
8 Starting program: /u/xxx/src/emacs/build-29-0/src/emacs -Q
9 [New LWP 7051 of process 24519]
10 [New LWP 795 of process 24519]
11 [New LWP 1577 of process 24519]
12 [New process 24519]
13 [New process 24519]
14
15 Thread 1 "" hit Breakpoint 2, x_net_wm_state (f=f <at> entry=0x71354096ac10, window=<optimized out>) at /u/xxx/src/emacs/29.4/src/xterm.c:17504
16 17504 store_frame_param (f, Qfullscreen, lval); // break here
17 (gdb) bt
18 #0 x_net_wm_state (f=f <at> entry=0x71354096ac10, window=<optimized out>) at /u/xxx/src/emacs/29.4/src/xterm.c:17504
19 #1 0x00000000004e9343 in handle_one_xevent (dpyinfo=dpyinfo <at> entry=0x713541033000, event=event <at> entry=0x7f7fff03c0d0, finish=finish <at> entry=0x7f7fff03c0cc, hold_quit=hold_quit <at> entry=0x7f7fff03c1c0) at /u/xxx/src/emacs/29.4/src/xterm.c:20998
20 #2 0x00000000004f06cd in XTread_socket (terminal=<optimized out>, hold_quit=0x7f7fff03c1c0) at /u/xxx/src/emacs/29.4/src/xterm.c:24812
21 #3 0x000000000051b7bd in gobble_input () at /u/xxx/src/emacs/29.4/src/keyboard.c:7427
22 #4 0x000000000051b8d1 in handle_async_input () at /u/xxx/src/emacs/29.4/src/keyboard.c:7658
23 #5 0x000000000051b8e7 in process_pending_signals () at /u/xxx/src/emacs/29.4/src/keyboard.c:7672
24 #6 0x00000000005cb17a in wait_reading_process_output (time_limit=<optimized out>, nsecs=nsecs <at> entry=0, read_kbd=-1, do_display=do_display <at> entry=true, wait_for_cell=wait_for_cell <at> entry=0x0, wait_proc=wait_proc <at> entry=0x0, just_wait_proc=just_wait_proc <at> entry=0) at /u/xxx/src/emacs/29.4/src/process.c:5304
25 #7 0x00000000004282e2 in sit_for (timeout=timeout <at> entry=0x7a, reading=reading <at> entry=true, display_option=display_option <at> entry=1) at /u/xxx/src/emacs/29.4/src/dispnew.c:6263
26 #8 0x000000000051e53b in read_char (commandflag=1, map=map <at> entry=0x713540069963, prev_event=0x0, used_mouse_menu=used_mouse_menu <at> entry=0x7f7fff03c6bb, end_time=end_time <at> entry=0x0) at /u/xxx/src/emacs/29.4/src/lisp.h:767
27 #9 0x000000000051f5ec in read_key_sequence (keybuf=keybuf <at> entry=0x7f7fff03c790, prompt=prompt <at> entry=0x0, dont_downcase_last=dont_downcase_last <at> entry=false, can_return_switch_frame=can_return_switch_frame <at> entry=true, fix_current_buffer=fix_current_buffer <at> entry=true, prevent_redisplay=prevent_redisplay <at> entry=false) at /u/xxx/src/emacs/29.4/src/keyboard.c:10084
28 #10 0x000000000052090f in command_loop_1 () at /u/xxx/src/emacs/29.4/src/keyboard.c:1384
29 #11 0x0000000000583676 in internal_condition_case (bfun=bfun <at> entry=0x520748 <command_loop_1>, handlers=handlers <at> entry=0x90, hfun=hfun <at> entry=0x5166aa <cmd_error>) at /u/xxx/src/emacs/29.4/src/eval.c:1474
30 #12 0x00000000005113fb in command_loop_2 (handlers=handlers <at> entry=0x90) at /u/xxx/src/emacs/29.4/src/keyboard.c:1133
31 #13 0x00000000005835ef in internal_catch (tag=tag <at> entry=0xfe40, func=func <at> entry=0x5113dd <command_loop_2>, arg=arg <at> entry=0x90) at /u/xxx/src/emacs/29.4/src/eval.c:1197
32 #14 0x00000000005113ba in command_loop () at /u/xxx/src/emacs/29.4/src/keyboard.c:1111
33 #15 0x00000000005162b8 in recursive_edit_1 () at /u/xxx/src/emacs/29.4/src/keyboard.c:720
34 #16 0x00000000005165dd in Frecursive_edit () at /u/xxx/src/emacs/29.4/src/keyboard.c:803
35 #17 0x0000000000510982 in main (argc=2, argv=0x7f7fff03cad8) at /u/xxx/src/emacs/29.4/src/emacs.c:2521
--
vl
This bug report was last modified 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.