Save on GUI builder .xml does not save .java class

Description

Initial situation:
--------------------------------------------------------------

Save (Strg+S) on GUI Builder after changes

--------------------------------------------------------------

Actual behavior:
-------------------------------------------------------------

Only saves the xml file, changes the java file but dosnt save it

-------------------------------------------------------------

Expected behaviour:
--------------------------------------------------------------

Save both XML and Java file

--------------------------------------------------------------

Comment:
--------------------------------------------------------------

pre 10.3 it did work like that, not sure if it is intended 

--------------------------------------------------------------

Attachments:

--------------------------------------------------------------

--------------------------------------------------------------

Environment

Win10
Version: 10.3.0-20201118-0947
openjdk version "11.0.9" 2020-10-20
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9+7, mixed mode)

Activity

Show:
Manuel
December 18, 2020, 8:50 AM
Edited

I think it should save both editors given this example:

  • If I only have the ui editor open, I add a button, press save and I'm done

  • If I also have the java file open, I add a button, press save and then have to also change to the java file and press save there as well, as now it is marked as dirty. 

I also think it should save the other way around as well given this example:

Add a button, double click to add listener, then you are switched to the java file, where you enter your code and press save. Here I also have to go back to the ui file to press save there as well, as it is still marked as dirty.

Now with the second example it's less clear but I think for convenience it would be nice to have.

Florian
November 20, 2020, 1:58 PM

'Save' only saves the active editor.  Since the editors are split now, this is working as intended.

Won't Fix

Assignee

Florian

Reporter

Jonas