Coder Social home page Coder Social logo

Comments (15)

cassidyjames avatar cassidyjames commented on June 12, 2024

I can’t reproduce this here; can you specify what app you’re clicking a link in to trigger this behavior? In addition to just using Web day-to-day as my default browser, I've tested Slack (as a Flatpak), the System Settings → System plug links, and a Flatpaked GNOME app. All open Web for me correctly.

from browser.

AI-ien avatar AI-ien commented on June 12, 2024

I used apps like typora, visual studio code and bitwarden. First two apps opens links with Ctrl+click combination. Links from apps like terminal or links in about dialogs work fin, but those don't require to press control key to open links. So that might be direction were to look I guess, but I can not explain bitwarden behavior.

Also, I tried it on new account and the same thing happens.

from browser.

mcatanzaro avatar mcatanzaro commented on June 12, 2024

I notice the tab bar is gone too, so seems like all elementary customizations are lost. Guess: Electron filters environment variables and drops XDG_CURRENT_DESKTOP?

from browser.

AI-ien avatar AI-ien commented on June 12, 2024

I notice the tab bar is gone too, so seems like all elementary customizations are lost. Guess: Electron filters environment variables and drops XDG_CURRENT_DESKTOP?

I didn't notice that it is related to electron apps. I tried Whatsapp and google messages electron web wrapper and from there links also behave the same. All makes sense now.

from browser.

mcatanzaro avatar mcatanzaro commented on June 12, 2024

I used apps like typora, visual studio code and bitwarden.

So all of these apps are using Electron? I was just guessing: I have no clue how they're written, except Visual Studio Code.

Do normal apps work? Easy test would be the elementary mail app.

from browser.

AI-ien avatar AI-ien commented on June 12, 2024

Normal apps work just fine. Tried to open links from terminal, lutris menu links and basically any app that have about dialog with link to web page, all open Epiphany with elementary theme.

from browser.

mcatanzaro avatar mcatanzaro commented on June 12, 2024

I think my guess is probably right, then. If Electron is stripping the environment for some reason, then Epiphany has no way to know it's running under Pantheon and losing all the elementary customizations is expected. Do the close buttons in the browser tabs switch to the right as well?

from browser.

AI-ien avatar AI-ien commented on June 12, 2024

No. You can see in pic above that buttons don't move.

from browser.

mcatanzaro avatar mcatanzaro commented on June 12, 2024

I can't because the tab bar is hidden in the first pic, because you only have one tab open, because showing the tab bar when there is only one tab is an elementary customization. ;)

from browser.

AI-ien avatar AI-ien commented on June 12, 2024

It's not just about visible first tab. Buttons and layout also is different.

For one thing you were right, it is related to XDG_CURRENT_DESKTOP env variable. Setting an override solves this bug:

$ sudo flatpak override --env=XDG_CURRENT_DESKTOP=Pantheon org.gnome.Epiphany

Could possibly set it as global, but I'm not sure that would be the right approach.

from browser.

mcatanzaro avatar mcatanzaro commented on June 12, 2024

The right approach is to fix Electron.

from browser.

mcatanzaro avatar mcatanzaro commented on June 12, 2024

Disappearing environment variables is going to affect all sorts of stuff, way beyond just Epiphany. ;)

from browser.

cassidyjames avatar cassidyjames commented on June 12, 2024

Again, I tested with Slack (a Flatpaked Electron app) and I cannot reproduce this issue. I also use Flatpaked Bitwarden daily and cannot reproduce it there. I can give a try with some of the other apps but it seems like something else is going on here.

from browser.

AI-ien avatar AI-ien commented on June 12, 2024

Last thing I could imagine is switching default browsers in settings > default apps. Maybe it's triggered from there.
I have Microsoft Edge (deb) and Firefox (flatpak) installed additionally.

from browser.

danirabbit avatar danirabbit commented on June 12, 2024

Gonna close as "Out of scope" this since it sounds like it's an Electron issue

from browser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.