Property Dialog / Context menu

Help improve MediaMonkey 5 by testing the latest pre-release builds, and reporting bugs and feature requests.

Moderator: Gurus

skrutm
Posts: 23
Joined: Mon Apr 16, 2012 9:32 am

Property Dialog / Context menu

Post by skrutm »

1. Property dialog not shown (dimmedWindow is shown, uitools.openDialog('dlgTrackProperties' ) - doesnt open dialog).
2. Context menu always shown on the main screen.
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: Property Dialog / Context menu

Post by PetrCBR »

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.
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
skrutm
Posts: 23
Joined: Mon Apr 16, 2012 9:32 am

Re: Property Dialog / Context menu

Post by skrutm »

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
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: Property Dialog / Context menu

Post by PetrCBR »

Ahh ... i see .. seltracks should be SharedList, but you have it as JSON string ?
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
skrutm
Posts: 23
Joined: Mon Apr 16, 2012 9:32 am

Re: Property Dialog / Context menu

Post by skrutm »

No, it is an Object - SharedList. What I posted is asJSON so that you can see that there is at least one Item selected.
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: Property Dialog / Context menu

Post by PetrCBR »

Strange. Other dialogs works well ?
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
skrutm
Posts: 23
Joined: Mon Apr 16, 2012 9:32 am

Re: Property Dialog / Context menu

Post by skrutm »

Je, so fa.
skrutm
Posts: 23
Joined: Mon Apr 16, 2012 9:32 am

Re: Property Dialog / Context menu

Post by skrutm »

It woorked once when I displayed Properties of the song from Google Play Music... Since than, it doesn't work anymore.
PetrCBR
Posts: 1763
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: Property Dialog / Context menu

Post by PetrCBR »

Can you send me a debuglog (petr att mediamonkey dott com) ?
How to make a debuglog - step 4b: viewtopic.php?f=30&t=86643
Post Reply