xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 2 and Version 3 of Ticket #2882, comment 4


Ignore:
Timestamp:
10/07/20 12:00:53 (12 months ago)
Author:
stdedos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2882, comment 4

    v2 v3  
    2121
    2222[[Image(Xpra_cmd_2020-10-07_13-52-59.png)]]
     23
     24I tried re-initializing, taking focus to native windows, give it to terminal - nothing.
     25That wid=1 WANTS the focus, and then gives it to "Terminal" instead (but without seeming to update that "this wid=1" is not the real window that is focused instead)
     26
     27{{{
     282020-10-07 13:55:06,482 reset_focus() 6048 / WindowModel(0x180004c) had focus (toplevel=WorldWindow(0x40000d))
     292020-10-07 13:55:06,484 reset_x_focus: widget with focus: None
     302020-10-07 13:55:06,485 Take Focus -> world window
     312020-10-07 13:55:06,485 sending WM_TAKE_FOCUS: 0x40000d, X11 timestamp=3476874623
     322020-10-07 13:55:06,542 process_focus: wid=5611
     332020-10-07 13:55:06,542 focus wid=5611 has_focus=0
     342020-10-07 13:55:06,542 focus: giving focus to WindowModel(0x103968e)
     352020-10-07 13:55:06,544 Giving focus to 0x103968e
     362020-10-07 13:55:06,545 ... using XSetInputFocus
     372020-10-07 13:55:06,546 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     382020-10-07 13:55:07,055 process_focus: wid=0
     392020-10-07 13:55:07,055 focus wid=0 has_focus=5611
     402020-10-07 13:55:07,055 reset_focus() 5611 / WindowModel(0x103968e) had focus (toplevel=WorldWindow(0x40000d))
     412020-10-07 13:55:07,056 reset_x_focus: widget with focus: None
     422020-10-07 13:55:07,056 Take Focus -> world window
     432020-10-07 13:55:07,057 sending WM_TAKE_FOCUS: 0x40000d, X11 timestamp=3476875195
     442020-10-07 13:55:07,097 process_focus: wid=1
     452020-10-07 13:55:07,097 focus wid=1 has_focus=0
     462020-10-07 13:55:07,098 focus: giving focus to WindowModel(0x80000a)
     472020-10-07 13:55:07,098 Giving focus to 0x80000a
     482020-10-07 13:55:07,099 ... using XSetInputFocus
     492020-10-07 13:55:07,099 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     502020-10-07 13:55:09,469 process_focus: wid=6048
     512020-10-07 13:55:09,470 focus wid=6048 has_focus=1
     522020-10-07 13:55:09,470 focus: giving focus to WindowModel(0x180004c)
     532020-10-07 13:55:09,471 Giving focus to 0x180004c
     542020-10-07 13:55:09,473 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     552020-10-07 13:55:09,756 focus wid=6048 has_focus=6048
     562020-10-07 13:55:10,365 focus wid=6048 has_focus=6048
     572020-10-07 13:55:10,488 focus wid=6048 has_focus=6048
     582020-10-07 13:55:12,074 focus wid=6048 has_focus=6048
     592020-10-07 13:55:16,238 focus wid=6048 has_focus=6048
     602020-10-07 13:55:16,356 focus wid=6048 has_focus=6048
     612020-10-07 13:55:16,468 focus wid=6048 has_focus=6048
     622020-10-07 13:55:18,103 focus wid=6048 has_focus=6048
     632020-10-07 13:55:19,895 process_focus: wid=1
     642020-10-07 13:55:19,895 focus wid=1 has_focus=6048
     652020-10-07 13:55:19,896 focus: giving focus to WindowModel(0x80000a)
     662020-10-07 13:55:19,896 Giving focus to 0x80000a
     672020-10-07 13:55:19,896 ... using XSetInputFocus
     682020-10-07 13:55:19,897 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     692020-10-07 13:55:22,536 process_focus: wid=0
     702020-10-07 13:55:22,536 focus wid=0 has_focus=1
     712020-10-07 13:55:22,536 reset_focus() 1 / WindowModel(0x80000a) had focus (toplevel=WorldWindow(0x40000d))
     722020-10-07 13:55:22,537 reset_x_focus: widget with focus: None
     732020-10-07 13:55:22,537 Take Focus -> world window
     742020-10-07 13:55:22,538 sending WM_TAKE_FOCUS: 0x40000d, X11 timestamp=3476890676
     752020-10-07 13:55:23,238 process_focus: wid=1
     762020-10-07 13:55:23,238 focus wid=1 has_focus=0
     772020-10-07 13:55:23,238 focus: giving focus to WindowModel(0x80000a)
     782020-10-07 13:55:23,239 Giving focus to 0x80000a
     792020-10-07 13:55:23,239 ... using XSetInputFocus
     802020-10-07 13:55:23,239 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     812020-10-07 13:55:35,854 process_focus: wid=6048
     822020-10-07 13:55:35,854 focus wid=6048 has_focus=1
     832020-10-07 13:55:35,854 focus: giving focus to WindowModel(0x180004c)
     842020-10-07 13:55:35,855 Giving focus to 0x180004c
     852020-10-07 13:55:35,856 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     862020-10-07 13:55:40,408 focus wid=6048 has_focus=6048
     872020-10-07 13:55:40,799 focus wid=6048 has_focus=6048
     882020-10-07 13:55:40,890 focus wid=6048 has_focus=6048
     892020-10-07 13:55:40,958 focus wid=6048 has_focus=6048
     902020-10-07 13:55:56,904 process_focus: wid=1
     912020-10-07 13:55:56,904 focus wid=1 has_focus=6048
     922020-10-07 13:55:56,905 focus: giving focus to WindowModel(0x80000a)
     932020-10-07 13:55:56,906 Giving focus to 0x80000a
     942020-10-07 13:55:56,907 ... using XSetInputFocus
     952020-10-07 13:55:56,908 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     962020-10-07 13:55:57,413 focus wid=1 has_focus=1
     972020-10-07 13:55:57,720 focus wid=1 has_focus=1
     982020-10-07 13:55:57,913 focus wid=1 has_focus=1
     992020-10-07 13:55:57,917 focus wid=1 has_focus=1
     1002020-10-07 13:55:59,833 focus wid=1 has_focus=1
     1012020-10-07 13:55:59,920 focus wid=1 has_focus=1
     1022020-10-07 13:55:59,933 focus wid=1 has_focus=1
     1032020-10-07 13:56:00,052 focus wid=1 has_focus=1
     104============================================================================================================================== giving focus to the browser
     1052020-10-07 13:55:06,482 reset_focus() 6048 / WindowModel(0x180004c) had focus (toplevel=WorldWindow(0x40000d))
     1062020-10-07 13:55:06,484 reset_x_focus: widget with focus: None
     1072020-10-07 13:55:06,485 Take Focus -> world window
     1082020-10-07 13:55:06,485 sending WM_TAKE_FOCUS: 0x40000d, X11 timestamp=3476874623
     1092020-10-07 13:55:06,542 process_focus: wid=5611
     1102020-10-07 13:55:06,542 focus wid=5611 has_focus=0
     1112020-10-07 13:55:06,542 focus: giving focus to WindowModel(0x103968e)
     1122020-10-07 13:55:06,544 Giving focus to 0x103968e
     1132020-10-07 13:55:06,545 ... using XSetInputFocus
     1142020-10-07 13:55:06,546 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1152020-10-07 13:55:07,055 process_focus: wid=0
     1162020-10-07 13:55:07,055 focus wid=0 has_focus=5611
     1172020-10-07 13:55:07,055 reset_focus() 5611 / WindowModel(0x103968e) had focus (toplevel=WorldWindow(0x40000d))
     1182020-10-07 13:55:07,056 reset_x_focus: widget with focus: None
     1192020-10-07 13:55:07,056 Take Focus -> world window
     1202020-10-07 13:55:07,057 sending WM_TAKE_FOCUS: 0x40000d, X11 timestamp=3476875195
     1212020-10-07 13:55:07,097 process_focus: wid=1
     1222020-10-07 13:55:07,097 focus wid=1 has_focus=0
     1232020-10-07 13:55:07,098 focus: giving focus to WindowModel(0x80000a)
     1242020-10-07 13:55:07,098 Giving focus to 0x80000a
     1252020-10-07 13:55:07,099 ... using XSetInputFocus
     1262020-10-07 13:55:07,099 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1272020-10-07 13:55:09,469 process_focus: wid=6048
     1282020-10-07 13:55:09,470 focus wid=6048 has_focus=1
     1292020-10-07 13:55:09,470 focus: giving focus to WindowModel(0x180004c)
     1302020-10-07 13:55:09,471 Giving focus to 0x180004c
     1312020-10-07 13:55:09,473 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1322020-10-07 13:55:09,756 focus wid=6048 has_focus=6048
     1332020-10-07 13:55:10,365 focus wid=6048 has_focus=6048
     1342020-10-07 13:55:10,488 focus wid=6048 has_focus=6048
     1352020-10-07 13:55:12,074 focus wid=6048 has_focus=6048
     1362020-10-07 13:55:16,238 focus wid=6048 has_focus=6048
     1372020-10-07 13:55:16,356 focus wid=6048 has_focus=6048
     1382020-10-07 13:55:16,468 focus wid=6048 has_focus=6048
     1392020-10-07 13:55:18,103 focus wid=6048 has_focus=6048
     1402020-10-07 13:55:19,895 process_focus: wid=1
     1412020-10-07 13:55:19,895 focus wid=1 has_focus=6048
     1422020-10-07 13:55:19,896 focus: giving focus to WindowModel(0x80000a)
     1432020-10-07 13:55:19,896 Giving focus to 0x80000a
     1442020-10-07 13:55:19,896 ... using XSetInputFocus
     1452020-10-07 13:55:19,897 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1462020-10-07 13:55:22,536 process_focus: wid=0
     1472020-10-07 13:55:22,536 focus wid=0 has_focus=1
     1482020-10-07 13:55:22,536 reset_focus() 1 / WindowModel(0x80000a) had focus (toplevel=WorldWindow(0x40000d))
     1492020-10-07 13:55:22,537 reset_x_focus: widget with focus: None
     1502020-10-07 13:55:22,537 Take Focus -> world window
     1512020-10-07 13:55:22,538 sending WM_TAKE_FOCUS: 0x40000d, X11 timestamp=3476890676
     1522020-10-07 13:55:23,238 process_focus: wid=1
     1532020-10-07 13:55:23,238 focus wid=1 has_focus=0
     1542020-10-07 13:55:23,238 focus: giving focus to WindowModel(0x80000a)
     1552020-10-07 13:55:23,239 Giving focus to 0x80000a
     1562020-10-07 13:55:23,239 ... using XSetInputFocus
     1572020-10-07 13:55:23,239 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1582020-10-07 13:55:35,854 process_focus: wid=6048
     1592020-10-07 13:55:35,854 focus wid=6048 has_focus=1
     1602020-10-07 13:55:35,854 focus: giving focus to WindowModel(0x180004c)
     1612020-10-07 13:55:35,855 Giving focus to 0x180004c
     1622020-10-07 13:55:35,856 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1632020-10-07 13:55:40,408 focus wid=6048 has_focus=6048
     1642020-10-07 13:55:40,799 focus wid=6048 has_focus=6048
     1652020-10-07 13:55:40,890 focus wid=6048 has_focus=6048
     1662020-10-07 13:55:40,958 focus wid=6048 has_focus=6048
     1672020-10-07 13:55:56,904 process_focus: wid=1
     1682020-10-07 13:55:56,904 focus wid=1 has_focus=6048
     1692020-10-07 13:55:56,905 focus: giving focus to WindowModel(0x80000a)
     1702020-10-07 13:55:56,906 Giving focus to 0x80000a
     1712020-10-07 13:55:56,907 ... using XSetInputFocus
     1722020-10-07 13:55:56,908 focus: will set modified mask to (b'mod2',) using <bound method InputMixin.make_keymask_match of ClientConnection(53 : Protocol(unix-domain socket:/run/user/1000/xpra/usr-linux-3))>
     1732020-10-07 13:55:57,413 focus wid=1 has_focus=1
     1742020-10-07 13:55:57,720 focus wid=1 has_focus=1
     1752020-10-07 13:55:57,913 focus wid=1 has_focus=1
     1762020-10-07 13:55:57,917 focus wid=1 has_focus=1
     1772020-10-07 13:55:59,833 focus wid=1 has_focus=1
     1782020-10-07 13:55:59,920 focus wid=1 has_focus=1
     1792020-10-07 13:55:59,933 focus wid=1 has_focus=1
     1802020-10-07 13:56:00,052 focus wid=1 has_focus=1
     181}}}