]> git.saurik.com Git - wxWidgets.git/blob - docs/bugs.txt
removed som obsolete TODO comments
[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@btopenworld.com>
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@btopenworld.com>
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 WORKAROUND:
244 visitor_email_address: haneef@symphonyeda.com
245 wxWINDOWS+VERSION: 2.1.12
246 DATE+FIXED: 29/11/99
247 FIXED+BY: Julian Smart <julian.smart@btopenworld.com>
248
249 DATE+FIXED:
250 DATE+IDENTIFIED: 29/11/1999
251 DETAILS: wxGTK cannot seem to find the default font
252 on (some?) Debian 2.x systems. This results
253 in infinite recursion in wxLoadQueryNearestFont.
254
255 It only happens on one of my two Debian machines,
256 but I haven't investigated thoroughly enough to give
257 any more detail.
258
259 I have made a temporary workaround by trapping
260 recursion in wxLoadQueryNearestFont with a static
261 bool flag.
262
263 I will investigate the problem further if this bug has
264 not already been reported by someone else.
265 FIXED+BY: Vadim, just after 2.1.11?
266 IDENTIFIED+BY: Tom Marshall
267 PLATFORMS: wxGTK
268 SHORT+DESCRIPTION: wxGTK: infinite recursion in font selection
269 WORKAROUND: Create default font mapping for every
270 wxGTK app (?)
271 visitor_email_address: tommy@aa.net
272 wxWINDOWS+VERSION: 2.1.11
273
274 DATE+FIXED:
275 DATE+IDENTIFIED: 29/11/1999
276 DETAILS: If the listening socket cannot be obtained
277 (ie, TIME_WAIT) the wxsocket server example
278 program segfaults.
279 FIXED+BY:
280 IDENTIFIED+BY: Tom Marshall
281 PLATFORMS: wxGTK
282 SHORT+DESCRIPTION: wxGTK: wxsocket example crashes if listen socket unavailable
283 WORKAROUND: None.
284 visitor_email_address: tommy@aa.net
285 wxWINDOWS+VERSION: 2.1.11
286
287 DATE+FIXED: 07/12/1999
288 DATE+IDENTIFIED: 04/12/1999
289 DETAILS: In wxTextCtrl::AdjustSpaceLimit(), the check for len > limit
290 does not take into account when len == limit. This caused the
291 output to freeze when the limit was reached.
292 FIXED+BY: Vasu Harish
293 IDENTIFIED+BY: Vasu Harish
294 PLATFORMS: wxMSW
295 SHORT+DESCRIPTION: wxTextCtrl clogs output occassionally when the text size limit is reached
296 WORKAROUND: In the check for (len > limit) condition in wxTextCtrl::AdjustSpaceLimit()
297 call, added the condition to check for the len==limit.
298 visitor_email_address: vasuh@bullant.net
299 wxWINDOWS+VERSION: wx2.1.11
300
301 DATE+FIXED: 30/12/1999
302 DATE+IDENTIFIED:
303 DETAILS: the setting of wxvc_dll have a bug of precompiled setting with release version.
304 FIXED+BY: Pumb Peng
305 IDENTIFIED+BY: Pumb Peng
306 PLATFORMS: windows NT
307 SHORT+DESCRIPTION: wxvc_dll.dsp Bug
308 Submit: Submit
309 WORKAROUND:
310 visitor_email_address:
311 wxWINDOWS+VERSION: 2.1.11
312
313 DATE+FIXED: 05/01/2000
314 DATE+IDENTIFIED: 04/01/2000
315 DETAILS: The various message callback members of
316 wxMessageDialog pass the client_data variable
317 as in "int" which are later used a pointers. On a 64-bit
318 system they must be passed as pointers or
319 as "long" variables.
320 FIXED+BY: JACS
321 IDENTIFIED+BY: Ray Lanza
322 PLATFORMS: motif
323 SHORT+DESCRIPTION: wxMessageDialog is not 64bit safe
324 Submit: Submit
325 WORKAROUND: Change the declaration to void * or long
326 visitor_email_address: rjl@zk3.dec.com
327 wxWINDOWS+VERSION: 2.1.10
328
329 DATE+FIXED: 12/01/2000
330 DATE+IDENTIFIED: 12/01/2000
331 DETAILS: When I try to Print or create
332 wxPrintPreview object in the
333 printing sample, it fails.
334 The reason is the wxGetDefaultDeviceName
335 function in file msw/dcprint.cpp. In line 253
336 the memory is freed, and then
337 the pointer to the freed memory
338 is used.
339 FIXED+BY: Alexey V. Exarevsky (patched into wxWin 12/1/2000 by JACS)
340 IDENTIFIED+BY: Alexey V. Exarevsky
341 PLATFORMS: wxMSW, compiled by VC++ 6.0
342 SHORT+DESCRIPTION: Print/Print preveiw to default printer in NT
343 Submit: Submit
344 WORKAROUND: I have moved lines that free
345 memory below the lines that
346 use lpszDeviceName and
347 lpszPortName
348 visitor_email_address: ave@relex.ru
349 wxWINDOWS+VERSION: 2.1.11
350
351 DATE+FIXED:
352 DATE+IDENTIFIED: 14/01/2000
353 DETAILS: I run my linux boxes headless and use a Windows box for an XServer... every sample I have tried so far
354 hangs in a loop tring to get an acceptable font for something or other... here is the GDB trace
355 #1102 0x40203d19 in wxMessageBox ()
356 #1103 0x401aee31 in wxFontMapper::GetAltForEncoding ()
357 #1104 0x40287c45 in wxLoadQueryNearestFont ()
358 #1105 0x4015b3cc in wxFont::GetInternalFont ()
359 #1106 0x4017d1db in wxWindow::GetTextExtent ()
360 #1107 0x4018f499 in wxDialogBase::CreateTextSizer ()
361 #1108 0x40253302 in wxGenericMessageDialog::wxGenericMessageDialog ()
362 #1109 0x40203d19 in wxMessageBox ()
363 #1110 0x401aee31 in wxFontMapper::GetAltForEncoding ()
364 #1111 0x40287c45 in wxLoadQueryNearestFont ()
365 #1112 0x4015b3cc in wxFont::GetInternalFont ()
366 #1113 0x40154653 in wxWindowDC::DoGetTextExtent ()
367 #1114 0x4015e3fd in wxFrame::OnCreateStatusBar ()
368 #1115 0x4015e17d in wxFrame::CreateStatusBar ()
369 #1116 0x8062edc in ChatFrame::ChatFrame ()
370 #1117 0x8062d3d in ChatClient::OnInit ()
371 #1118 0x4014587e in wxEntry ()
372 #1119 0x401617db in main ()
373 FIXED+BY:
374 IDENTIFIED+BY: John Barrett
375 PLATFORMS: wxGTK
376 SHORT+DESCRIPTION: wxWin/GTK and X-Win32 on Windows
377 Submit: Submit
378 WORKAROUND:
379 visitor_email_address: jbarrett@box100.com
380 wxWINDOWS+VERSION: 2.1.11
381
382 DATE+FIXED:
383 DATE+IDENTIFIED: 17.01.2000
384 DETAILS: wxWindows 2 installer simply replaces msv(i)crt.dll. MUST ONLY overwrite if newer!!! Apart from that: the libraries provided are from VC6Sp1 and are known to be buggy!
385 FIXED+BY:
386 IDENTIFIED+BY: Klaus Richter
387 PLATFORMS: wxMSW
388 SHORT+DESCRIPTION: Windows Installer problem
389 Submit: Submit
390 WORKAROUND: Dlls from at least Sp2 (better 3) are needed (read MSDN KB Q190536)!
391 visitor_email_address: richter@secude.com
392 wxWINDOWS+VERSION: 2.1.11
393
394 DATE+FIXED:
395 DATE+IDENTIFIED: 18/01/2000
396 DETAILS: I tested wxWindows/GTK+ with a simple example which
397 uses frame, menu, and statusbar. But when I selected
398 a menu item which creates a simple 'about dialog'
399 several times, the program crashed with segmentation fault.
400 I traced it with gdb, and I got this message:
401
402 Program received signal SIGSEGV, Segmentation fault
403 0x408f1796 in match_theme_image ()
404 from /usr/lib/gtk/themes/engines/libpixmap.so
405
406 I guessed from this message that the pixmap routine in
407 GTK+ theme engine caused crash. So, I changed GTK+ theme
408 to default which doesn't use any pixmaps and tested
409 again. This time, the program didn't crash.
410
411 I'm using Redhat 6.1 with egcs 1.1.2.
412 FIXED+BY:
413 IDENTIFIED+BY: Sangpil Yoon
414 PLATFORMS: wxGTK
415 SHORT+DESCRIPTION: Problem with GTK+ theme
416 Submit: Submit
417 WORKAROUND: Currently none.
418 visitor_email_address: yphil99@yahoo.com
419 wxWINDOWS+VERSION: 2.1.12
420
421 ---------------------------END OF BUGLIST-------------------------
422
423