• 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. Vivaldi for Windows
    4. HTML5/eHTML5 windows opened in new tab have small dimensions

    HTML5/eHTML5 windows opened in new tab have small dimensions

    Vivaldi for Windows
    3
    28
    1.4k
    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.
    • enc0re
      E
      enc0re
      last edited by

      Hi,

      I've filled bug (VB-83452) HTML5/eHTML5 windows opened in new tab have small dimensions.

      Actually I see that wrote it incorrectly, new tab -> new window.

      I'm managing hundreds of DELL servers, where iDRAC can open HTML5 Virtual Console in new window. The opened window is always in small dimensions. Chromium Edge opens window in proper dimensions. Unfortunately I do not have any public website which can open some window in new tab. If somebody knows such website, so Vivaldi devs could open it on their own, it will be good. I believe its a matter only of few lines to handle this issue.
      vivaldi_edge_virtual_console.jpg

      AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

      DoctorG
      D
      Pathduck
      P
      2 Replies Last reply
      Reply Quote 1
      • DoctorG
        D
        DoctorG Soprano @enc0re
        last edited by

        @enc0re You had already tested with a fresh test profile without changing any settings and not adding extensions?

        _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
        Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


        Linux Debian 12 KDE X11 / Windows 11 Pro
        Intel i5-7400 / NVidia GT 710

        enc0re
        E
        1 Reply Last reply
        Reply Quote 0
        • Pathduck
          P
          Pathduck Moderator Soprano Supporters @enc0re
          last edited by

          @enc0re Yes, Vivaldi has problems with the size of popups opened with javascript.

          Example:
          https://stian.w3spaces.com/Vivaldi-window-open-test.html

          <!DOCTYPE html>
          <html>
          <body>
          
          <p>Click the button to open a new browser window.</p>
          
          <button onclick="myFunction()">Try it</button>
          
          <script>
          function myFunction() {
              window.open("https://www.w3schools.com", "Test", width=800,height=600);
          }
          </script>
          
          </body>
          </html>
          

          However, just adding the third argument as a string (as it should be) it seems to work:
          https://stian.w3spaces.com/Vivaldi-window-open-test2.html

          Trying the same in Chrome or Chromium it behaves differently.

          🎻Volunteer helper · Forum moderator · Sopranos tester 🛠️Troubleshooting 🐛Report a bug 📜Markdown help
          🦆"With a rubber duck, one's never alone" -Douglas Adams🦆

          DoctorG
          D
          1 Reply Last reply
          Reply Quote 0
          • DoctorG
            D
            DoctorG Soprano @Pathduck
            last edited by DoctorG

            @pathduck As stated in https://developer.mozilla.org/en-US/docs/Web/API/Window/open#window_features the optional parameter has to be a string with comma-separated names=values, not a parameter list.

            @enc0re Perhaps the iDRAC page does use bad Javascript code for window.open and violates JS web standards.

            _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
            Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


            Linux Debian 12 KDE X11 / Windows 11 Pro
            Intel i5-7400 / NVidia GT 710

            enc0re
            E
            Pathduck
            P
            2 Replies Last reply
            Reply Quote 0
            • enc0re
              E
              enc0re @DoctorG
              last edited by

              @doctorg Yup, no difference.

              Another observation is that new window opened by javascript is opened always on primary monitor, despite the main window is on secondary monitor.

              In Chredge, if main window is on secondary window, then the popup window is opened also on secondary window.

              AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

              1 Reply Last reply Reply Quote 0
              • enc0re
                E
                enc0re @DoctorG
                last edited by

                @doctorg Tested right now with Firefox, opened with correct window size and on same display as is main window from it was executed.

                AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                1 Reply Last reply Reply Quote 0
                • Pathduck
                  P
                  Pathduck Moderator Soprano Supporters @DoctorG
                  last edited by

                  @doctorg said in HTML5/eHTML5 windows opened in new tab have small dimensions:

                  As stated in https://developer.mozilla.org/en-US/docs/Web/API/Window/open#window_features the optional parameter has to be a string with comma-separated names=values, not a parameter list.

                  True, but if it works as users expect in the other browsers and specifically Chromium then I think Vivaldi is doing something wrong. After all, I can't imagine Vivaldi does changes to the V8 engine from Chromium?

                  Actually Firefox seems to take a pragmatic approach, it opens a maximized window instead of a tiny one like Vivaldi does.

                  🎻Volunteer helper · Forum moderator · Sopranos tester 🛠️Troubleshooting 🐛Report a bug 📜Markdown help
                  🦆"With a rubber duck, one's never alone" -Douglas Adams🦆

                  DoctorG
                  D
                  1 Reply Last reply
                  Reply Quote 0
                  • DoctorG
                    D
                    DoctorG Soprano @Pathduck
                    last edited by

                    @pathduck I do not know, but you can not blame Vivaldi for using with the correct syntax and other bad web developers creating shitty code which works because many browser guess what such web deveopers want to get.

                    But feel free to report the window open issue to bug Vivaldi tracker.

                    _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                    Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                    Linux Debian 12 KDE X11 / Windows 11 Pro
                    Intel i5-7400 / NVidia GT 710

                    enc0re
                    E
                    1 Reply Last reply
                    Reply Quote 1
                    • DoctorG
                      D
                      DoctorG Soprano
                      last edited by DoctorG

                      I ask internally about window.open and Vivaldi. Stay tuned… if i do not respond here in a few hours, please ping me.

                      _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                      Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                      Linux Debian 12 KDE X11 / Windows 11 Pro
                      Intel i5-7400 / NVidia GT 710

                      enc0re
                      E
                      1 Reply Last reply
                      Reply Quote 1
                      • enc0re
                        E
                        enc0re @DoctorG
                        last edited by

                        @doctorg You know now, that DELL iDRAC uses wrong syntax? 🙂

                        I made some tests with browsers on my company notebook.
                        Primary screen is notebook inbuilt 1920x1080, secondary is 2560x1080. Browsers are running on secondary screen.

                        Chrome

                        • opens window on secondary monitor, cascaded with primary window
                        • window size: depends on primary window size, but doesn't go below 987x865px

                        Edge

                        • opens window on secondary monitor, cascaded with primary window
                        • window size: depends on primary window size, but doesn't go below 1048x977px

                        Firefox

                        • opens window on secondary monitor, cascaded with primary window
                        • window size: it always opens with size of parent browser window

                        Vivaldi

                        • opens on primary monitor
                        • window size: 500x300px

                        AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                        DoctorG
                        D
                        enc0re
                        E
                        3 Replies Last reply
                        Reply Quote 1
                        • enc0re
                          E
                          enc0re @DoctorG
                          last edited by

                          @doctorg Cool.

                          AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                          1 Reply Last reply Reply Quote 0
                          • DoctorG
                            D
                            DoctorG Soprano @enc0re
                            last edited by

                            @enc0re Thanks for your test!

                            I suggested in internal chat to use better default sizes derived from parent window. But did not have got any reply from a dev.

                            _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                            Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                            Linux Debian 12 KDE X11 / Windows 11 Pro
                            Intel i5-7400 / NVidia GT 710

                            enc0re
                            E
                            1 Reply Last reply
                            Reply Quote 1
                            • enc0re
                              E
                              enc0re @DoctorG
                              last edited by

                              @doctorg Any reply?

                              AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                              DoctorG
                              D
                              1 Reply Last reply
                              Reply Quote 0
                              • DoctorG
                                D
                                DoctorG Soprano @enc0re
                                last edited by

                                @enc0re No reply yet.

                                _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                                Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                                Linux Debian 12 KDE X11 / Windows 11 Pro
                                Intel i5-7400 / NVidia GT 710

                                1 Reply Last reply Reply Quote 0
                                • enc0re
                                  E
                                  enc0re
                                  last edited by

                                  Any news about it? I think I will be regularly asking here every 2,3 weeks.

                                  AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                                  DoctorG
                                  D
                                  1 Reply Last reply
                                  Reply Quote 0
                                  • DoctorG
                                    D
                                    DoctorG Soprano @enc0re
                                    last edited by

                                    @enc0re No progress.

                                    _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                                    Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                                    Linux Debian 12 KDE X11 / Windows 11 Pro
                                    Intel i5-7400 / NVidia GT 710

                                    1 Reply Last reply Reply Quote 0
                                    • enc0re
                                      E
                                      enc0re
                                      last edited by

                                      Coming back after almost month. Could you ask internally again?

                                      AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                                      DoctorG
                                      D
                                      2 Replies Last reply
                                      Reply Quote 0
                                      • DoctorG
                                        D
                                        DoctorG Soprano @enc0re
                                        last edited by

                                        @enc0re I will try.

                                        _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                                        Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                                        Linux Debian 12 KDE X11 / Windows 11 Pro
                                        Intel i5-7400 / NVidia GT 710

                                        1 Reply Last reply Reply Quote 1
                                        • DoctorG
                                          D
                                          DoctorG Soprano @enc0re
                                          last edited by DoctorG

                                          @enc0re Had you already tested with 5.0.2497.20?
                                          Try test case at https://jsfiddle.net/ogt3mhan/
                                          Gives for me a a larger popup now in 5.0 RC2 Stable compared to very small one of 4.2.2406.54!

                                          //edit: I close the bug report now, if you think your issue is not solved, please contact me by chat or leave a comment here.

                                          _bug hunter · Volunteer helper · Sopranos tester · Language DE,EN · ♀👵
                                          Known old dragon lady: Gwen aka Dr. Gwen Agon aka GwenDragon aka DoctorGTesting


                                          Linux Debian 12 KDE X11 / Windows 11 Pro
                                          Intel i5-7400 / NVidia GT 710

                                          1 Reply Last reply Reply Quote 0
                                          • enc0re
                                            E
                                            enc0re
                                            last edited by

                                            I've tested .18, yes its better now.
                                            It looks like that popup dimensions is ~75% of desktop resolution width and ~73% of desktop resolution height. IMO 75% for width is too much and 73% too lesss. As I'm only complaing about it, for me ideal would be ~58-60% for width and ~80% for height.

                                            However it looks like that solution is not properly tested.

                                            Popup window position is taken from main window from where it was executed and only once, when it was started. It doesn't reflect to which monitor is main window moved.
                                            If I Start Vivaldi on main window, then move it to secondary window and open popup, in my case iDRAC Virtual Console window, it is shown on primary monitor where primary window was started. This is bad.

                                            To open popup window on secondary monitor, I need to open any file manager, for example, Windows Explorer, navigate on filesystem and run Vivaldi from there. This way the browser starts on secondary monitor (it is weird because window should remember its last position, but thats other thing here). And now the popup window will open on secondary monitor. Now, if I move main window to primary monitor and open popup window, it will open on secondary monitor and not on primary.

                                            This is useless, because usually Vivaldi is pinned on primary monitor, either taskbar or start or desktop.

                                            So, the bug is fixed, lets say from 1/2, but I would say from 1/3 because of that popup window dimensions.

                                            Definitely must be fixed the positioning. Other browsers do it correctly as I wrote in first post. After click on link/button which will open popup window, it must find out on which monitor the main browser window is present.

                                            AMD Ryzen 5950X - 64GB RAM - GTX1060 6GB - Win11/Fedora 41 KDE 6.3 - AW2725QF 4K 27"

                                            DoctorG
                                            D
                                            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
                                            • 1 / 2
                                            • 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