Opened 10 years ago

Last modified 10 years ago

#2580 new defect

SynthLab's info box isn't updated correctly if a new object is selected.

Reported by: tom Owned by: alsroot
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: TamTam Version: Unspecified
Severity: Unspecified Keywords: sugar-love
Cc: Distribution/OS: Unspecified
Bug Status: New

Description

see description and screenshots here: http://www.flatlandfarm.de/blog/?p=313

Change History (6)

comment:1 Changed 10 years ago by alsroot

  • Keywords sugar-love added

comment:2 Changed 10 years ago by RafaelOrtiz

  • Bug Status changed from Unconfirmed to New

confirmed, synth is failling to update description. when changing boxes.

comment:3 Changed 10 years ago by RafaelOrtiz

code not working:


def updateViewer(self):
	
        selectedType = SynthLabConstants.CHOOSE_TYPE[self.objectType][self.choosenType]
	
        infoType = SynthLabConstants.SYNTHPARA[selectedType][4]	
        infoPara = SynthLabConstants.SYNTHPARA[selectedType][4+self.curSlider]	
        self.infoText = infoType + '\n\n' + SynthLabConstants.SYNTHPARA[selectedType][self.curSlider-1] + ': ' + infoPara	
        self.textBuf.set_text(self.infoText)


comment:4 Changed 10 years ago by RafaelOrtiz

When you select combobox, the descritor info gets updated but not when clicked.

comment:5 follow-up: Changed 10 years ago by tom

Most of the time that is true. I've also seen situations where even deselecting/reselecting the module in the combobox didn't help. (Strange enough this happened regularly when the previously selected module had been an LFO, I'm pretty sure that this was coincidence, but who knows). I was able reproduce this behavior every time I selected/deselected modules for a little while.

comment:6 in reply to: ↑ 5 Changed 10 years ago by RafaelOrtiz

Replying to tom:

Most of the time that is true. I've also seen situations where even deselecting/reselecting the module in the combobox didn't help. (Strange enough this happened regularly when the previously selected module had been an LFO, I'm pretty sure that this was coincidence, but who knows). I was able reproduce this behavior every time I selected/deselected modules for a little while.

Yep we need to get deeper, i've also seen erratic behaviors. at least i know the part of the code that should be complemented.

Note: See TracTickets for help on using tickets.