• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Window Management API not fully working on Opera GX

    Opera for Mac
    2
    10
    1412
    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.
    • andremartinsc
      andremartinsc last edited by

      Hello,

      I noticed that Opera GX already supports the window.getScreenDetails() API and correctly lists available displays and dimensions. However, when trying to open a new window on a specific screen using the left / top coordinates, the browser ignores those placement parameters.

      So while sizing (width/height) works, positioning across monitors does not. This makes the API incomplete, since the main purpose of multi-screen management is to let apps choose which screen a window should appear on.

      Could you clarify whether this is a known limitation in Opera GX’s implementation, or if there is a flag/permission needed to enable full screen placement (similar to Chrome’s window-management permission)?

      Thank you.

      Reply Quote 0
        burnout426 2 Replies Last reply
      • burnout426
        burnout426 Volunteer @andremartinsc last edited by

        @andremartinsc said in Window Management API not fully working on Opera GX:

        Chrome’s window-management permission

        Opera has that too at the URL opera://settings/content/windowManagement.

        Reply Quote 0
          1 Reply Last reply
        • burnout426
          burnout426 Volunteer @andremartinsc last edited by

          @andremartinsc said in Window Management API not fully working on Opera GX:

          However, when trying to open a new window on a specific screen using the left / top coordinates, the browser ignores those placement parameters.

          Do you have a test case?

          Reply Quote 0
            andremartinsc 1 Reply Last reply
          • andremartinsc
            andremartinsc @burnout426 last edited by

            @burnout426 The MDN demo (see below) is enough to reproduce the problem. If you try to open a popup on a secondary screen, Opera doesn’t respect the left/top coordinates — the window always ends up on the primary display. The dimensions (width/height) are applied correctly, so it looks like the API is partially implemented, but the multi-screen placement part just isn’t supported in Opera right now.

            https://michaelwasserman.github.io/window-placement-demo

            Reply Quote 1
              burnout426 1 Reply Last reply
            • burnout426
              burnout426 Volunteer @andremartinsc last edited by burnout426

              @andremartinsc Okay. I can confirm the issue in Opera GX 121.0.5600.81 64-bit based on Chromium 137 on Windows 11 23H2. But, it works fine in Opera One 122.0.5643.24 64-bit based on Chromium 138.

              Primary Screen: 1366 x 768
              Secondary Screen: 1920 x 1080
              Multi-monitor mode: Extend

              In Opera GX, on screen 0, I hover the "Popup" button and choose screen 1. The window opens on screen 0 instead. In Opera One, it opens on screen 1.

              In Opera GX, on screen 0, I set "left" to 1500, and click the "window" button and it opens on screen 0. In Opera One, it opens on screen 1 because 1500 is greater than the width of screen 0.

              Reply Quote 0
                andremartinsc 1 Reply Last reply
              • andremartinsc
                andremartinsc @burnout426 last edited by

                @burnout426 Thanks a lot for confirming and testing across both versions. Since it works fine in Opera One but not in GX, it does look like a GX-specific behavior (is this a bug or on purpose?).

                I filed a bug report with the Opera GX team, but is there something else you’d recommend me doing?

                Reply Quote 0
                  burnout426 1 Reply Last reply
                • burnout426
                  burnout426 Volunteer @andremartinsc last edited by

                  @andremartinsc I’m pretty sure it’s not intentional and I am going to guess it’ll be fixed automatically when GX moves to 138. So, we probably just have to wait. However, what’s the number for the bug you filed?

                  Reply Quote 0
                    andremartinsc 1 Reply Last reply
                  • andremartinsc
                    andremartinsc @burnout426 last edited by

                    @burnout426 I am not sure where I can find that information. I just filled the form.

                    Reply Quote 0
                      burnout426 1 Reply Last reply
                    • burnout426
                      burnout426 Volunteer @andremartinsc last edited by

                      @andremartinsc It usually shows the number after you file and I think you get an email too. Things could have changed though. No worries.

                      Reply Quote 0
                        andremartinsc 1 Reply Last reply
                      • andremartinsc
                        andremartinsc @burnout426 last edited by

                        @burnout426 Found a JIRA link on the email I got.
                        https://opera.atlassian.net/servicedesk/customer/portal/118/GX-11124?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0Z3QiOiJhbm9ueW1vdXMtbGluayIsInFzaCI6ImRlNDlhNjkwMTEwY2E2MWFmZTFlZGNiMDM0NDJlYTVkODc0MWVhYWY2ZjU4M2E0ODcxOGFiYTBlYzRlMmI5YjgiLCJpc3MiOiJzZXJ2aWNlZGVzay1qd3QtdG9rZW4taXNzdWVyIiwiY29udGV4dCI6eyJ1c2VyIjoiMzM0Mjg3IiwiaXNzdWUiOiJHWC0xMTEyNCJ9LCJleHAiOjE3NjA0ODY5NTEsImlhdCI6MTc1ODA2Nzc1MX0.JI9wD0rT9kRILrU6E2fjz3tWebLMptWm0tTgxGe4gG4

                        Are you 100% this is something they would fix on the next version? Is filing the bug enough or should I do anything else other than waiting?

                        Reply Quote 0
                          1 Reply Last reply
                        • First post
                          Last post

                        Computer browsers

                        • Opera for Windows
                        • Opera for Mac
                        • Opera for Linux
                        • Opera beta version
                        • Opera USB

                        Mobile browsers

                        • Opera for Android
                        • Opera Mini
                        • Opera Touch
                        • Opera for basic phones

                        • Add-ons
                        • Opera account
                        • Wallpapers
                        • Opera Ads

                        • Help & support
                        • Opera blogs
                        • Opera forums
                        • Dev.Opera

                        • Security
                        • Privacy
                        • Cookies Policy
                        • EULA
                        • Terms of Service

                        • About Opera
                        • Press info
                        • Jobs
                        • Investors
                        • Become a partner
                        • Contact us

                        Follow Opera

                        • Opera - Facebook
                        • Opera - Twitter
                        • Opera - YouTube
                        • Opera - LinkedIn
                        • Opera - Instagram

                        © Opera Software 1995-