]> git.saurik.com Git - wxWidgets.git/blob - docs/bugs.txt
Compile fixes
[wxWidgets.git] / docs / bugs.txt
1 wxWindows Buglist
2 -----------------
3
4 Until the wxWindows bug database is up and running, please add
5 entries in this style:
6
7 BUG NUMBER:
8 SHORT DESCRIPTION:
9 DETAILS:
10 WORKAROUND:
11 wxWINDOWS VERSION:
12 PLATFORM(S):
13 DATE IDENTIFIED:
14 IDENTIFIED BY:
15 DATE FIXED:
16 FIXED BY:
17
18 -------------------------START OF BUGLIST-------------------------
19
20 BUG NUMBER: 1
21 SHORT DESCRIPTION: Popup menu bug
22 DETAILS:
23 If a popup wxMenu is destroyed after its parent window has been
24 destroyed, we get the message "Object XXX does not have windowed
25 ancestor".
26 Possible fix: call menu->DestroyMenu() before deleting the window,
27 if the window knows about the menu that was last popped up (hard
28 to know this with confidence).
29 WORKAROUND:
30 Delete the menu before deleting the window on which it
31 was popped up.
32 wxWINDOWS VERSION: 2.0.1
33 PLATFORM(S): wxMotif
34 DATE IDENTIFIED: ?/?/1998
35 IDENTIFIED BY: Julian Smart <julian.smart@ukonline.co.uk>
36 DATE FIXED:
37 FIXED BY:
38
39 BUG NUMBER: 2
40 SHORT DESCRIPTION: Misc. Motif bugs
41 DETAILS:
42 - In wxGrid, cell highlight is not drawn/erased properly.
43
44 - Setting the size of a hidden window may show that window.
45
46 - wxRadioBox sometimes doesn't show (e.g. in controls sample).
47
48 - Can't set the colours for the buttons in the file selector, for
49 some reason.
50
51 - On SGI IRIX 6.4, XtDestroyWidget in ~wxWindow causes a crash in
52 some cicumstances. This is being looked into. Meanwhile, a
53 possible workaround is to remove the final XtDestroyWidget line in ~wxWindow
54 (window.cpp). This will mean that child windows will only get
55 destroyed when frames and dialogs are destroyed, so dynamic subwindow
56 deletion may not work properly.
57
58 - There are reports that scrolling can cause crashes under Lesstif.
59 This is probably a Lesstif bug.
60 WORKAROUND:
61 wxWINDOWS VERSION: 2.0.1
62 PLATFORM(S): wxMotif
63 DATE IDENTIFIED: ?/?/1999
64 IDENTIFIED BY: Julian Smart
65 DATE FIXED:
66 FIXED BY:
67
68 BUG NUMBER: 3
69 SHORT DESCRIPTION: Dialog Editor issues
70 DETAILS:
71 Dialog Editor could be more user-friendly. Controls are hard to
72 size and position accurately. No way of changing tab order
73 except by editing .wxr file.
74 WORKAROUND:
75 wxWINDOWS VERSION: 2.0.1
76 PLATFORM(S): All
77 DATE IDENTIFIED: ?/?/1998
78 IDENTIFIED BY: Julian Smart <julian.smart@ukonline.co.uk>
79 DATE FIXED:
80 FIXED BY:
81
82 BUG NUMBER: 4
83 SHORT DESCRIPTION: Appending a menuitem with negative id causes menu not to be shown
84 DETAILS: I haven't tested it throughly, though it happens when appending a submenu
85 WORKAROUND: Add dummy id number even for menuitems which don't require them (submenus for example)
86 wxWINDOWS VERSION: 2.1.11
87 PLATFORMS: wxGTK
88 DATE IDENTIFIED: 10/11/1999
89 IDENTIFIED BY: Jonathan Brown <jbrown@sso.sytexinc.com>
90
91 BUG NUMBER: 5
92 SHORT DESCRIPTION: no vertical space inside wxHTML
93 DETAILS: We are working on making a demonstration of projects we do here
94 using Python & wxWindows & HTML (wxPython/wxHTML thus). We 'd like to
95 have the opportunity to specify vertical space, eg <br><br>, or <p><p>
96 in HTML. These constructs currently do not work. I looked in the source
97 code (nice job btw), but am not sure where to hack the solution. I
98 am willing to discuss this in more detail.
99 WORKAROUND: Create a transparent gif of 1x1 pixel and use width & height
100 to fool the renderer
101 wxWINDOWS VERSION: wxWindows 2.1.11
102 PLATFORMS: Windows + Python 1.5
103 DATE IDENTIFIED: 10/11/1999
104 IDENTIFIED BY: A.T.Hofkamp
105 DATE FIXED: 11/11/1999
106 FIXED BY: Vaclav Slavik
107
108 BUG NUMBER: 6
109 SHORT DESCRIPTION: wxGTK-2.1.11 fails to build under IRIX
110 DETAILS: Seems we have a section that says, if we're not Sun, Linux, or
111 FreeBSD, then there's something very wrong...
112 c++ -c -MMD -D__WXGTK__ -DGTK_NO_CHECK_CASTS -D_REENTRANT -D_IODBC_ -O2
113 -I. -I./include -I./include
114 -I./src/zlib -I./src/png -I./src/jpeg
115 -I/home/rhh/software/gtk+-1.2.3/include
116 -I/home/rhh/software/glib-1.2.3/lib/glib/include
117 -I/home/rhh/software/glib-1.2.3/include -Wall
118 -D"wxINSTALL_PREFIX=\"/home/rhh/software/wxGTK-2.1.11\"" -fPIC -o
119 dialup.o ./src/unix/dialup.cpp ./src/unix/dialup.cpp: In method `int
120 wxDialUpManagerImpl::CheckIfconfig()':
121 ./src/unix/dialup.cpp:500: warning: ignoring pragma: warning
122 ./src/unix/dialup.cpp:527: parse error before `;'
123 ./src/unix/dialup.cpp:544: confused by earlier errors, bailing out gmake:
124 *** [dialup.o] Error 1
125 wxWINDOWS VERSION: 2.1.11
126 PLATFORMS: wxGTK
127 DATE IDENTIFIED: 16/11/1999
128 IDENTIFIED BY: Randall Hopper
129
130 DATE+FIXED:
131 DATE+IDENTIFIED: 11-15-99
132 DETAILS: I am a new user. I downloaded setup.exe and setup.wXX then ran the install program. It prompted me for disk two which puzzled me. There was no obvious solution.
133 FIXED+BY:
134 IDENTIFIED+BY: William Deans
135 PLATFORMS: wxWindows
136 SHORT+DESCRIPTION: misnamed setup.wXX files prevents install
137 Submit: Submit
138 WORKAROUND: The problem seems to be that the default download name for the setup.wXX files is not 'setup.wXX' but instead 'setup.wXX..wXX' Every new user who installs could change these names... but why not simply change them on the server? (I was using IE 5 under Windows 98)
139 visitor_email_address: willdeans@mindspring.com
140 wxWINDOWS+VERSION: Current version as of 11-15-99
141
142 DATE+FIXED:
143 DATE+IDENTIFIED: 11-15-99
144 DETAILS: to recreate:
145 click "new dialog" several times
146 view the properties of a dialog box
147 DO NOT CLOSE THE PROPERTIES BOX
148 click on another dialog in the list
149 right click the new dialog and select view properties..... (THE PROPERTY BOX DOES NOT CHANGE EVEN THOUGH IT SHOULD!... BUT THIS IS NOT THE CRASH)
150 to make the crash click the Name property in the properties dialog box -- the application crashes
151 FIXED+BY:
152 IDENTIFIED+BY: William Deans
153 PLATFORMS: wxWindows
154 SHORT+DESCRIPTION: dialog editor CRASHES
155 Submit: Submit
156 WORKAROUND: be sure and close the properties box every time before switching to a new dialog... this might be hard to remember as the properties box does not stay in front of the dialog editor........ as I feel that it should
157 visitor_email_address: willdeans@mindspring.com
158 wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
159
160 DATE+FIXED:
161 DATE+IDENTIFIED: 11-15-99
162 DETAILS: to recreate:
163 click "Dialogs" folder to the left
164 select delete from the menu
165 FIXED+BY:
166 IDENTIFIED+BY: William Deans
167 PLATFORMS: wxWindows
168 SHORT+DESCRIPTION: Dialog Editor CRASHES (again)
169 Submit: Submit
170 WORKAROUND:
171 visitor_email_address: willdeans@mindspring.com
172 wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
173
174 DATE+FIXED:
175 DATE+IDENTIFIED: 11-15-99
176 DETAILS: to recreate:
177 go to properties (of any dialog)
178 select id
179 select ...
180 hit cancel
181 the property box hangs
182 FIXED+BY:
183 IDENTIFIED+BY: William Deans
184 PLATFORMS: wxWindows
185 SHORT+DESCRIPTION: Dialog Editor HANGS
186 Submit: Submit
187 WORKAROUND:
188 visitor_email_address: willdeans@mindspring.com
189 wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
190
191 DATE+FIXED:
192 DATE+IDENTIFIED: 11-15-99
193 DETAILS: to recreate:
194 put a space into the name field of the property box...... this should be disallowed, but is not
195 FIXED+BY:
196 IDENTIFIED+BY: William Deans
197 PLATFORMS: wxWindows
198 SHORT+DESCRIPTION: Dialog Editor Creates Files It Cannot Parse
199 Submit: Submit
200 WORKAROUND: each time a change is made to a dialog..... that section of the wxr file should be written to a buffer and re-parsed..... if the parsing fails the change should be disallowed
201 visitor_email_address: willdeans@mindspring.com
202 wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
203
204 DATE+IDENTIFIED: 26/11/1999
205 DETAILS: Around line 1234 or the common/docview.cpp file following code exists...
206
207 if (!theTemplate)
208 theTemplate=templates[FilterIndex] ;
209
210 The problem is tat FilterIndex is one based and the templates array is zero based. The correct
211 thing might be to use FilterIndex-1 as the index. Else the following scenario will
212 cause a crash.
213
214 1. Use the docvsmdi example
215 2. Bring up the file open dlg.
216 3. Select Files of Type "Text"
217 4. c:\autoexec.bat for file name
218 5. Press okay and you should see
219 the crash.
220
221 I understand that it is very
222 hard to figure out the template
223 when the user does not select
224 one of the known extensions but
225 this simple fix might atleast
226 avoid the crash....
227
228 I started playing with wxMSW
229 just this morning and have not
230 yet figured out exactly how to
231 submit a fix. I atleast wanted
232 to report it. Besides what I do
233 for the MSW might not be correct
234 for the other platforms :-)
235
236 Note from JACS: fixed (I hope) by making m_filterIndex
237 zero-based in MSW wxFileDialog implementation
238 (it's zero-based in wxGTK/the generic dialog).
239
240 IDENTIFIED+BY: Haneef Mohammed
241 PLATFORMS: wxMSW
242 SHORT+DESCRIPTION: Bug in wxDocTemplate::SelectDocumentPath()
243 Submit: Submit
244 WORKAROUND:
245 visitor_email_address: haneef@symphonyeda.com
246 wxWINDOWS+VERSION: 2.1.12
247 DATE+FIXED: 29/11/99
248 FIXED+BY: Julian Smart <julian.smart@ukonline.co.uk>
249
250 DATE+FIXED:
251 DATE+IDENTIFIED: 29/11/1999
252 DETAILS: wxGTK cannot seem to find the default font
253 on (some?) Debian 2.x systems. This results
254 in infinite recursion in wxLoadQueryNearestFont.
255
256 It only happens on one of my two Debian machines,
257 but I haven't investigated thoroughly enough to give
258 any more detail.
259
260 I have made a temporary workaround by trapping
261 recursion in wxLoadQueryNearestFont with a static
262 bool flag.
263
264 I will investigate the problem further if this bug has
265 not already been reported by someone else.
266 FIXED+BY: Vadim, just after 2.1.11?
267 IDENTIFIED+BY: Tom Marshall
268 PLATFORMS: wxGTK
269 SHORT+DESCRIPTION: wxGTK: infinite recursion in font selection
270 Submit: Submit
271 WORKAROUND: Create default font mapping for every
272 wxGTK app (?)
273 visitor_email_address: tommy@aa.net
274 wxWINDOWS+VERSION: 2.1.11
275
276 DATE+FIXED:
277 DATE+IDENTIFIED: 29/11/1999
278 DETAILS: If the listening socket cannot be obtained
279 (ie, TIME_WAIT) the wxsocket server example
280 program segfaults.
281 FIXED+BY:
282 IDENTIFIED+BY: Tom Marshall
283 PLATFORMS: wxGTK
284 SHORT+DESCRIPTION: wxGTK: wxsocket example crashes if listen socket unavailable
285 Submit: Submit
286 WORKAROUND: None.
287 visitor_email_address: tommy@aa.net
288 wxWINDOWS+VERSION: 2.1.11
289
290
291
292
293 ---------------------------END OF BUGLIST-------------------------
294
295