php files now open by default in Chrome

Bug #1887425 reported by teo1978
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shared-mime-info (Ubuntu)
New
Undecided
Unassigned

Bug Description

Until at least 16.04, php files used to open by default in Gedit.

I'm talking about when you double click on them in Nautilus (or the first "open with <application>" options that shows up in the right-click menu)

After I upgraded to 20.04 (not sure in which version the change was), now they open by default in Google Chrome. (I guess they open in the default browser which in my case is Chrome).

This is a stupid default. Do I need to explain to you that php files are executed on the server? Opening them in a browser makes no sense in 99.999999% of cases. When one opens a php file locally, the most likely scenario is that you are opening it in order to edit it.

So if you had switched from gedit to some other text editor I could understand it, but opening it in the browser by default is an idiotic default for php files.

I upgraded because I was sick of running age-old versions of almost every program, most no longer supported and full of bugs that were fixed years ago upstream, but I'm astonished at the amount of regressions and, worse, idiotic design decisions that have either been taken either with the specific purpose of making things worse, or were taken by idiots that didn't put the slightest amount of thought in it.

Fucking unbelievable. Every major release of Ubuntu is a step backwards.
Mostly because of Gnome.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome (not installed)
ProcVersionSignature: Ubuntu 5.4.0-40.44-generic 5.4.44
Uname: Linux 5.4.0-40-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.20.11-0ubuntu27.3
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 13 21:10:37 2020
InstallationDate: Installed on 2013-10-11 (2467 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: meta-gnome3
UpgradeStatus: Upgraded to focal on 2020-07-12 (1 days ago)

Revision history for this message
teo1978 (teo8976) wrote :
Revision history for this message
Ioana Lasc (ilasc) wrote :

Hi teo1978

This is an official warning to stop using profanity and other derogatory words in your messages, comments and bug reporting style.

I will not summarize here for you our Code of Conduct (https://ubuntu.com/community/code-of-conduct), please read it and start refraining from commenting the way you have so far, there are good people here who will do their best to help you with any query you might have if you are able to address them in polite way.

affects: meta-gnome3 (Ubuntu) → shared-mime-info (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.