trouble with interface editor
#1
Posted 19 May 2008 - 12:13 PM
Any ideas on how to prevent this???
Thanks
-c
#2
Posted 19 May 2008 - 02:40 PM
Would you please describe all the exact clicks to reproduce this bug?
Also, please post this bug on the bug tracker so that it doesn't get forgotten or repeated.
http://www.boot-land...ocom=bugtracker
Thank you very much!
#3
Posted 19 May 2008 - 04:58 PM
Hi carfan, I'll help.
Would you please describe all the exact clicks to reproduce this bug?
Also, please post this bug on the bug tracker so that it doesn't get forgotten or repeated.
http://www.boot-land...ocom=bugtracker
Thank you very much!
I added these:
checkbox1
textbox1
textbox2
textbox3
textbox4
textbox5
checkbox2
textbox6
textbox7
textbox8
textbox9
textbox10
checkbox3
textbox11
textbox12
textbox13
textbox14
textbox15
to an existing script. it did take the editor box beyond the page size limits but it did apply a
up and down slider for page length to the side. All boxes were set in there desired positions.
After leaving the script, opening another and then reopening the script I added too, all of the added boxes were not in there correct positions. The original boxes to the script were. Any ideas how to
prevent this???
Thanks
-c
#4
Posted 19 May 2008 - 06:40 PM
These are in "human" order:
textbox1
textbox2
textbox3
textbox4
textbox5
textbox6
textbox7
textbox8
textbox9
textbox10
textbox11
textbox12
textbox13
textbox14
textbox15
textbox16
textbox17
textbox18
textbox19
textbox20
textbox21
but a computer might "see" them as:
textbox1
textbox10
textbox11
textbox12
textbox13
textbox14
textbox15
textbox16
textbox17
textbox18
textbox19
textbox2
textbox20
textbox21
textbox3
textbox4
textbox5
textbox6
textbox7
textbox8
textbox9
jaclaz
#5
Posted 19 May 2008 - 07:06 PM
Thanks Jaclaz,Maybe is the good ol' problem with text ordering?
These are in "human" order:
but a computer might "see" them as:
jaclaz
tomorrow I'll have a look into this!
(I hope that then the final beta 2 InfConversion is finished)
Peter
#6
Posted 19 May 2008 - 11:52 PM
Most likely, you have, after the adding, two elements with the same name or one with a broken description.
#7
Posted 20 May 2008 - 01:01 AM
There is a bug in the interface section of the script and Wb doesn't know how to handle it, so it doesn't save the changes.
Most likely, you have, after the adding, two elements with the same name or one with a broken description.
ah yes!!! several of my boxes repeat their title names. im repairing my big pc that i use for the builds. will try a diiferent approach to the name thing if and when i get it back up and running. maybe someone could work on this bug.
thanks
-c
#8
Posted 20 May 2008 - 11:44 AM
I don't think we're talking about the same here.ah yes!!! several of my boxes repeat their title names. im repairing my big pc that i use for the builds. will try a diiferent approach to the name thing if and when i get it back up and running. maybe someone could work on this bug.
thanks
-c
YOu can use whatever names you like, as long as you work in the interface editor. No chance of screwing something up.
You have to have a look at the source code, only there is the problem visible.
#9
Posted 20 May 2008 - 03:22 PM
Do a simple test:
Create a new script, and add to the interface:
pCheckBox1 with caption 'This is number 1'
pCheckBox2 with caption 'This is number 2'
Leave the Interface Editor and the script,k and using an external editor, change the order. Now pCheckBox2 is the first one.
Go back to the interface editor and add a checkbox.
pCheckBox2 is overwritten!
Reason: pCheckBox1 is found as the last CheckBox in the list, and the next new one will be #2!
It can be discussed whether this is a bug or not.
I think that it is not a bug. WinBuilder has not to be able to continue the work which has been made by somebody manually.
WinBuilder only has to be able to continue it's internal, unchanged work.
Peter
#10
Posted 20 May 2008 - 04:21 PM
No need to discuss, the checking mechanism is not well thought through. Instead of checking for the number of the last checkbox, checking for the highest number of a checkbox would have been smarter and not taken up any more resources.pCheckBox2 is overwritten!
Reason: pCheckBox1 is found as the last CheckBox in the list, and the next new one will be #2!
It can be discussed whether this is a bug or not.
The part where i can't completely agree with you or have different experiences, is that checkbox 2 gets overwritten.
I stumbled across carfans problem also 2-3 times. The problem was always the same. 2 elements with identical names. Let's say checkbox2 and checkbox2.
After making sure each name existed only once, the interface editor started working again fine or at least as fine as he usually does.
PS: I don't know if anone else has noticed this, but sorting the elements in the interface section, the way they are to be displayed, speeds up the interface drawing.
#11
Posted 20 May 2008 - 04:33 PM
Can you describe the way to reproduce?I stumbled across carfans problem also 2-3 times. The problem was always the same. 2 elements with identical names. Let's say checkbox2 and checkbox2.
Peter
#12
Posted 20 May 2008 - 04:36 PM
That can be simply explained:The part where i can't completely agree with you or have different experiences, is that checkbox 2 gets overwritten.
An IniWrite of a new value to an existing key.
Peter
#13
Posted 20 May 2008 - 07:06 PM
Not really, only that it happend when an old script got augmented with new features and additional interface elements.Can you describe the way to reproduce?
It never happend when the interface was done in one step.
#14
Posted 20 May 2008 - 08:19 PM
Not really, only that it happend when an old script got augmented with new features and additional interface elements.
It never happend when the interface was done in one step.
same here. was adding to existing. i had it happen on a fresh script that i started and then added to. it happened when i filled the editor page and started expanding the page. start a fresh script and start adding text boxes until the editor page is filled. then, add text boxes to expand the page length. once you leave the script the top box and bottom 2 boxes will be corrupted (not in their correct place).
thanks
-c
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users