NCEAS / morpho

Morpho metadata editor
GNU General Public License v2.0
3 stars 1 forks source link

Error during Open By Id prevents Morpho from responding to input #995

Closed mbjones closed 6 years ago

mbjones commented 6 years ago

Author Name: ben leinfelder (ben leinfelder) Original Redmine Issue: 5844, https://projects.ecoinformatics.org/ecoinfo/issues/5844 Original Date: 2013-02-01 Original Assignee: ben leinfelder


Here is the scenario (and I believe it has to do with window management):

  1. File->open by id...
  2. select "Network" radio
  3. enter an invalid PID
  4. hit OK
  5. You'll see an error about how that pid is not found etc. Dismiss it
  6. Cancel out of the Open by Id dialog. Now your mouse input is ignored in the entire Morpho frame (there is a custom GlassPane blocking all input because Morpho still thinks the frame is deactivated. I saw this a long time ago when I was working with FIRST and I thought I had fixed it.
mbjones commented 6 years ago

Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2013-02-02T01:04:54Z


This can be fixed by removing the MorphoFrame parent reference in the Log class where we display the warning/error messages wit ha JOptionPane. If I just set the parent to null, ti works as expected and the dialogs are modal as expected.

mbjones commented 6 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:31:51Z


Original Bugzilla ID was 5844