Menu

#155 Reset focus to embedded windows (bug fix)

open
55. [focus] (1)
6
2004-05-04
2004-04-16
No

This patch provides a fix for handling bogus FocusOut
events as can be observed by using an embedded
application on certain X11 Window managers.

This may be connected to the bugs #740565 and/or #480158.

This patch is against Tk8.4.1 and confirmed to work on
the following Unix systems:
SLES 7 + 8 (ia32);
RHEL 2.1 + 3.0 (ia32);
SLES 8 (s390);
SUN Solaris 5.7, 5.8, 5.9 (Sparc);
AIX 4.3, 5.1, 5.2;
HPUX 11+ (PA-Risc);
Tru64 5.1;

Not tested on other operating systems. This patch was
originally developed by krischan (SF id).

Discussion

  • Matthias Kraft

    Matthias Kraft - 2004-04-16

    reset focus to the embedded window

     
  • Donal K. Fellows

    • labels: 319056 --> 55. [focus]
    • assigned_to: das --> hobbs
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-04

    Logged In: YES
    user_id=72656

    Can I get more bg on this patch? It doesn't appear to
    resolve the named related bugs, but I would like to have
    some understanding of what this does solve in case they
    could be closely tied.

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-05-04
    • priority: 5 --> 6
     
  • Matthias Kraft

    Matthias Kraft - 2004-05-04

    Logged In: YES
    user_id=330806

    We had focus problems when embedding another Tk application
    into a container. Under some circumstances some
    Windowmanagers send FocusOut events to the embedding
    application, and it was not possible to get the focus to the
    embedded application.

    I'll send Krischan an email to have a look at this - maybe
    he can explain better, what happend.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.