Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Tue Jun 17, 2008 3:46 pm   

[2.27] Disappearing toggle sample button
 
Initially I thought that this bug is related to %btncol() function call, but later I discovered that it was not the case. Looks like any toggle button inserted via xml tab of the PE is subject to this bug. So now I think this bug is a side-effect of fixing "There must be at least one field" bug in 2.26
1) Start CMUD, load the untitled session, open the PE.
2) Switch to the xml tab and enter there:
Code:
<button type="Toggle" priority="10" id="1">
  <caption>Test</caption>
  <state caption="Pressed"></state>
</button>

Click Save or close and open the PE to get the tree control updated with new information.
3) Click on the button in the tree and then try to click on the sample button in the editor above the button name. The button will disappear. Note, that if you create a button with editor New\Button menu, then the sample button will not disappear.

I somehow got this effect in my primary package with just using the editor without editing xml code, but I can't remember how.
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Jun 17, 2008 9:24 pm   
 
Confirmed and added to bug list.

Edited: Actually, the bug is a bit different than you might think. Clicking on a toggle sample button just changes the focus to the "pressed" button state. If you just click on the "Pressed" button state in the tree on the left, you will also see the button disappear.

The actual bug is that the sample button for a toggle button pressed state is not being displayed. Doesn't have anything to do with clicking on it or not.

Edited: Ok, actually this is weird. It's more like you said with the XML. Creating the button normally works fine. Only when the button is created by pasting XML does it have this problem. Very odd.
Reply with quote
Arde
Enchanter


Joined: 09 Sep 2007
Posts: 605

PostPosted: Thu Jun 19, 2008 9:26 pm   
 
Ah, I've missed all the edited Zugg text in this thread...
Thanks for getting this fixed btw! Smile
_________________
My personal bug|wish list:
-Wrong Priority when copy-paste setting
-1 prompt trigger for Mapper, Session and General Options, not 3 different!
-#SECTION can terminate threads
-Buttons can't start threads
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net