After adding custom page size support to the PostScript Printer Application I have set the page size of one tray to a custom size on the "Media" page and then selected this tray as default on "Printing Defaults". After that I have left the "Printing Defaults" page to get to another page of the web interface and clicked into "Printing Defaults" again, finding that the other tray (using one of the standard size) was selected as default.
The log showed:
After adding custom page size support to the PostScript Printer Application I have set the page size of one tray to a custom size on the "Media" page and then selected this tray as default on "Printing Defaults". After that I have left the "Printing Defaults" page to get to another page of the web interface and clicked into "Printing Defaults" again, finding that the other tray (using one of the standard size) was selected as default. The log showed:
I checked the code and found the problem. Here is the patch to fix it:
With this change custom page sizes work as intended.