When using menu "Options > Look And Feel", Changing LAF only impacts main frame. If you look at those dialogs, they are not impacted: - Search Tree - Function Helper Dialog - Templates ... This leads sometimes to NPE , for example in Function Helper Dialog
Created attachment 32301 [details] Patch fixing issue
Created attachment 32302 [details] Patch fixing this issue
Date: Fri Dec 19 21:32:38 2014 New Revision: 1646879 URL: http://svn.apache.org/r1646879 Log: Bug 57364 - Options > Look And Feel does not update all windows LAF Bugzilla Id: 57364 Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/LookAndFeelCommand.java jmeter/trunk/xdocs/changes.xml
options -> Look and Feel --> Choose a theme --> CLick "No: in the pop-up page Observation : the page remains with the chosen theme and then on no proper UI is available to work on
That’s the expected behavior. The popup informs you it’s better to restart, you didn’t which is why you get the « buggy » behavior. 1 question for the team, should we let user decide on this ? or just restart.
I would not force the user to restart any harder. But maybe we would want to change the behaviour of the UI to change LAF on the next startup, only. I.e. set the new LAF in the config files, but not directly in the GUI.
Hi Felix, I don't know if this issue is worth investing time on it. I thought today's behaviour was clear enough, but it seems it's not. Regarding your proposal, if we only change LAF after restart, then maybe we need to inform user in the popup.
I would not change anything at the moment, as we are telling the user to restart. If they choose not to, it is their responsibility. If we would change the behaviour, we would have to change the text of the popup. That should be clear.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3502