Opened 14 years ago
Last modified 4 years ago
#6180 assigned bug
"open" fails on URLs if no web browser is present (it could try wget)
Reported by: | luroh | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Application Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Tested in VMware with nightly 37150 and home-brewed 37154. Both of them pure gcc2.
With a never-booted fresh build, clicking a URL in AboutSystem opens a Terminal window and downloads the URL using wget.
After the download has finished, the text 'Press any key' is displayed, but only the <Enter> key actually closes the window.
After a reboot, doing the same thing (i.e. clicking a URL in AboutSystem) does seemingly nothing except generate a short burst of CPU activity.
Change History (10)
comment:1 by , 14 years ago
Component: | Applications/AboutSystem → Kits/Application Kit |
---|---|
Owner: | changed from | to
comment:3 by , 11 years ago
Still present in 46539, gcc2. However, clicking the URLs (or running open <URL>
) doesn't even work after first boot now.
comment:5 by , 10 years ago
Yes, still here in hrev48213, gcc2. Official gcc2h version displays the same problem if WebPositive has been uninstalled.
follow-up: 7 comment:6 by , 10 years ago
Is this only if Web+ is missing? If so, this is kind of expected, if you have no set preferred app for the http url filetype. What would you expect to happen? Does it work if you install NetSurf for example?
comment:7 by , 10 years ago
Is this only if Web+ is missing?
Currently, yes. It however used to work even in pure gcc2 by having wget download the URL.
What would you expect to happen?
I would expect wget to download the URL, like in the past.
Does it work if you install NetSurf for example?
No.
comment:8 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:9 by , 4 years ago
Summary: | strangeness clicking the URLs in AboutSystem → "open" fails on URLs if no web browser is present (it could try wget) |
---|
I think the best way to fix that is having wget register itself as a handler for http URLs? I don't see how this would work otherwise. If that's the case this should be moved to haikuports?
comment:10 by , 4 years ago
Milestone: | R1 → Unscheduled |
---|
Some more observations (thanks to AnEvilYak):
Running 'top -i 1' in a terminal window, 'open' seems to be responsible for the short CPU spike.
Running 'open' manually in a terminal window works only after first boot. After a reboot, 'open' fails with:
Nightly gcc2 hybrid 37150 behaves in the same way.
Installing WebPositive in nightly gcc2 hybrid 37150 works, but only at first boot. After first reboot it stops opening the URLs in WebPositive and ProcessController just shows the short CPU spike.
'checkfs /boot' looks OK.