]> git.saurik.com Git - wxWidgets.git/blame - docs/bugs.txt
fixed #pragma implementation/interface numdlgg.h to numdlgg.cpp ; fixed bug: spincont...
[wxWidgets.git] / docs / bugs.txt
CommitLineData
2dc5505e
JS
1wxWindows Buglist
2-----------------
3
01dba85a
JS
4Until the wxWindows bug database is up and running, please add
5entries in this style:
2dc5505e 6
01dba85a
JS
7BUG NUMBER:
8SHORT DESCRIPTION:
9DETAILS:
10WORKAROUND:
11wxWINDOWS VERSION:
12PLATFORM(S):
13DATE IDENTIFIED:
14IDENTIFIED BY:
15DATE FIXED:
16FIXED BY:
cba2db0c 17
01dba85a 18-------------------------START OF BUGLIST-------------------------
2dc5505e 19
01dba85a
JS
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@ukonline.co.uk>
36DATE FIXED:
37FIXED BY:
b412f9be 38
01dba85a
JS
39BUG NUMBER: 2
40SHORT DESCRIPTION: Misc. Motif bugs
41DETAILS:
b412f9be
JS
42- In wxGrid, cell highlight is not drawn/erased properly.
43
44- Setting the size of a hidden window may show that window.
45
06ad8636
JS
46- wxRadioBox sometimes doesn't show (e.g. in controls sample).
47
a91b47e8
JS
48- Can't set the colours for the buttons in the file selector, for
49 some reason.
ee4c6942 50
cba2db0c
JS
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.
01dba85a
JS
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@ukonline.co.uk>
79DATE FIXED:
80FIXED BY:
81
4f02408e
JS
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
cf1d22d6
JS
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
c0ab6adf
JS
105DATE FIXED: 11/11/1999
106FIXED BY: Vaclav Slavik
107
5f2936da
JS
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
c0ab6adf 125wxWINDOWS VERSION: 2.1.11
5f2936da
JS
126PLATFORMS: wxGTK
127DATE IDENTIFIED: 16/11/1999
128IDENTIFIED BY: Randall Hopper
cf1d22d6 129
6b8b0e7c
JS
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()
17d8ee1c 243WORKAROUND:
6b8b0e7c
JS
244visitor_email_address: haneef@symphonyeda.com
245wxWINDOWS+VERSION: 2.1.12
246DATE+FIXED: 29/11/99
247FIXED+BY: Julian Smart <julian.smart@ukonline.co.uk>
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
6b8b0e7c
JS
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
6b8b0e7c
JS
283WORKAROUND: None.
284visitor_email_address: tommy@aa.net
285wxWINDOWS+VERSION: 2.1.11
286
17d8ee1c
JS
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
6b8b0e7c 300
cba2db0c 301
01dba85a 302---------------------------END OF BUGLIST-------------------------
2dc5505e 303
cba2db0c 304