Advanced Panels Mod (with Sessions Panel)
-
Can I get some help please? It was working fine the 1st time I set it up.
When I make a webpanel for vivaldi://sessions it goes to chrome://sessions
-
Is the sessions panel still working for everyone else after upgrading to v4.3? I can see the sessions in the panel fine and the Add Session and Delete buttons still work, but the buttons to open a session no longer work for me.
-
@valiowk It's not just you. I installed the update today, and have the same issue. Thankfully, you can still open the sessions through the normal session manager dialog, but I'd love to know what went wrong.
I assume this is the same issue plaguing VivaldiHooks?
@LonM - any insight? I don't know if you're still supporting the session panel. -
@ve4grm I doubt itโs the same issue. You can find out what goes wrong by inspecting the UI and checking the console output.
-
@LonM I just today understood and installed this modification and I like this sessions panel very much and this panel takes over the browser theme very well.
-
@stardepp I just installed the mod. I can not get
vivaldi://sessions to work probably wrong syntax what is the correct syntax to add a session panel? Is there a url for a session I have saved? TIA -
@jlitz88 Sorry, I'm not an expert, I just installed the .css and the .js files and then added
vivaldi://sessions
as a web panel. And the sessions panel works.
-
@stardepp ok tnx I will recheck my installation maybe made an error
-
Without an error log it's difficult to know what could be going wrong.
If there's no console error and things are still going wrong, it's probably an issue with the CSS being incorrectly installed.
-
@lonm Yes, perhaps I copied the advancedPanels.css and advancedPanels.js file and saved them as advancedPanels.css and advancedPanel.js in the style folder. Pointed the appearance at that folder. I have a my.css.css in there as well as the common.css I included in the html are
<link rel="stylesheet" href="style/advancedPanels.css">
<link rel="stylesheet" href="style/my.css">
<link rel="stylesheet" href="style/common.css" />
<link rel="stylesheet" href="chrome://vivaldi-data/css-mods/css" />and in <body> <script src="advancedPanels.js"></script>
when I add vivaldi://sessions a new icon V appears and and a message "this site can not be reached chrome://sessions/ might be temporarily offline." BTW can I clear the panel history ?
No doubt I messed up somewhere.
-
@jlitz88 No, you need to put the .css modification in a different folder than the .js modification.
-
@lonm I get the following errors:
Uncaught TypeError: Error in invocation of sessionsPrivate.open(integer windowId, string name, optional sessionsPrivate.SessionOpenOptions options, optional function callback): No matching signature. at sessions-panel.js:250 at Array.forEach (<anonymous>) at HTMLButtonElement.oneInNewWindowClick (sessions-panel.js:249)
Uncaught TypeError: Error in invocation of sessionsPrivate.open(integer windowId, string name, optional sessionsPrivate.SessionOpenOptions options, optional function callback): No matching signature. at sessions-panel.js:236 at Array.forEach (<anonymous>) at HTMLButtonElement.openInCurrentWindowClick (sessions-panel.js:235)
-
I'm currently using the version that was modified by boroda74, so my line numbers are different, but the error is the same.
-
@valiowk Yes same problem buttons not working.
I just installed Vivaldi yesterday so am new to it.
Opera interface of sessions/workplaces is much further advanced as is there Speed Dial customization, so will keep it as my primary browser and test out others.
Vivaldi is far superior on design interface customization and the Tiling feature is nice.
I see sessions is at the top of the Features requested list http://www.softerviews.org/vivaldi.html
my vivialdi https://i.imgur.com/TUto2QM.png
-
ok, there's obviously something odd going on. I'll have a look
-
tl;dr To open a session the mod now needs to tell vivaldi what window it is running in, which the mod was not doing, which broke everything.
Should be fixed now. You only need to update the javascript file
-
@lonm Thanks. The open in new window works, but the open in current window does not for me anyway. Same with opening session thru the file/open saved session. With the open in new window unchecked does not work. Maybe just me?
-
-
@jlitz88 Does it work for you in normal Vivaldi, without the panel? The sessions panel is only a different way to trigger existing functionality, nothing new is added. Iโd check first, maybe sessions in your main Vivaldi got an issue.
-
@luetage No open in current window does not work in file/open saved session Only works in new window. Someone said its a Vivaldi bug. Nice to have the sessions side panel working anyway. Thanks to LonM