xpra icon
Bug tracker and wiki

Opened 8 months ago

Last modified 3 months ago

#2556 assigned enhancement

rate limit xdg-menu packets

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 4.1
Component: core Version: 3.0.x
Keywords: Cc:

Description (last modified by Antoine Martin)

This packet sent at the start is getting close to 1MB, mostly because of all the icon data we send with each menu entry.

To fix:

  • add a new setting_change_attribute capability to clients
  • add an extra flag to the setting-change packet sent by send_setting_change so we can replace-or-update (0=replace)
  • send xdg-menu data one key at a time (one menu at a time), using 1=update
  • optional: extra marker flag for "end of updates"? (so the client knows it is a good time to update its UI)

Change History (2)

comment:1 Changed 8 months ago by Antoine Martin

Description: modified (diff)
Status: newassigned

comment:2 Changed 4 months ago by Antoine Martin

Priority: majorcritical

Important for slow connections, raising.

See also #2815.

Last edited 3 months ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.