]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/bugs.txt
added wxEncodingToCodepage() and implemented it properly (using in32 API instead...
[wxWidgets.git] / docs / bugs.txt
... / ...
CommitLineData
1wxWindows Buglist
2-----------------
3
4Until the wxWindows bug database is up and running, please add
5entries in this style:
6
7BUG NUMBER:
8SHORT DESCRIPTION:
9DETAILS:
10WORKAROUND:
11wxWINDOWS VERSION:
12PLATFORM(S):
13DATE IDENTIFIED:
14IDENTIFIED BY:
15DATE FIXED:
16FIXED BY:
17
18-------------------------START OF BUGLIST-------------------------
19
20BUG NUMBER: 1
21SHORT DESCRIPTION: Popup menu bug
22DETAILS:
23If a popup wxMenu is destroyed after its parent window has been
24destroyed, we get the message "Object XXX does not have windowed
25ancestor".
26Possible fix: call menu->DestroyMenu() before deleting the window,
27if the window knows about the menu that was last popped up (hard
28to know this with confidence).
29WORKAROUND:
30Delete the menu before deleting the window on which it
31was popped up.
32wxWINDOWS VERSION: 2.0.1
33PLATFORM(S): wxMotif
34DATE IDENTIFIED: ?/?/1998
35IDENTIFIED BY: Julian Smart <julian.smart@btopenworld.com>
36DATE FIXED:
37FIXED BY:
38
39BUG NUMBER: 2
40SHORT DESCRIPTION: Misc. Motif bugs
41DETAILS:
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.
60WORKAROUND:
61wxWINDOWS VERSION: 2.0.1
62PLATFORM(S): wxMotif
63DATE IDENTIFIED: ?/?/1999
64IDENTIFIED BY: Julian Smart
65DATE FIXED:
66FIXED BY:
67
68BUG NUMBER: 3
69SHORT DESCRIPTION: Dialog Editor issues
70DETAILS:
71Dialog Editor could be more user-friendly. Controls are hard to
72size and position accurately. No way of changing tab order
73except by editing .wxr file.
74WORKAROUND:
75wxWINDOWS VERSION: 2.0.1
76PLATFORM(S): All
77DATE IDENTIFIED: ?/?/1998
78IDENTIFIED BY: Julian Smart <julian.smart@btopenworld.com>
79DATE FIXED:
80FIXED BY:
81
82BUG NUMBER: 4
83SHORT DESCRIPTION: Appending a menuitem with negative id causes menu not to be shown
84DETAILS: I haven't tested it throughly, though it happens when appending a submenu
85WORKAROUND: Add dummy id number even for menuitems which don't require them (submenus for example)
86wxWINDOWS VERSION: 2.1.11
87PLATFORMS: wxGTK
88DATE IDENTIFIED: 10/11/1999
89IDENTIFIED BY: Jonathan Brown <jbrown@sso.sytexinc.com>
90
91BUG NUMBER: 5
92SHORT DESCRIPTION: no vertical space inside wxHTML
93DETAILS: We are working on making a demonstration of projects we do here
94using Python & wxWindows & HTML (wxPython/wxHTML thus). We 'd like to
95have the opportunity to specify vertical space, eg <br><br>, or <p><p>
96in HTML. These constructs currently do not work. I looked in the source
97code (nice job btw), but am not sure where to hack the solution. I
98am willing to discuss this in more detail.
99WORKAROUND: Create a transparent gif of 1x1 pixel and use width & height
100to fool the renderer
101wxWINDOWS VERSION: wxWindows 2.1.11
102PLATFORMS: Windows + Python 1.5
103DATE IDENTIFIED: 10/11/1999
104IDENTIFIED BY: A.T.Hofkamp
105DATE FIXED: 11/11/1999
106FIXED BY: Vaclav Slavik
107
108BUG NUMBER: 6
109SHORT DESCRIPTION: wxGTK-2.1.11 fails to build under IRIX
110DETAILS: Seems we have a section that says, if we're not Sun, Linux, or
111FreeBSD, then there's something very wrong...
112c++ -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
119dialup.o ./src/unix/dialup.cpp ./src/unix/dialup.cpp: In method `int
120wxDialUpManagerImpl::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
125wxWINDOWS VERSION: 2.1.11
126PLATFORMS: wxGTK
127DATE IDENTIFIED: 16/11/1999
128IDENTIFIED BY: Randall Hopper
129
130DATE+FIXED:
131DATE+IDENTIFIED: 11-15-99
132DETAILS: 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.
133FIXED+BY:
134IDENTIFIED+BY: William Deans
135PLATFORMS: wxWindows
136SHORT+DESCRIPTION: misnamed setup.wXX files prevents install
137Submit: Submit
138WORKAROUND: 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)
139visitor_email_address: willdeans@mindspring.com
140wxWINDOWS+VERSION: Current version as of 11-15-99
141
142DATE+FIXED:
143DATE+IDENTIFIED: 11-15-99
144DETAILS: 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
151FIXED+BY:
152IDENTIFIED+BY: William Deans
153PLATFORMS: wxWindows
154SHORT+DESCRIPTION: dialog editor CRASHES
155Submit: Submit
156WORKAROUND: 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
157visitor_email_address: willdeans@mindspring.com
158wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
159
160DATE+FIXED:
161DATE+IDENTIFIED: 11-15-99
162DETAILS: to recreate:
163 click "Dialogs" folder to the left
164 select delete from the menu
165FIXED+BY:
166IDENTIFIED+BY: William Deans
167PLATFORMS: wxWindows
168SHORT+DESCRIPTION: Dialog Editor CRASHES (again)
169Submit: Submit
170WORKAROUND:
171visitor_email_address: willdeans@mindspring.com
172wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
173
174DATE+FIXED:
175DATE+IDENTIFIED: 11-15-99
176DETAILS: to recreate:
177 go to properties (of any dialog)
178 select id
179 select ...
180 hit cancel
181 the property box hangs
182FIXED+BY:
183IDENTIFIED+BY: William Deans
184PLATFORMS: wxWindows
185SHORT+DESCRIPTION: Dialog Editor HANGS
186Submit: Submit
187WORKAROUND:
188visitor_email_address: willdeans@mindspring.com
189wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
190
191DATE+FIXED:
192DATE+IDENTIFIED: 11-15-99
193DETAILS: to recreate:
194 put a space into the name field of the property box...... this should be disallowed, but is not
195FIXED+BY:
196IDENTIFIED+BY: William Deans
197PLATFORMS: wxWindows
198SHORT+DESCRIPTION: Dialog Editor Creates Files It Cannot Parse
199Submit: Submit
200WORKAROUND: 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
201visitor_email_address: willdeans@mindspring.com
202wxWINDOWS+VERSION: 2.1.11 (Current version as of 11-15-99)
203
204DATE+IDENTIFIED: 26/11/1999
205DETAILS: Around line 1234 or the common/docview.cpp file following code exists...
206
207if (!theTemplate)
208 theTemplate=templates[FilterIndex] ;
209
210The problem is tat FilterIndex is one based and the templates array is zero based. The correct
211thing might be to use FilterIndex-1 as the index. Else the following scenario will
212cause a crash.
213
2141. Use the docvsmdi example
2152. Bring up the file open dlg.
2163. Select Files of Type "Text"
2174. c:\autoexec.bat for file name
2185. Press okay and you should see
219 the crash.
220
221I understand that it is very
222hard to figure out the template
223when the user does not select
224one of the known extensions but
225this simple fix might atleast
226avoid the crash....
227
228I started playing with wxMSW
229just this morning and have not
230yet figured out exactly how to
231submit a fix. I atleast wanted
232to report it. Besides what I do
233for the MSW might not be correct
234for the other platforms :-)
235
236Note from JACS: fixed (I hope) by making m_filterIndex
237zero-based in MSW wxFileDialog implementation
238(it's zero-based in wxGTK/the generic dialog).
239
240IDENTIFIED+BY: Haneef Mohammed
241PLATFORMS: wxMSW
242SHORT+DESCRIPTION: Bug in wxDocTemplate::SelectDocumentPath()
243WORKAROUND:
244visitor_email_address: haneef@symphonyeda.com
245wxWINDOWS+VERSION: 2.1.12
246DATE+FIXED: 29/11/99
247FIXED+BY: Julian Smart <julian.smart@btopenworld.com>
248
249DATE+FIXED:
250DATE+IDENTIFIED: 29/11/1999
251DETAILS: wxGTK cannot seem to find the default font
252on (some?) Debian 2.x systems. This results
253in infinite recursion in wxLoadQueryNearestFont.
254
255It only happens on one of my two Debian machines,
256but I haven't investigated thoroughly enough to give
257any more detail.
258
259I have made a temporary workaround by trapping
260recursion in wxLoadQueryNearestFont with a static
261bool flag.
262
263I will investigate the problem further if this bug has
264not already been reported by someone else.
265FIXED+BY: Vadim, just after 2.1.11?
266IDENTIFIED+BY: Tom Marshall
267PLATFORMS: wxGTK
268SHORT+DESCRIPTION: wxGTK: infinite recursion in font selection
269WORKAROUND: Create default font mapping for every
270wxGTK app (?)
271visitor_email_address: tommy@aa.net
272wxWINDOWS+VERSION: 2.1.11
273
274DATE+FIXED:
275DATE+IDENTIFIED: 29/11/1999
276DETAILS: If the listening socket cannot be obtained
277(ie, TIME_WAIT) the wxsocket server example
278program segfaults.
279FIXED+BY:
280IDENTIFIED+BY: Tom Marshall
281PLATFORMS: wxGTK
282SHORT+DESCRIPTION: wxGTK: wxsocket example crashes if listen socket unavailable
283WORKAROUND: None.
284visitor_email_address: tommy@aa.net
285wxWINDOWS+VERSION: 2.1.11
286
287DATE+FIXED: 07/12/1999
288DATE+IDENTIFIED: 04/12/1999
289DETAILS: In wxTextCtrl::AdjustSpaceLimit(), the check for len > limit
290does not take into account when len == limit. This caused the
291output to freeze when the limit was reached.
292FIXED+BY: Vasu Harish
293IDENTIFIED+BY: Vasu Harish
294PLATFORMS: wxMSW
295SHORT+DESCRIPTION: wxTextCtrl clogs output occassionally when the text size limit is reached
296WORKAROUND: In the check for (len > limit) condition in wxTextCtrl::AdjustSpaceLimit()
297call, added the condition to check for the len==limit.
298visitor_email_address: vasuh@bullant.net
299wxWINDOWS+VERSION: wx2.1.11
300
301DATE+FIXED: 30/12/1999
302DATE+IDENTIFIED:
303DETAILS: the setting of wxvc_dll have a bug of precompiled setting with release version.
304FIXED+BY: Pumb Peng
305IDENTIFIED+BY: Pumb Peng
306PLATFORMS: windows NT
307SHORT+DESCRIPTION: wxvc_dll.dsp Bug
308Submit: Submit
309WORKAROUND:
310visitor_email_address:
311wxWINDOWS+VERSION: 2.1.11
312
313DATE+FIXED: 05/01/2000
314DATE+IDENTIFIED: 04/01/2000
315DETAILS: The various message callback members of
316wxMessageDialog pass the client_data variable
317as in "int" which are later used a pointers. On a 64-bit
318system they must be passed as pointers or
319as "long" variables.
320FIXED+BY: JACS
321IDENTIFIED+BY: Ray Lanza
322PLATFORMS: motif
323SHORT+DESCRIPTION: wxMessageDialog is not 64bit safe
324Submit: Submit
325WORKAROUND: Change the declaration to void * or long
326visitor_email_address: rjl@zk3.dec.com
327wxWINDOWS+VERSION: 2.1.10
328
329DATE+FIXED: 12/01/2000
330DATE+IDENTIFIED: 12/01/2000
331DETAILS: When I try to Print or create
332wxPrintPreview object in the
333printing sample, it fails.
334The reason is the wxGetDefaultDeviceName
335function in file msw/dcprint.cpp. In line 253
336the memory is freed, and then
337the pointer to the freed memory
338is used.
339FIXED+BY: Alexey V. Exarevsky (patched into wxWin 12/1/2000 by JACS)
340IDENTIFIED+BY: Alexey V. Exarevsky
341PLATFORMS: wxMSW, compiled by VC++ 6.0
342SHORT+DESCRIPTION: Print/Print preveiw to default printer in NT
343Submit: Submit
344WORKAROUND: I have moved lines that free
345memory below the lines that
346use lpszDeviceName and
347lpszPortName
348visitor_email_address: ave@relex.ru
349wxWINDOWS+VERSION: 2.1.11
350
351DATE+FIXED:
352DATE+IDENTIFIED: 14/01/2000
353DETAILS: I run my linux boxes headless and use a Windows box for an XServer... every sample I have tried so far
354hangs 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 ()
373FIXED+BY:
374IDENTIFIED+BY: John Barrett
375PLATFORMS: wxGTK
376SHORT+DESCRIPTION: wxWin/GTK and X-Win32 on Windows
377Submit: Submit
378WORKAROUND:
379visitor_email_address: jbarrett@box100.com
380wxWINDOWS+VERSION: 2.1.11
381
382DATE+FIXED:
383DATE+IDENTIFIED: 17.01.2000
384DETAILS: 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!
385FIXED+BY:
386IDENTIFIED+BY: Klaus Richter
387PLATFORMS: wxMSW
388SHORT+DESCRIPTION: Windows Installer problem
389Submit: Submit
390WORKAROUND: Dlls from at least Sp2 (better 3) are needed (read MSDN KB Q190536)!
391visitor_email_address: richter@secude.com
392wxWINDOWS+VERSION: 2.1.11
393
394DATE+FIXED:
395DATE+IDENTIFIED: 18/01/2000
396DETAILS: I tested wxWindows/GTK+ with a simple example which
397uses frame, menu, and statusbar. But when I selected
398a menu item which creates a simple 'about dialog'
399several times, the program crashed with segmentation fault.
400I traced it with gdb, and I got this message:
401
402Program received signal SIGSEGV, Segmentation fault
4030x408f1796 in match_theme_image ()
404 from /usr/lib/gtk/themes/engines/libpixmap.so
405
406I guessed from this message that the pixmap routine in
407GTK+ theme engine caused crash. So, I changed GTK+ theme
408to default which doesn't use any pixmaps and tested
409again. This time, the program didn't crash.
410
411I'm using Redhat 6.1 with egcs 1.1.2.
412FIXED+BY:
413IDENTIFIED+BY: Sangpil Yoon
414PLATFORMS: wxGTK
415SHORT+DESCRIPTION: Problem with GTK+ theme
416Submit: Submit
417WORKAROUND: Currently none.
418visitor_email_address: yphil99@yahoo.com
419wxWINDOWS+VERSION: 2.1.12
420
421---------------------------END OF BUGLIST-------------------------
422
423