v18 -  different Addon-Info Dialog Layout when opened from dynamic List
#1
pretty weard but the Addon Info Dialog Looks differently when i lounch it from a dinamic List. (Infolables & Buttons)

lauched from a dynamic List:
Image

launched from Addonbrowser:
Image
(with focused "settings"-Icon)
Image
(all to the right in the Button Grouplist)
Image

pretty weard, specialy as it doesnt seem to be a issue in Estuary, just why the h does it behave like this on my End?


EDIT:

These are the Buttons which i got in the Grouplist and there "visible conditions"


<!-- Launch Addon Button -->
<control type="button" id="12">
<width>247</width>
<label>518</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<onfocus>ClearProperty(InfoDialogButtons)</onfocus>
<visible>Control.IsEnabled(12)</visible>
</control>
<!-- Configure Addon Button -->
<control type="button" id="9">
<width min="160" max="300">auto</width>
<label>24020</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<onfocus>ClearProperty(InfoDialogButtons)</onfocus>
<visible>Control.IsEnabled(9)</visible>
</control>
<!-- Addon description Button -->
<control type="button" id="26">
<width min="160" max="300">auto</width>
<label>24003</label> <!-- 20037 -->
<include>DialogButtonStyle</include>
<onclick>RunScript(script.skin.helper.service,action=textviewer,header='$ESCINFO[ListItem.Title]',message='$ESCINFO[ListItem.AddonDescription]')</onclick> <!-- $INFO[ListItem.AddonSummary][CR]$INFO[ListItem.AddonDescription] -->
<onup>SetProperty(InfoContent,Plot)</onup>
<onfocus>ClearProperty(InfoDialogButtons)</onfocus>
<onfocus>ClearProperty(InfoContent)</onfocus>
</control>

<!-- Addon News Button -->
<control type="button" id="28">
<width min="160" max="300">auto</width>
<label>$LOCALIZE[24000] $LOCALIZE[29916]</label>
<include>DialogButtonStyle</include>
<onclick>RunScript(script.skin.helper.service,action=textviewer,header='$ESCINFO[ListItem.AddonSummary]',message='$ESCINFO[ListItem.AddonNews]')</onclick>
<onup>SetProperty(InfoContent,News)</onup>
<onfocus>ClearProperty(InfoContent)</onfocus>
<onfocus>ClearProperty(InfoDialogButtons)</onfocus>
<visible>!String.IsEmpty(ListItem.AddonNews)</visible>
</control>

<!-- Dependancies Button -->
<control type="button" id="10">
<width min="160" max="300">auto</width>
<label>39024</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<onfocus>ClearProperty(InfoDialogButtons)</onfocus>
<visible>Control.IsEnabled(10)</visible>
</control>

<!-- Personal Rating Button -->
<control type="button" id="37">
<width min="160" max="300">auto</width>
<label>31206</label>
<textoffsetx>10</textoffsetx>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<onclick>Skin.SelectBool(38023, 38022|AddonRating0, 31340|AddonRating1, 31341|AddonRating1, 31341|AddonRating1, 31341|AddonRating1, 31342|AddonRating3, 31343|AddonRating4, 31345|AddonRating5, 31346|AddonRating6, 31347|AddonRating7, 31348|AddonRating8, 31349|AddonRating9, 31350|AddonRating10)</onclick>
<visible>ListItem.Property(Addon.IsInstalled)</visible>
</control>


<!-- Show Settings -->
<control type="radiobutton" id="30">
<width>70</width>
<include>DialogButtonStyle</include>
<label></label>
<textureradioonfocus colordiffuse="TextColor1">Icon_settings.png</textureradioonfocus>
<textureradioonnofocus colordiffuse="TextColor2">Icon_settings.png</textureradioonnofocus>
<textureradioofffocus colordiffuse="TextColor1">Icon_settings.png</textureradioofffocus>
<textureradiooffnofocus colordiffuse="TextColor2">Icon_settings.png</textureradiooffnofocus>
<radioposx>5</radioposx>
<radiowidth>60</radiowidth>
<radioheight>60</radioheight>
<onfocus>SetProperty(InfoDialogButtons,ShowSettings)</onfocus>
<visible>ListItem.Property(Addon.IsInstalled)</visible>
</control>

<!-- Update Addon Button -->
<control type="button" id="8">
<width min="160" max="300">auto</width>
<label>24069</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<visible>Control.IsEnabled(8) + String.IsEqual(Window.Property(InfoDialogButtons),ShowSettings)</visible>
</control>
<!-- Auto Update Addon Button -->
<control type="radiobutton" id="13">
<width min="160" max="300">auto</width>
<label>21340</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<visible>Control.IsEnabled(13) + String.IsEqual(Window.Property(InfoDialogButtons),ShowSettings)</visible>
</control>
<!-- Enable/Disable Addon button -->
<control type="button" id="7">
<width min="160" max="300">auto</width>
<label>24021</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<visible>Control.IsEnabled(7) + String.IsEqual(Window.Property(InfoDialogButtons),ShowSettings)</visible>
</control>

<!-- Install/UnInstall Addon button -->
<control type="button" id="6">
<width min="160" max="300">auto</width>
<label>24022</label>
<include>DialogButtonStyle</include>
<onfocus>ClearProperty(InfoContent)</onfocus>
<visible>Control.IsEnabled(6) + [!ListItem.Property(Addon.IsInstalled) | [ListItem.Property(Addon.IsInstalled) + String.IsEqual(Window.Property(InfoDialogButtons),ShowSettings)]]</visible>
</control>

EDIT2:

is it might possible that ListItem.Property(Addon.IsInstalled) doesnt work if the Infodialog is opened from a dynamic path?

pretty weard, to be honest no Idea.

EDIT3:

Just noticed that Estuary also got some inconsistency
in Estuary it sometimes shows the "Repository Name" and sometimes offers "klick here to see the latest changes"

(just open the AddonInfodialog from Estuary one time right from the Widgets, and then from Settings -> Addons -> Install from Repository"; At least on my End i get there also different dialog Content.)
Reply
#2
Is this how it is suppost to be?

did copy the Dialog to Krypton and it seems to behave the same Way.

So, the question is; shuld it be that Way?

if this is how it supposed to be, where does this inconsistency come from, my thouth was always that Infolables are suppost to work on a specivic place.

---
According to the Wiki this Infolable shuld work within the Infodialog:
Quote:ListItem.Property(Addon.IsInstalled)  - Returns true when the selected addon is installed (for use in the addon info dialog only)

there are also Lables without special Window hint ? :
Quote:ListItem.AddonLastUpdated - Date the addon was last updated
 
Quote:ListItem.AddonSize - Filesize of the addon

(just as a example)
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
different Addon-Info Dialog Layout when opened from dynamic List00