home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
madVR support in MP1
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rick164" data-source="post: 1185128" data-attributes="member: 17766"><p>Can't reproduce the UI dialog issue consistently <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> , it's almost like the dialogs gets detached from the actually code at some point and not filled properly (affects other dialogs like below as well)</p><p>For instance if I call it like so it should fill it with category items and a header called "Category items":</p><p></p><p>[CODE]</p><p> CategoryList.Clear();</p><p> CategoryList = _Db.ReadCategories();</p><p></p><p> _dialogIsOpen = true;</p><p> var dlg = (GUIDialogMenu) GUIWindowManager.GetWindow((int) Window.WINDOW_DIALOG_MENU);</p><p> dlg.Reset();</p><p> dlg.SetHeading("Category items");</p><p> dlg.Add(new GUIListItem("ALL"));</p><p></p><p> char[] charSeparator = {';'};</p><p> var hashSet = new HashSet<string>();</p><p></p><p> foreach (var item in CategoryList)</p><p> {</p><p> var locationSplit = item.Location.Split(charSeparator);</p><p></p><p> foreach (var location in locationSplit)</p><p> {</p><p> hashSet.Add(location);</p><p> }</p><p></p><p> dlg.Add(new GUIListItem(item.Name));</p><p> }</p><p></p><p> dlg.SelectedLabel = 0;</p><p> dlg.DoModal(GUIWindowManager.ActiveWindow);</p><p></p><p> if (dlg.SelectedLabel >= 0)</p><p> {</p><p> LoadCategories(dlg.SelectedLabelText);</p><p> }</p><p> _dialogIsOpen = false;</p><p>[/CODE]</p><p></p><p>However currently it shows it like below with the default values of the StreamedMP skin while with 1.14 / 1.15 pre-release it displays it with the header and category items consisently, with this extension it needs a server component to function but can make a modded AudioSwitcher version if you want which has the same dialog functions for testing <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>[ATTACH=full]179159[/ATTACH]</p></blockquote><p></p>
[QUOTE="Rick164, post: 1185128, member: 17766"] Can't reproduce the UI dialog issue consistently :( , it's almost like the dialogs gets detached from the actually code at some point and not filled properly (affects other dialogs like below as well) For instance if I call it like so it should fill it with category items and a header called "Category items": [CODE] CategoryList.Clear(); CategoryList = _Db.ReadCategories(); _dialogIsOpen = true; var dlg = (GUIDialogMenu) GUIWindowManager.GetWindow((int) Window.WINDOW_DIALOG_MENU); dlg.Reset(); dlg.SetHeading("Category items"); dlg.Add(new GUIListItem("ALL")); char[] charSeparator = {';'}; var hashSet = new HashSet<string>(); foreach (var item in CategoryList) { var locationSplit = item.Location.Split(charSeparator); foreach (var location in locationSplit) { hashSet.Add(location); } dlg.Add(new GUIListItem(item.Name)); } dlg.SelectedLabel = 0; dlg.DoModal(GUIWindowManager.ActiveWindow); if (dlg.SelectedLabel >= 0) { LoadCategories(dlg.SelectedLabelText); } _dialogIsOpen = false; [/CODE] However currently it shows it like below with the default values of the StreamedMP skin while with 1.14 / 1.15 pre-release it displays it with the header and category items consisently, with this extension it needs a server component to function but can make a modded AudioSwitcher version if you want which has the same dialog functions for testing :) [ATTACH=full]179159[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
madVR support in MP1
Contact us
RSS
Top
Bottom