slavapestov/factor — Issue #353: GDI+ popup error on Windows
Author: erg
Created: 2011-11-05 00:01:10+00:00
State: open

I had something in the UI, and typed: (red[TAB]

Starting from a fresh Factor session you can't reproduce this bug. There might be some kind of state in the output pane that causes the tab-completion to trigger it.

The popup has this backtrace:

(U)
Quotation: [ set-namestack init-catchstack self quot>> call -> stop ]
(O)
Word: update-ui-loop
(O)
Word: update-ui
(O)
Word: layout-queued
(O)
Word: layout
(O)
Word: layout
(O)
Method: M\ glass layout*
(O)
Word: pref-dim
(O)
Word: pref-dim
(O)
Method: M\ track pref-dim*
(O)
Word: track-pref-dims-1
(O)
Word: pref-dims
(O)
Word: pref-dim
(O)
Method: M\ grid pref-dim*
(O)
Word:
(O)
Word:
(O)
Word: pref-dim
(O)
Method: M\ grid pref-dim*
(O)
Word:
(O)
Word:
(O)
Word: pref-dim
(O)
Method: M\ line-gadget pref-viewport-dim
(O)
Word: pref-dim
(O)
Method: M\ table pref-dim*
(O)
Word: compute-column-widths
(O)
Word: row-column-widths
(O)
Method: M\ image-name cell-width
(O)
Word: image-dim
(O)
Word: cached-image
(O)
Method: M\ gdi+-image stream>image
(O)
Word: stream>gdi+-bitmap
(O)
Word: check-gdi+-status
(O)
Word: gdi+-error
(O)
Method: M\ object throw
(U)
Quotation: [
OBJ-CURRENT-THREAD special-object error-thread set-global
continuation -> error-continuation set-global
[ original-error set-global ] [ rethrow ] bi
]

Datastack:
array with 8 elements
0
T{ world f ~array~ ~array~ f f ~vector~ ~array~...
1
T{ glass f ~array~ ~array~ f f ~vector~ ~array~ f t f f f...
2
RECT: { 106 627 } { 0 15 }
3
T{ grid-layout f f f f f f }
4
T{ grid-layout f f f f f f }
5
2
6
T{ repetition f 2 0 }
7
T{ gdi+-error f InvalidParameter }

Retainstack:
0 V{ }
1 DL{ ~label~ ~pack~ ~label~ ~presentation~ ~pack~ ~scroller~...
2 DL{ ~label~ ~pack~ ~label~ ~pack~ ~label~ ~presentation~ ~pack~...
3 DL{ ~label~ ~pack~ ~label~ ~pack~ ~label~ ~pack~ ~label~...
4 V{ ~listener-gadget~ ~label-control~ }
5 3
6 2
7 T{ glass f ~array~ ~array~ f f ~vector~ ~array~ f t f f f...
8 T{ glass f ~array~ ~array~ f f ~vector~ ~array~ f t f f f...
9 T{ popup f ~array~ ~array~ f ~glass~ ~vector~ ~array~ f t f f...
10 T{ completion-popup f ~array~ ~array~ f ~popup~ ~vector~...
11 T{ completion-popup f ~array~ ~array~ f ~popup~ ~vector~...
12 T{ completion-popup f ~array~ ~array~ f ~popup~ ~vector~...
13 V{ ~labeled-gadget~ }
14 V{ f }
15 V{ ~labeled-gadget~ }
16 V{ f }
17 1
18 0
19 V{ f }
20 0
21 T{ labeled-gadget f ~array~ ~array~ f ~completion-popup~...
22 T{ labeled-gadget f ~array~ ~array~ f ~completion-popup~...
23 { ~array~ ~array~ ~array~ }
24 { ~array~ 0 0 }
25 { ~array~ ~array~ ~array~ }
26 { ~array~ 0 0 }
27 3
28 1
29 { ~array~ 0 0 }
30 1
31 { ~icon~ ~scroller~ ~icon~ }
32 { ~cell~ 0 0 }
33 { ~icon~ ~scroller~ ~icon~ }
34 { ~cell~ 0 0 }
35 3
36 1
37 { ~cell~ 0 0 }
38 1
39 T{ scroller f ~array~ ~array~ f ~labeled-gadget~ ~vector~...
40 T{ scroller f ~array~ ~array~ f ~labeled-gadget~ ~vector~...
41 T{ scroller f ~array~ ~array~ f ~labeled-gadget~ ~vector~...
42 { ~array~ ~array~ }
43 { 0 0 }
44 { ~array~ ~array~ }
45 { 0 0 }
46 2
47 0
48 { 0 0 }
49 0
50 { ~viewport~ ~slider~ }
51 { 0 0 }
52 { ~viewport~ ~slider~ }
53 { 0 0 }
54 2
55 0
56 { 0 0 }
57 0
58 T{ viewport f ~array~ ~array~ f ~scroller~ ~vector~ ~array~ f t...
59 T{ viewport f ~array~ ~array~ f ~scroller~ ~vector~ ~array~ f t...
60 T{ table f ~array~ ~array~ f ~viewport~ f ~array~ f t f f...
61 T{ table f ~array~ ~array~ f ~viewport~ f ~array~ f t f f...
62 T{ table f ~array~ ~array~ f ~viewport~ f ~array~ f t f f...
63 { ~array~ ~array~ ~array~ ~array~ ~array~ ~array~ ~array~...
64 T{ table f ~array~ ~array~ f ~viewport~ f ~array~ f t f f...
65 58
66 0
67 { ~image-name~ "(remove-dead-code)" }
68 { 0 0 }
69 { ~image-name~ "(remove-dead-code)" }
70 T{ font f "monospace" 12 f f ~rgba~ ~rgba~ }
71 { 0 0 }
72 2
73 0
74 { 0 0 }
75 0
76 T{ image-name f "vocab:definitions/icons/normal-word.png" }
77 H{ { ~image-name~ ~image~ } { ~image-name~ ~image~ } { ...
78 T{ image-name f "vocab:definitions/icons/normal-word.png" }
79 ALIEN: 13a30820