Font support in SDB.UI controls does not work BUG#5258
Moderator: Gurus
-
- Posts: 13
- Joined: Wed Oct 01, 2008 6:50 pm
- Location: Washington, DC
Font support in SDB.UI controls does not work BUG#5258
In testing 3.1, I found that, although font properties are now supported, they do not seem to work. Try the following jscript:
var form = SDB.UI.newForm;
var label = SDB.UI.newLabel(form);
TRACE("-Before: "+label.Common.FontBold);
label.Common.FontBold = true;
TRACE("-After: "+label.Common.FontBold);
TRACE("-Before: "+label.Common.FontSize);
label.Common.FontSize = 32;
TRACE("-After: "+label.Common.FontSize);
You should see that the assignments do not work. In 3.0 the assignments resulted in an error, in 3.1 no error occurs, but the assignments are ineffective.
Also, when I assign a hotkey to a js script, the invocation from the hotkey assumes that the script is vb and fails. The problem does not occur when invoking the script from the tools menu. This problem also existed in release 3.0.
Regards,
Dick Francoeur
var form = SDB.UI.newForm;
var label = SDB.UI.newLabel(form);
TRACE("-Before: "+label.Common.FontBold);
label.Common.FontBold = true;
TRACE("-After: "+label.Common.FontBold);
TRACE("-Before: "+label.Common.FontSize);
label.Common.FontSize = 32;
TRACE("-After: "+label.Common.FontSize);
You should see that the assignments do not work. In 3.0 the assignments resulted in an error, in 3.1 no error occurs, but the assignments are ineffective.
Also, when I assign a hotkey to a js script, the invocation from the hotkey assumes that the script is vb and fails. The problem does not occur when invoking the script from the tools menu. This problem also existed in release 3.0.
Regards,
Dick Francoeur
Re: Font support in SDB.UI controls does not work
1. Can you please test it in a VBScript to see if it has the same problem?
2. Seems like a bug. I'll report it when we know how issue 1. works.
2. Seems like a bug. I'll report it when we know how issue 1. works.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Re: Font support in SDB.UI controls does not work
I could confirm this. It doesn't work with VBScript either.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
Re: Font support in SDB.UI controls does not work
Thank you ZvezdanD!
Do you know if the other new Common-properties work or not?
Do you know if the other new Common-properties work or not?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Re: Font support in SDB.UI controls does not work
What other Common properties? If you mean on another Font properties, I tried FontName, FontItalic and FontColor and they don't work either.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
Re: Font support in SDB.UI controls does not work
The meant the ones that Jiri added recently:
# (diff) (hist) . . N ISDBUICommon::FontColor; 10:53 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontSize; 10:53 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontName; 10:52 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontUnderline; 10:52 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontStrikeOut; 10:51 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontItalic; 10:51 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontBold; 10:51 . . Jiri (Talk | contribs)
I'll add a report to Mantis!
# (diff) (hist) . . N ISDBUICommon::FontColor; 10:53 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontSize; 10:53 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontName; 10:52 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontUnderline; 10:52 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontStrikeOut; 10:51 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontItalic; 10:51 . . Jiri (Talk | contribs)
# (diff) (hist) . . N ISDBUICommon::FontBold; 10:51 . . Jiri (Talk | contribs)
I'll add a report to Mantis!
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Re: Font support in SDB.UI controls does not work
Was it in 1218 you did the test?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Re: Font support in SDB.UI controls does not work
Yes, it is.Bex wrote:Was it in 1218 you did the test?
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
Re: Font support in SDB.UI controls does not work
Mantis report:
http://www.ventismedia.com/mantis/view.php?id=5258
http://www.ventismedia.com/mantis/view.php?id=5258
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!
All My Scripts
Re: Font support in SDB.UI controls does not work BUG#5258
This will be fixed in the next release.
Jiri
Jiri
1220 - FontSize still doesn't work
1220 - FontSize still doesn't work. FontName, FontBold, FontItalic, FontColor are OK.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2
Re: Font support in SDB.UI controls does not work BUG#5258
Well, mentioned properties (FontName, FontBold, FontItalic, FontColor) are OK only with the Label control. The Checkbox, Edit, Dropdown and probably all another controls still don't support those properties.
● Magic Nodes 4.3.3 / 5.2 ● RegExp Find & Replace 4.4.9 / 5.2 ● Invert Selection/Select None 1.5.1 ● Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1 ● Expand Child Nodes/Expand All 1.1.2 ● Event Logger 2.7 ● Filtered Statistics Report 1.6 ● Track Redirection & Synchronization 3.4.2 ● Restore/Synchronize Database 3.1.8 / 4.0.1 ● Find Currently Playing Track 1.3.2 ● Queue List 1.2.1 ● Add to Library on Play 1.0.1 ● Tree Report for Child Nodes 1.1.1 ● Update Location of Files in Database 1.4.5 / 2.3 ● Inherit Child Playlists 1.0.3 ● Add Currently Playing/Selected Track(s) to Playlist 1.2