:tools: Scheduled maintenance

Heads up! Downtime for the Forums, related to the NodeBB upgrade, is planned for Thursday, December 14, starting from 10:00 UTC.
Please make sure to finish all your posts before this time. The downtime should only last for a few minutes.

Context menus look weird

  • Hello everyone!

    Does anyone know why context menus in Opera have a white border? If so, do you know how to get rid of it? This doesn't happn in other browsers like Chrome/Chromium.
    I'm running Opera browser under Fedora with Gnome Shell and Adwaita theme (the default one).

    Thank you!

  • It's at least better than a context menu with a white background, no border, and on a white application ;-) (It's like that for me in Libre Office 5.2)

  • How it looks: https://drive.google.com/file/d/0BxRo4gfoOL5jRlAwS1E1S3Nab1U/view?usp=sharing

    How it should look: https://drive.google.com/file/d/0BxRo4gfoOL5jYnpDNllIM1RHamM/view?usp=sharing

    Added attachment of how it looks and how it should look.

    P.S. The white surrounding is inside, doesn't make it more or less readeable on white backgrounds

  • No answers?

  • I don't think you can write "How it should look", and post a link to an image in Chrome. Chrome and Opera are different browsers, and how it is now in Opera, is Opera's implementation of the menus. Generally, Opera adapts it's interface more than chrome on different operating systems and on different desktop environments in Linux.

    Sometimes this can cause things to look strange with special DE's or themes etc, but personally I don't think your case looks like a bug, because I don't think it looks strange.

    Perhaps anyone else can comment on this, and if we're really lucky, an Opera employee?

  • I posted a chrome screesnshot as I could post a screesnshot of any other app because they all look the same. And by far it's not a Special DE & theme combination, it's Gnome She'll with default theme under Fedora, everything pretty common.
    I would like to know how does Opera get the context menus because it's not because of the gtk theme, as how it does with the headerbar.

  • Opera renders its own UI. though it does try to use the same colors as your desktop.

    The only difference I'm spotting is that in Opera the highlight leaves a pixel of the (white) background next to the gray border, while in Chrome the highlight actually touches the gray. Is that what you mean?

  • As I said it's not only Chrome, but any other app uses borderless highlight in context menus as it's the default look in Gnome, but Opera doesn't.

    I think it's a weird behaviour as it gets the theme from the system but adds that white border in its own, I don't get wha's the point in doing so.

  • This is from my computer:

    Chrome: http://i.imgur.com/Hc68RT2.png

    Opera: http://i.imgur.com/PsFqsih.png

    So, as sgunhouse said, Opera seems to add 1 pixel of the background as border.

    There are applications that doesn't use the system themes at all, and Opera seems to be some sort of combination. They render the menus themselves, but they are basing the design on the system themes. The border was probably a design decision.

    Take a look at these two Java applications, they add a border too:

    Minecraft: http://i.imgur.com/BB5HxeY.png

    NetBeans: http://i.imgur.com/ZzWCwkq.png

    You can see that they are similar to native GTK applications, but not exactly the same.

    (Actually I thought that Opera used GTK border menus, but I guess I was wrong :))

  • Yes I see, it's a pitty because native context menus is the only thing that is missing to Opera for being perfect u.u

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.