Property Dialog / Context menu

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Property Dialog / Context menu

Re: Property Dialog / Context menu

by PetrCBR » Wed May 24, 2017 11:25 am

Can you send me a debuglog (petr att mediamonkey dott com) ?

Re: Property Dialog / Context menu

by skrutm » Mon May 22, 2017 12:50 am

It woorked once when I displayed Properties of the song from Google Play Music... Since than, it doesn't work anymore.

Re: Property Dialog / Context menu

by skrutm » Mon May 22, 2017 12:49 am

Je, so fa.

Re: Property Dialog / Context menu

by PetrCBR » Thu May 18, 2017 5:07 pm

Strange. Other dialogs works well ?

Re: Property Dialog / Context menu

by skrutm » Wed May 17, 2017 12:28 am

No, it is an Object - SharedList. What I posted is asJSON so that you can see that there is at least one Item selected.

Re: Property Dialog / Context menu

by PetrCBR » Tue May 16, 2017 10:44 am

Ahh ... i see .. seltracks should be SharedList, but you have it as JSON string ?

Re: Property Dialog / Context menu

by skrutm » Tue May 16, 2017 6:22 am

1)
openDialog('dlgTrackProperties', {
modal: true,
tracks: selTracks,
//inplace: qe(document, '[data-trackPropertiesSpot]') // disabled for now
});

selTracks = ""data":[{"_persistentID":"331","objectType":"track", "id":331,"artist":"Aliz\u00E9e","album":"Je veux bien","albumArtist":"Aliz\u00E9e","title":"Je veux bien","path":"","genre":"Western Europe","idAlbum":76,"date":20130000,"year":2013,"songLength":219000,"trackNumber":"1","discNumber":"","episodeNumber":"","seasonNumber":"","bitRate":-1,"fileLength":-1,"seekable":"false","rating":80,"playCounter":0,"lastTimePlayed":"0","playbackPos":0,"trackType":0,"dateAdded":"42867.3213592824","normalizeTrack":"-999999","normalizeAlbum":"-999999","volumeLeveling":"0","playlistSongOrder":1,"trackTypeStr":"Music","trackTypeStringId":"music","custom1":"","custom2":"","custom3":"","custom4":"","custom5":"","discNumber":"","tempo":"","mood":"","occasion":"","quality":"","lyrics":"","comment":"","width":"","height":"","frameRate":"","tempString":""}]"

2) right

Re: Property Dialog / Context menu

by PetrCBR » Tue May 16, 2017 2:10 am

re 1) what params do you have sent to openDialog ? First is dialog name, but second argument must be JS class with parameters ... see trackProperties action in actions.js.
re 2) ahh .. i see .. context menu opened in other than main window (e.g. track properties dialog) is always shown on main monitor, right ? Added to mantis as 14225.

Property Dialog / Context menu

by skrutm » Mon May 15, 2017 9:19 am

1. Property dialog not shown (dimmedWindow is shown, uitools.openDialog('dlgTrackProperties' ) - doesnt open dialog).
2. Context menu always shown on the main screen.

Top