Changeset 1180 for trunk


Ignore:
Timestamp:
10/02/18 10:21:43 (6 years ago)
Author:
bln4
Message:

org.expeditee.gio.swing.MouseEventRouter ->

Commented out a line that was interfering with focus when widgets were involved. This interestingly seems to have been a long standing bug that never came up in the pre-refacotored version of the code. The guard function isPopupVisible() is actually never able to return true!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gio/swing/MouseEventRouter.java

    r1167 r1180  
    280280                                        if (g.getContentPane() != null) {
    281281                                                if (!g.getContentPane().isFocusOwner() && !isPopupVisible()) {
    282                                                         System.err.println("MouseEventRouter::Content Pane Requesting Focus");
    283                                                         //System.err.println("MouseEventRouter::Content Pane Requesting Focus::Focus owner is content pane: " + g.getContentPane().isFocusOwner());
    284                                                         System.err.println("MouseEventRouter::Content Pane Requesting Focus::Popups visible: " + isPopupVisible());
    285                                                         System.err.println("MouseEventRouter::Content Pane Requesting Focus::Focus owner is: " + g.getJFrame().getFocusOwner());
    286282                                                        //g.getContentPane().requestFocus();
    287283                                                }
Note: See TracChangeset for help on using the changeset viewer.