xpra icon
Bug tracker and wiki

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

Opened 2 years ago

Closed 21 months ago

Last modified 5 weeks ago

#2244 closed defect (needinfo)

AssertionError: Invalid buffer size: 26 is not a multiple of 4

Reported by: Khalidjh Owned by: Khalidjh
Priority: major Milestone: 3.0
Component: java Version: 2.5.x
Keywords: java, client, menu Cc:



I am running a Java application using Xpra. when I click on a menu item, a dialog box is displayed.
when the dialog is shown I get a log saying

forcing grab for OR window n, matches {'DIALOG': ['sun-awt-X11']}

After the dialog is closed,
the menu doesn't work properly, its menu items are shown in the wrong position and it disappears whenever I release the mouse.

also the following message is shown:

AssertionError: Invalid buffer size: 26 is not a multiple of 4

(please check attached screenshot)

I couldn't share an example because I do not have the source code of the application.

it might help to note that the menus are heavyweight menus

Microsoft Windows 7
Xpra 2.5 (r-22135)

Linux 3.10.0-693.el7.x86_64
Xpra 2.5 (r-22138)

Attachments (2)

dialog_error.JPG (153.5 KB) - added by Khalidjh 2 years ago.
menu_click_error.JPG (52.9 KB) - added by Khalidjh 2 years ago.

Download all attachments as: .zip

Change History (5)

Changed 2 years ago by Khalidjh

Attachment: dialog_error.JPG added

Changed 2 years ago by Khalidjh

Attachment: menu_click_error.JPG added

comment:1 Changed 2 years ago by Antoine Martin

Milestone: 3.0
Owner: changed from Antoine Martin to Khalidjh

Try running your win32 client after setting:

Xpra_cmd.exe attach ...

More details here: #1980

If that doesn't help then I am afraid that I will not be able to fix things unless I can play with the problematic application.

The "multiple of 4" issue has been fixed already, you can use one of the newer beta builds to get that fix. This should only affect the window icon.
It should be harmless.

comment:2 Changed 21 months ago by Antoine Martin

Resolution: needinfo
Status: newclosed

comment:3 Changed 5 weeks ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2244

Note: See TracTickets for help on using tickets.