[Bug 1823917] Re: Can't set Chromium as the default browser when BROWSER variable is defined

2019-04-13 Thread Walter Lapchynski
I've also made the suggestion to LXQt to discontinue using `$BROWSER`
and instead using `xdg-settings` as I've shown how even though chromium
is unique in its robustness, there is still not a complete definition of
"default browser" (including dealing with file associations/mimetypes
and scheme handlers) by using `$BROWSER` alone, whereas `xdg-settings`
just resolves everything.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823917

Title:
  Can't set Chromium as the default browser when BROWSER variable is
  defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823917] Re: Can't set Chromium as the default browser when BROWSER variable is defined

2019-04-13 Thread Walter Lapchynski
** Description changed:

  STEPS TO REPRODUCE
   1. Install firefox
   2. Set `BROWSER=firefox`
   3. Open firefox and make sure it is the default browser
   4. Install chromium-browser
   5. Open chromium-browser and set it as the default browser
   6. Click on a link or use `xdg-open URL`
  
  EXPECTED RESULTS
  Link opens in chromium-browser
  
  ACTUAL RESULTS
  Link opens in firefox instead. Running chromium-browser from the terminal, 
when trying to change the default browser, the error "xdg-settings: $BROWSER is 
set and can't be changed with xdg-settings" appears. BROWSER, xdg-setting's 
default-web-browser, and xdg-mime's default for text/html remain unchanged. 
It's not possible to set the value of default-web-browser when the BROWSER 
variable is set. Yet, when making firefox default, the end result is that 
BROWSER is still set and default-web-browser and the default for text/html has 
changed.
  
  AFFECTED VERSIONS
  chromium-browser 73.0.3683.103-0ubuntu1
  
- UPSTREAM BUG REPORT
+ UPSTREAM BUG REPORTS
  https://bugs.chromium.org/p/chromium/issues/detail?id=952569
+ https://github.com/lxqt/lxqt/issues/1513#issuecomment-482779833

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823917

Title:
  Can't set Chromium as the default browser when BROWSER variable is
  defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823917] Re: Can't set Chromium as the default browser when BROWSER variable is defined

2019-04-12 Thread Walter Lapchynski
I will say, though, that there are many examples across various Linucies 
(that's the plural, right? ☺) suggesting to use the BROWSER variable to change 
the default browser. Case in point:
https://wiki.archlinux.org/index.php/Environment_Variables#Default_programs

And I might add another point: it's obvious that chromium-browser uses
`xdg-settings` but I'm not sure what firefox uses, but the end result is
that the `xdg-settings`, `xdg-mime` and `$BROWSER` values are all set
appropriately. I will note, too, that `xdg-settings` results in a
proportional change to `xdg-mime`.

I do think that setting BROWSER is problematic and it is contributing to
the problem, but the fact that chromium-browser seems to be unique among
other browsers in terms of lacking robustness to set itself as default
regardless of circumstances. Therefore, I think the fault lies with it.

** Changed in: chromium-browser (Ubuntu)
   Status: Confirmed => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823917

Title:
  Can't set Chromium as the default browser when BROWSER variable is
  defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823917] Re: Can't set Chromium as the default browser when BROWSER variable is defined

2019-04-12 Thread Walter Lapchynski
** Description changed:

  STEPS TO REPRODUCE
-  1. Install firefox
-  2. Set `BROWSER=firefox`
-  3. Open firefox and make sure it is the default browser
-  4. Install chromium-browser
-  5. Open chromium-browser and set it as the default browser
-  6. Click on a link or use `xdg-open URL`
+  1. Install firefox
+  2. Set `BROWSER=firefox`
+  3. Open firefox and make sure it is the default browser
+  4. Install chromium-browser
+  5. Open chromium-browser and set it as the default browser
+  6. Click on a link or use `xdg-open URL`
  
  EXPECTED RESULTS
  Link opens in chromium-browser
  
  ACTUAL RESULTS
  Link opens in firefox instead. Running chromium-browser from the terminal, 
when trying to change the default browser, the error "xdg-settings: $BROWSER is 
set and can't be changed with xdg-settings" appears. BROWSER, xdg-setting's 
default-web-browser, and xdg-mime's default for text/html remain unchanged. 
It's not possible to set the value of default-web-browser when the BROWSER 
variable is set. Yet, when making firefox default, the end result is that 
BROWSER is still set and default-web-browser and the default for text/html has 
changed.
  
+ AFFECTED VERSIONS
  chromium-browser 73.0.3683.103-0ubuntu1
+ 
+ UPSTREAM BUG REPORT
+ https://bugs.chromium.org/p/chromium/issues/detail?id=952569

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823917

Title:
  Can't set Chromium as the default browser when BROWSER variable is
  defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823917] Re: Can't set Chromium as the default browser when BROWSER variable is defined

2019-04-10 Thread Olivier Tilloy
Not sure about opera, but IIRC firefox doesn't use xdg-settings to set
itself as the default browser.

chromium-browser relies on xdg-settings, which errors out when $BROWSER
is set, and that's apparently intentional. So the bug here seems to be
that $BROWSER is set in the first place. What purpose does that variable
fulfill? As pointed out by Walter, it's not part of the UNIX standard.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823917

Title:
  Can't set Chromium as the default browser when BROWSER variable is
  defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1823917] Re: Can't set Chromium as the default browser when BROWSER variable is defined

2019-04-09 Thread Walter Lapchynski
** Description changed:

- Every time I launch the browser it suggests to be set as the default but if I 
click on that button nothing will change: I'll get the suggestion the next time 
I open Chromium, even if I reboot.
- Changing the default browser on configuration panel didn't solve the issue
+ STEPS TO REPRODUCE
+  1. Install firefox
+  2. Set `BROWSER=firefox`
+  3. Open firefox and make sure it is the default browser
+  4. Install chromium-browser
+  5. Open chromium-browser and set it as the default browser
+  6. Click on a link or use `xdg-open URL`
  
- Lubuntu 19.10 beta on Athlon 64x2 5200+
+ EXPECTED RESULTS
+ Link opens in chromium-browser
+ 
+ ACTUAL RESULTS
+ Link opens in firefox instead. Running chromium-browser from the terminal, 
when trying to change the default browser, the error "xdg-settings: $BROWSER is 
set and can't be changed with xdg-settings" appears. BROWSER, xdg-setting's 
default-web-browser, and xdg-mime's default for text/html remain unchanged. 
It's not possible to set the value of default-web-browser when the BROWSER 
variable is set. Yet, when making firefox default, the end result is that 
BROWSER is still set and default-web-browser and the default for text/html has 
changed.
+ 
+ chromium-browser 73.0.3683.103-0ubuntu1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823917

Title:
  Can't set Chromium as the default browser when BROWSER variable is
  defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1823917/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs