Hide Unset Fields user preference not being honored?

Using RT 6.0.1 in development, and one thing I’ve noticed is that the “Hide unset fields?” user preference is not being honored when set to “Yes”. Clicking “Hide unset fields” still works in an individual ticket. Anyone else experiencing this?

I haven’t seen any “Hide unset fields” in RT 6.0.2. The only option I can see is at “Settings → Preferences”. It’s working as expected.

Try to upgrade it.

Upgraded to 6.0.2, no change. The ‘Hide unset fields’ button is under the Options Gear in the top-right corner of a ticket (Display.html). The toggle itself works, but the user preference on initial ticket load does not.

Unluckily, I can’t help you on this. I don’t see the config wheel in 6.0.2 (I do in 5.0.9):

What about your CSS? Any plugin or custom code modification?

This does look like a bug :eyes:

Making a branch to add this feature back

6.0/respect-hide-unset-fields

Hi, @knation, this branch is for @Sean_Cwiek‘s issue, isn’t it?

I can’t see the config wheel or the “Return to the search list” button:

image

You’re right, we will be looking into this some more and should have it fixed for the next 6 version!

Thanks @knation , this put me on the right track! After popping the patch in, I concur with @sollericos that it now honors the user config option, but the hide/show toggle functionality on an individual ticket is wonky.
I was able to get it all working by omitting your patch on Display.html, adding $HideUnsetFields as an arg for both /Elements/ShowWidgetSection and /Elements/DropdownMenu and replaced the $DECODED_ARGS->{HideUnsetFields} with $HideUnsetFields in both files. I’m sure this is technically wrong, but I don’t understand DECODED_ARGS nor how ARGS are passed around to different Elements.