Tk8.0 problems: tk_popup: bug+fix, font problem 
Author Message
 Tk8.0 problems: tk_popup: bug+fix, font problem

I wondered about new problems in final release 8.0 (in 8.0b2 it was ok.)

*first problem;  tk_popup dos not work

in file menu.tcl:1190
old>    tk_menuSetFocus($menu);
fixed> tk_menuSetFocus $menu;

*next problem: canvas itemconfigure text -font
-*-Helvetica-Medium-R-Normal--*-2-*-*-*-*-*-*

the fontname is computed automaticaly dependend on zooming factor
this font does not exist. To prevent error masseges I put the command
inside a catch { .. } statement

but the programm finishes with an error message:
X Error of failed request:  BadAlloc (insufficient resources for
operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Serial number of failed request:  1388
  Current serial number in output stream:  1389

I compiled Tcl and Tk under Solaris 5.5.1 with gcc2.7.2
(Tk8.0b2 I compiled under SunOS 4.1.3)

bye Sylvio

--

 ---------------------------------------------------------------------
| #####  #######| Sylvio Triebel          | Tel.: +49 (0)3677 69 1171 |
|#     #    #   | TU Ilmenau              |              oder 69 1168 |
|#          #   | 98684 Ilmenau           | FAX : +49 (0)3677 69 1163 |
| #####     #   | PF 100565               |                           |
|      #    #   |-----------------------------------------------------|

| #####     #   | www:   http://www.*-*-*.com/ ~silvio |
 ---------------------------------------------------------------------



Sun, 23 Apr 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. tk8.0 tk_popup bug

2. Bug in tk8.0/menu.tcl , proc tk_popup

3. Tk 8.0: small bug + fix at tk_popup

4. Weird font problem in Tk8.3

5. Font problem with tk8.3.2

6. Font Problems in Porting from tk4.2 to tk8.0

7. Tk8.0a2 font problem

8. tcl/tk8.0 exec problem ?bug, on NT

9. tcl/tk8.0 exec problem ?bug, on NT

10. BUG: grid problem in tk8.* (patch included)

11. Tk8.0 Menubar Problem (bug ?)

12. 3 small bug fixes (Tk8.0.3, UNIX)

 

 
Powered by phpBB® Forum Software