xpra icon
Bug tracker and wiki

Opened 5 months ago

Closed 3 months 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:

Description

Greetings,

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

Client:
Microsoft Windows 7
Xpra 2.5 (r-22135)

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

Attachments (2)

dialog_error.JPG (153.5 KB) - added by Khalidjh 5 months ago.
menu_click_error.JPG (52.9 KB) - added by Khalidjh 5 months ago.

Download all attachments as: .zip

Change History (4)

Changed 5 months ago by Khalidjh

Attachment: dialog_error.JPG added

Changed 5 months ago by Khalidjh

Attachment: menu_click_error.JPG added

comment:1 Changed 5 months ago by Antoine Martin

Milestone: 3.0
Owner: changed from Antoine Martin to Khalidjh

Try running your win32 client after setting:

set XPRA_OR_FORCE_GRAB="NOMATCH"
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 3 months ago by Antoine Martin

Resolution: needinfo
Status: newclosed
Note: See TracTickets for help on using tickets.