Bug: missing window frame 
Author Message
 Bug: missing window frame

I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux release
3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel window:
sometimes the window frame is not displayed.  It appears that the problem is
related to the title.  If the last four characters of the title string are
"lock" (all in lower case), then the window frame is not displayed.  The
following script can be used to exemplify the problem:
   set msg "lock"
   proc Test {} {
      global msg
      if {[winfo exist .test] == 1} {return}

      toplevel    .test
      wm title    .test $msg
      wm geometry .test 350x100+50+50

      button  .test.ok -text OK   -command "destroy .test"
      pack .test.ok  
   }

Simply start the wish, source the script, and call the Test procedure.
A window appears without the frame.  Click on OK to destroy the window.
Try setting the global msg variable to another value like "locker" and
calling Test again.  Now the window frame is displayed.

Any help that can be provided will be greatly appreciated.



Sat, 10 Jul 1999 03:00:00 GMT  
 Bug: missing window frame



: >
: > I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux
 release
: > 3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel
 window:
: > sometimes the window frame is not displayed.  It appears that the problem is
: > related to the title.  If the last four characters of the title string are
: > "lock" (all in lower case), then the window frame is not displayed.  The
: > following script can be used to exemplify the problem:

The original article is not here yet, but here's my guess:
Search your fvwm or whatever config files for "lock".
It might be set to suppress title e.g. for "clock" or "Clock"!
I think that's even in some FAQ...




Sun, 11 Jul 1999 03:00:00 GMT  
 Bug: missing window frame


   I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux release
   3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel window:
   sometimes the window frame is not displayed.  It appears that the problem is
   related to the title.  If the last four characters of the title string are
   "lock" (all in lower case), then the window frame is not displayed.  The
   following script can be used to exemplify the problem:

   [the rest is uninteresting supporting information]

This one is easy -- you are using the fvwm window manager, and in your
.fvwmrc file you have a directive stating that any program ending in
"lock" should not have window manager decorations. This is a default
that was designed to cause any sort of clock program (xclock, Clock,
etc) to display without decorations.



Sun, 11 Jul 1999 03:00:00 GMT  
 Bug: missing window frame

Quote:

> I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux release
> 3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel window:
> sometimes the window frame is not displayed.  It appears that the problem is
> related to the title.  If the last four characters of the title string are
> "lock" (all in lower case), then the window frame is not displayed.  The
> following script can be used to exemplify the problem:

.
.
.

Quote:

> Any help that can be provided will be greatly appreciated.

I'm sorry, but i can't reproduce the result you described. neither using
wish4.0 nor using wish4.2 on my i586 under Linux 2.0.28 .
this might be not very usefull - sorry.

hilmar klug
--
 |                                                                 |
-+-----------------------------------------------------------------+-
 |   Hilmar Klug (cand.arch.nav)                                   |
 |   Institute for Naval Architecture - University Hamburg         |
 |   Laemmersieth 90                                               |
 |   D-22305 Hamburg                                               |
 |   Germany                                                       |
 |   tel.: +49-40-615442                                           |

 |   please take a glance at http://www.schiffbau.uni-hamburg.de   |
 |   ThanX !                                            ////       |

-+-------------------------------------------------oOO--(_)--OOo---+-
 |                                                                 |



Sun, 11 Jul 1999 03:00:00 GMT  
 Bug: missing window frame

Quote:

> I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux release
> 3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel window:
> sometimes the window frame is not displayed.
>    set msg "lock"
>    proc Test {} {
>       global msg
>       if {[winfo exist .test] == 1} {return}

>       toplevel    .test
>       wm title    .test $msg
>       wm geometry .test 350x100+50+50

>       button  .test.ok -text OK   -command "destroy .test"
>       pack .test.ok
>    }

> Simply start the wish, source the script, and call the Test procedure.
> A window appears without the frame.  Click on OK to destroy the window.
> Try setting the global msg variable to another value like "locker" and
> calling Test again.  Now the window frame is displayed.

> Any help that can be provided will be greatly appreciated.

I do not get the same behavior you describe. I'm running Tcl7.6/Tk4.2 on
a Mac.
--

#  Avionics Systems Engineering     org: V1-60
#  Lockheed Martin Missiles & Space    http://www.lmsc.lockheed.com/
#  Sunnyvale, CA  94089
#  USA


Mon, 12 Jul 1999 03:00:00 GMT  
 Bug: missing window frame

Quote:


>    I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux release
>    3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel window:
>    sometimes the window frame is not displayed.  It appears that the problem is
>    related to the title.  If the last four characters of the title string are
>    "lock" (all in lower case), then the window frame is not displayed.  The
>    following script can be used to exemplify the problem:

>    [the rest is uninteresting supporting information]

> This one is easy -- you are using the fvwm window manager, and in your
> .fvwmrc file you have a directive stating that any program ending in
> "lock" should not have window manager decorations. This is a default
> that was designed to cause any sort of clock program (xclock, Clock,
> etc) to display without decorations.

Thanks for the tip!  I found the directive in the
.fvwmrc file you mentioned.  After commenting it
out, my test program ran great.


Tue, 13 Jul 1999 03:00:00 GMT  
 Bug: missing window frame

Quote:

> > I am using TCL 7.4 and TK 4.0 on a i586 machine running Red Hat Linux release
> > 3.0.3, kernel 2.0.0.  My problem is during the creation of a toplevel window:
> > sometimes the window frame is not displayed.  It appears that the problem is
> > related to the title.  If the last four characters of the title string are
> > "lock" (all in lower case), then the window frame is not displayed.  The
> > following script can be used to exemplify the problem:
> .
> .
> .

> > Any help that can be provided will be greatly appreciated.

You probably have this in your .fvwmrc file:

Style "*lock"      NoTitle, NoHandles, Sticky



Fri, 16 Jul 1999 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Frame Pulldown Missing

2. Newbie Q: Missing Frame

3. Put window inside window/frame

4. J3.04 bug? verb/ with 0 in frame

5. start-frame bug

6. bug in wm frame command

7. grid -in frame BUG

8. frame/grid bug?

9. Bug with frames in tk4.0?

10. Missing EMBED point BUG

11. Bug in CP2.1? Missing colors

12. re bug, or am I missing something?

 

 
Powered by phpBB® Forum Software