• 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

    Bug in chrome.windows.create in Opera GX on Windows

    Opera GX
    bug
    1
    1
    566
    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.
    • asdfaoxvijzoxcv
      asdfaoxvijzoxcv last edited by

      I've identified an issue with chrome.windows.create in Opera GX when creating popup windows. This bug is affecting our Chrome extension's users who are on Opera GX. The same code works fine in Chrome, Edge and Brave.

      When setting type:'popup' to hide the address bar and bookmarks, an invisible element appears to overlay the top portion of the page where these UI elements would normally be located, preventing interaction with that area while remaining visually transparent.

      A sample API call to reproduce that is like so:

      chrome.windows.create({
        type : "popup",
        focused : true,
        url : 'chrome-extension://ID/html/page.html',
        width : 350,
        height : 350,
      });
      

      This call goes inside your extension service worker. Then, in the page.html file, put a checkbox at the first line:

      <input type=checkbox>
      

      You will notice that checkbox is not interactive (clicking it does not toggle it). I found that increasing its padding-top to 27px or more fixes the issue.

      The issue only happens on Windows (on macOS, the checkbox is interactive)

      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-