Problem with managing custom views

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: Problem with managing custom views

Re: Problem with managing custom views

by Peke » Tue Apr 02, 2024 8:19 am

Hi,
sonos wrote: Tue Apr 02, 2024 4:10 am After that I loaded all my addons and realized that the addons: SQL, Marked Play and Short Links are not compatible with the build 2024.0.0.3005, which of course I did not load.
There is a compatibility version check issue when installing addons on 2024 and should be fixed ASAP.
Tracked as https://www.ventismedia.com/mantis/view.php?id=20808

Re: Problem with managing custom views

by sonos » Tue Apr 02, 2024 4:10 am

Hi Barry,

Many thanks for your help. I forgot to mention what I added in the ticket.

I completely reinstalled build 2024.0.0.3005 (=new system) from scratch and copied from the "old system" MM5.DB to ...\Portable\( =new system). Then I created a new MyList, which worked as expected. After that I loaded all my addons and realized that the addons: SQL, Marked Play and Short Links are not compatible with the build 2024.0.0.3005, which of course I did not load.

Maybe this is the reason why there were errors in the old version.

Carsten

Re: Problem with managing custom views

by Barry4679 » Tue Apr 02, 2024 3:36 am

sonos wrote: Tue Apr 02, 2024 2:12 am @Barry4679: The changes that have been made in MyList are implemented immediately. e.g. Genre is immediately removed
Hi Carsten,

to test what you reported I tried putting the Custom View facility under some stress, to see if I could replicate what you see.
  • I created a Custom View; based on List View, and excluding the Genre tag
  • Then I modified that view outside of the Manage View facility, ie. I used "choose Columns/Sort" while the view was active, and added back the Genre column
  • At that point I looked at the json file; it was out of step, ie. the genre column was displayed on screen, and the json file still showed the column as being "visible: false" in the Custom View definition
  • I toggled to another View type, and then back into it my Custom View ... ie. both in the same tab
  • the issue persisted; ie json file out of step with what MM was displaying for that view
I don't know if this helps. It does seem that there is an avenue for the json file to get out of step.

Re: Problem with managing custom views

by sonos » Tue Apr 02, 2024 2:12 am

Thanks for the replies!

@Barry4679: The changes that have been made in MyList are implemented immediately. e.g. Genre is immediately removed

The problem is still persistent.
Therefore I have created a new ticket: #6993:

Carsten

Re: Problem with managing custom views

by Barry4679 » Sun Mar 31, 2024 4:43 am

sonos wrote: Sat Mar 30, 2024 12:45 pm In the persistent.json file I see the entry MyList:
Don't know if this helps, but when did you look at the json file?
I think that MM5 persists any changes when you close MM5.
So if you are viewing the json file, while you are running MM5 and making changes Custom View changes, you may be looking at stale values.

Re: Problem with managing custom views

by Lowlander » Sat Mar 30, 2024 1:28 pm

Please provide more specifics like node (maybe screenshot of whole window) and are you sure the custom view is actually in use?

Re: Problem with managing custom views

by sonos » Sat Mar 30, 2024 12:45 pm

I'm using the latest 2004 build 3005

That's what I assumed.
In the persistent.json file I see the entry MyList:

Code: Select all

"custom_views": {
        "presets": [
            {
                "viewID": "tracklist",
                "views": [
                    {
                        "id": "f43c5853-8ecd-4527-b156-e59737cbda27",
                        "title": "MyList",
                        "viewMode": "tracklist",
                        "subViews": [
                            "statusBar"
                        ],
                        "grouping": "album;albumArtist",
                        "cols": [
..
                            {
                                "width": 7.6923076923076925,
                                "visible": false,
                                "columnType": "genre"
                            },

..
and the visible value is false but in in the main panel list the column Genre is still there. I have no idea what's wrong?

Re: Problem with managing custom views

by Lowlander » Sat Mar 30, 2024 11:30 am

I'm testing with the latest MediaMonkey beta and Genre disappears when switching to the custom View.

Problem with managing custom views

by sonos » Sat Mar 30, 2024 11:22 am

When I try to customize my list view, I run into a problem.

I am trying to create a new list. I select Manage Views from a given list view via <Add New> with the name MyList. From the displayed column elements I remove e.g. Genre and finish this selection with ok. Now I have found MyList in the list view, but the Genre column is still present in this MyList.

What am I doing wrong?

Carsten

Top