Advanced Panels Mod (with Sessions Panel)
-
@guigirl Because I get the same error in the custom panel window when I try to access the mod. Hence, I concluded that it was caused by the same issue.
-
@guigirl One thing that did go wrong for sure was that the
browser.html
file was somehow overridden. It didn't contain references to the mods. Since I didn't do it, I can only assume that an update of some sort did that.Also, after adding the mod style and js files back to
browser.html
, I am still getting the original error. -
You can't access
vivaldi://sessions
as a page because that page doesn't exist. The mod just used it as a dummy placeholder value.Going by your screenshot it looks like the mod just isn't loading for whatever reason. I don't have macos to test with, but that shouldn't pose any problems. If you can see any errors in the console, those would be helpful, if you can paste them here.
-
@yaha12 said in Advanced Panels Mod (with Sessions Panel):
the browser.html file was somehow overridden
Well yes, that happens by definition with every single update. Each User must always re-edit their files after each update, either manually or semi-automagically via script.
I am still getting the original error.
I've not seen the result yet of your file comparison with mine...
-
@guigirl The files were identical. The difference being that I use separate files, instead of putting all the mods in
custom.js
.Understood on
browser.html
. I didn't know that. -
@yaha12 Ok cool.
Hey, i have a long-shot for you.
On or soon before the date you mentioned, did you by any chance change the location of your file/s from before, & if so did the new path/s include any spaces?
-
@guigirl said in Advanced Panels Mod (with Sessions Panel):
On or soon before the date you mentioned, did you by any chance change the location of your file/s from before, & if so did the new path/s include any spaces?
No. I didn't mess with the files at all. Now that I think about it, this whole thing might have had something to do with Vivaldi 5.1 update. I believe I installed it at about that date, with the difference of about a week between the two machines. Prior to that, I was using Vivaldi 5.0
-
@lonm Just to be sure, how do I access the console? Is that the one in web developer tools?
-
@yaha12 It is the browser dev tools, not the normal website dev tools.
If you're unsure, you can get to it by visiting
vivaldi://inspect
, going to "apps" and clicking "inspect" under the first "vivaldi" item in the list. -
I had tried seperate file for different js mods, it didn't work then.
I don't know if using seperate files works or not. -
@lonm Thanks! I was able to look through the console and clear some (syntactical) errors with those files. Much appreciated! Looks like it is working again on Linux!
P.S. I see that you have a lot mods in that repository. Is there a place, where it is explained what each one does?
-
@yaha12 Good to know its fixed!
That's mostly my own personal repository that I made public as its easy to link straight to code there. The best mods each have their own post here on the forum which describes what they do.
Here's a list of all of them: https://forum.vivaldi.net/search?term=&in=titles&matchWords=all&by[]=LonM&categories[]=52&sortBy=votes&sortDirection=desc&showAs=topics
-
@lonm Thanks! I was able to fix the mods on macOS as well. This time I figured out how the code in your repo worked and ran it via script. It went smoothly! Thanks for that. Much appreciated.
Could you tell me how the autoSessionSave works in the context of user profiles? Will it save sessions for each profile? Will it override sessions from another profile? What if two profiles are open at the same time?
-
@yaha12 I have just tested it now and even normal saving of sessions doesn't handle multiple open profiles properly, so the mod will not work either. I've filed a bug for this - VB-86671 - and hopefully when that is fixed, the mod will work correctly without needing any fixes.
-
I see.
It appears to me that it currently bunches open profiles into one saved session and treats them like windows. It is somewhat safe to use it this way? Any timeframe on the bug?
-
@yaha12 I don't know the timeframe as I've just discovered this bug myself now.
It's "safe" in the sense that you won't lose any data. But it's not "safe" in the sense that whatever reason you were using multiple profile for (e.g. privacy) is now broken.
-
@lonm said in Advanced Panels Mod (with Sessions Panel):
It's "safe" in the sense that you won't lose any data. But it's not "safe" in the sense that whatever reason you were using multiple profile for (e.g. privacy) is now broken.
I see. I am using profiles to separate my work into different themes and projects, so privacy is not an issue in this case. Is there a way to stay updated on the bug? Is there a public group or a tracker?
-
@yaha12 If you want to keep up to date with the status of previously reported bugs, I'd suggest hitting up this thread: status of vb
But for now the bug hasn't been confirmed by another tester yet.
-
Don't know if this has been reported or not but I'm too lazy right now to sift through the pages,
Sessions do not show up on browser restart. I say not show up because while the panel is blank, creating a new session makes the previous one reappear.
-
@sjudenim Fwiw, no such problem here; tis still all behaving correctly.