Posts: 17,936
Joined: Aug 2007
Reputation:
656
Hitcher
Team-Kodi Member
Posts: 17,936
2012-05-14, 17:52
While trying to hide something if the select dialog was visible I stumbled upon this bug - using it's name (selectdialog) or ID (12000/2000) in a condition doesn't work.
The only way to use it at the moment is by using it's actual file name - DialogSelect.xml.
Thanks.
PS. There may well be other dialogs that don't work if there's an easier way of checking.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Weird, I don't see any reason why it wouldn't work, other than if the id reported by the dialog was wrong, which it doesn't appear to be.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
not having actually tested this but a possible reason is sometimes when you make an error in the skin and do a skin reload to check you changes it can fudge up stuff even after you fix it and reload the skin again.
I don't know about you but I've made errors that result in the file lists all being populated in numbers instead of proper names and windows like Player controls not vanishing from the screen so this might be the issue or part of it ?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
How do you get the select dialog up while in dialogvideoinfo? If you provide some code to reproduce I'm happy to look at it.
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Click on an actor and it will show.
Posts: 672
Joined: Aug 2010
Reputation:
13
pieh
Retired Team-Kodi Member
Posts: 672
Don't know if this is case with that particular addon (will check that later), but generally we can load DialogSelect.xml from python and gain more control over that dialog than just displaying list of items and picking one (f.e. making use of "get more" button in that dialog). In that case, even if DialogSelect.xml is used, window is not selectdialog/12000/2000 and You should use DialogSelect.xml.
Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first
My previous forum/trac nickname: grajen3
Posts: 17,936
Joined: Aug 2007
Reputation:
656
Hitcher
Team-Kodi Member
Posts: 17,936
Thanks for getting to the bottom of the problem.