USEPA / emf

Emissions Modeling Framework (EMF)
6 stars 3 forks source link

My Profile window always asks about unsaved changes #60

Closed cseppan closed 2 years ago

cseppan commented 2 years ago

Steps to reproduce:

From the Manage menu, select My Profile Without doing anything, click the Close button at the bottom of the window The "Discard changes?" prompt is displayed even though no changes have been made

Note that clicking the window close button (upper right hand corner) doesn't bring up the prompt

ddelvecchio commented 2 years ago

I'm not able to reproduce this issue, were you seeing this on your Mac or Windows?

I focused through all the fields and still didn't get a prompt when closing the window?

cseppan commented 2 years ago

Just checked on Windows - the problem happens only when using a non-admin account

ddelvecchio commented 2 years ago

I logged in using "qha" account on production, he is not an admin and I'm still not seeing the issue.

cseppan commented 2 years ago

It looks like it's related to using the "Hide Feature" option, not admin/non-admin (the accessibility test user will be both a non-admin and have several features hidden). I logged in with my usual admin account and added a feature to hide then saved the changes and closed the window. All good so far. Now when I open the My Profile window, I see a feature listed in the Hide Feature box and the window is marked as dirty immediately (asterisk in the title bar, hitting Close brings up the confirm dialog).