• Browser
  • Mail
  • News
  • Community
  • About
Register Login
HomeBlogsForumThemesContributeSocial

Vivaldi

  • Browser
  • Mail
  • News
  • Community
  • About

Navigation

    • Home
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    We will be doing maintenance work on Vivaldi Translate on the 11th of May starting at 03:00 (UTC) (see the time in your time zone).
    Some downtime and service disruptions may be experienced.
    Thanks in advance for your patience.

    1. Home
    2. Desktop
    3. Customizations & Extensions
    4. Modifications
    5. Advanced Panels Mod (with Sessions Panel)

    Advanced Panels Mod (with Sessions Panel)

    Modifications
    modding javascript css
    42
    191
    36.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • knoelli
      K
      knoelli
      last edited by

      @LonM Thanks a lot for your Mod which is a great addition to Vivaldi's panels.

      There is, however, one problem with a certain panel configuration:
      I've set panels in Vivaldi as floating and to automatically close when inactive (that's the most convenient setting for my workflow). With those settings in effect, I can open and use the sessions panel only once. The first click on the sessions button opens the page so I can use it, however any further click on the button opens the panel but immediately closes it again.

      Maybe you have an idea how this could be fixed?

      LonM
      L
      1 Reply Last reply
      Reply Quote 2
      • LonM
        L
        LonM Soprano Patron Moderator @knoelli
        last edited by

        @knoelli I can imagine why that bug is happening. It shouldn't be too difficult to fix when I get back from my new year break.

        πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

        knoelli
        K
        1 Reply Last reply
        Reply Quote 2
        • knoelli
          K
          knoelli @LonM
          last edited by

          @LonM That sounds great, probably (hopefully) really just a small problem. In any case no need to hurry, enjoy your new year break and have a wonderful time πŸ˜‰

          LonM
          L
          1 Reply Last reply
          Reply Quote 0
          • LonM
            L
            LonM Soprano Patron Moderator @knoelli
            last edited by

            @knoelli I've made a change which should fix this issue.

            πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

            knoelli
            K
            1 Reply Last reply
            Reply Quote 1
            • knoelli
              K
              knoelli @LonM
              last edited by

              @LonM Thanks a lot for having a look at this. πŸ‘

              Unfortunately the fix doesn't seem to change the behaviour in this regard. When clicking the sessions button the panel still slides in and immediately closes again (except for the first click on the button after a Vivaldi restart).

              LonM
              L
              1 Reply Last reply
              Reply Quote 1
              • LonM
                L
                LonM Soprano Patron Moderator @knoelli
                last edited by

                @knoelli Ah, it seems I misunderstood the issue you were having and fixed a different bug I was seeing.

                I understand now what the problem is, though this one will require a bit more investigation to find a solution.

                I need to figure out what Vivaldi does to detect when a web panel is no longer in focus.

                πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                knoelli
                K
                1 Reply Last reply
                Reply Quote 1
                • B
                  brasofilo
                  last edited by

                  @LonM For recently arrived Vivaldi noobs I'd suggest adding this important bit at the top:

                  The mod requires that you first add your own web panel manually, with a URL set to vivaldi://sessions

                  Thanks for sharing, great Mod πŸ™‚

                  1 Reply Last reply Reply Quote 2
                  • knoelli
                    K
                    knoelli @LonM
                    last edited by

                    @LonM After having read @brasofilo's comment, I tried adding another panel with vivaldi://sessions manually (which results in two sessions buttons). I thought that maybe a manually added button would behave different, but unfortunately that's not the case, the problem persists.

                    The only remarkable thing is that the correct first opening of the sessions panel after Vivaldi restart works separately for both buttons (so I can open the panel twice, once with each button).

                    I think that maybe after the initial opening of the panel, the DOM is changed and the panel does no longer have the required class for Vivaldi to recognise it as panel?!

                    LonM
                    L
                    2 Replies Last reply
                    Reply Quote 0
                    • LonM
                      L
                      LonM Soprano Patron Moderator @knoelli
                      last edited by

                      @knoelli the panel is still recognised and works, however for some reason Vivaldi doesn't think it is "open" or "focused". Therefore, cause the panel is set to auto close, it auto closes.

                      I can't yet figure out what is different about the very first time that it is opened. Clearly in that case, Vivaldi forces it to be focused, which works until the next time it is opened.

                      πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                      1 Reply Last reply Reply Quote 0
                      • LonM
                        L
                        LonM Soprano Patron Moderator @knoelli
                        last edited by LonM

                        @knoelli Perhaps you could help me test something.

                        If you open up the advancedPanels.css file, and delete from line 10 the following:

                        .panel[advancedpanel="true"] .webpanel-content,

                        Remembering to delete the trailing comma as well, and then restart vivaldi.

                        Does that fix the issue?

                        πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                        N
                        knoelli
                        K
                        2 Replies Last reply
                        Reply Quote 1
                        • N
                          Narsis @LonM
                          last edited by

                          @LonM I've been having the same issue as @knoelli so I just tested your fix and it seems to work fine now.

                          1 Reply Last reply Reply Quote 2
                          • knoelli
                            K
                            knoelli @LonM
                            last edited by knoelli

                            @LonM Like @Narsis wrote above, the change to the css file does indeed work and the (sessions-)panel remains open.

                            Edit: I just updated to the latest Vivaldi snapshot; in this version the modification from above still works but now the sessions panel does no longer close when focusing (clicking) outside of the panel, the only way to close it is now by pressing the button with the three horizontal lines. This is no big problem and I can perfectly live with it, just thought I add this here... Seems to be a general problem with panels in the latest snapshot as can be read on the team blog.

                            1 Reply Last reply Reply Quote 1
                            • LonM
                              L
                              LonM Soprano Patron Moderator
                              last edited by

                              I've updated the main post with the fix. Thanks all who helped test it πŸ’Œ

                              πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                              1 Reply Last reply Reply Quote 3
                              • nihal
                                N
                                nihal
                                last edited by

                                @LonM I just want to thank you for this awesome mod. It makes managing Session so easier!

                                1 Reply Last reply Reply Quote 2
                                • Folgore101
                                  F
                                  Folgore101 Patron Translator @LonM
                                  last edited by

                                  @LonM Congratulations, good work.
                                  It should become a part of Vivaldi's code.

                                  "Non è tanto chi sei quanto quello che fai che ti qualifica" - "Il coraggio non è la mancanza di paura ma bensì la consapevolezza che qualcosa sia più importante della paura stessa" - Vivaldi il browser che si adatta all'utente

                                  1 Reply Last reply Reply Quote 0
                                  • schreck
                                    S
                                    schreck
                                    last edited by

                                    hi, thanks for this. i just installed it and my panel looks like this:
                                    ![alt text](Capture-1.jpg image url)

                                    LonM
                                    L
                                    1 Reply Last reply
                                    Reply Quote 0
                                    • LonM
                                      L
                                      LonM Soprano Patron Moderator @schreck
                                      last edited by

                                      @schreck It looks like you might be missing part of the CSS. You could double-check that it got installed properly along the with javscript.

                                      πŸ’» Windows 10 64-bit Sopranos Builds β€’ en-GB β€’ πŸ—³ vote for features β€’ πŸ•΅οΈβ€β™€οΈ Code of Conduct β€’ 🐞 Report bugs

                                      1 Reply Last reply Reply Quote 0
                                      • schreck
                                        S
                                        schreck
                                        last edited by

                                        actually the css path was not saved, thanks, now it looks alright.

                                        is there a way to set a default behavior, when double clicking an entry, so eg the session always opens in a new window without having to click on the little icons every time?

                                        and how do i change the created date & time shown to dd.mm.yy & 24 hours style?

                                        iAN CooG
                                        I
                                        1 Reply Last reply
                                        Reply Quote 1
                                        • iAN CooG
                                          I
                                          iAN CooG @schreck
                                          last edited by

                                          @schreck said in Advanced Panels Mod (with Sessions Panel):

                                          how do i change the created date & time shown to dd.mm.yy & 24 hours style?

                                          vivaldi://settings/general/ set your language to English (UK)

                                          http://iancoog.altervista.org/
                                          --=[]=-----------------------------------------------------------------------=[]=--
                                          Windows10 64bits - 8core i9-9900K @ 3.60GHz - 16Gb RAM - nVidia GT1030

                                          1 Reply Last reply Reply Quote 2
                                          • schreck
                                            S
                                            schreck
                                            last edited by

                                            πŸ™‚

                                            btw, when choosing open in the same window and im in a private one,
                                            it doesnt open in the same..

                                            1 Reply Last reply Reply Quote 0
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • First post
                                              Last post

                                            Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.

                                            Copyright © Vivaldi Technologies™ β€” All rights reserved. Privacy Policy | Code of conduct | Terms of use | Vivaldi Status