[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2021-04-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=427744

prettyvani...@posteo.at changed:

   What|Removed |Added

 CC||prettyvani...@posteo.at

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2021-01-01 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=427744

--- Comment #11 from David Faure  ---
OK, for vlc vs mkvbuilder I guess none of them have an InitialPreference since
they are not KDE apps.
And I assume you didn't have either one in mimeapps.list?

I'll have to double-check if alphabetical sorting is really what's happening or
if it's more or less random. But I think the freedesktop.org idea for solving
this was simply that distros would prepare global kde-mimeapps.list files for
most common mimetypes.

I wonder if they do, though. I see a
/usr/share/applications/gnome-mimeapps.list on my system (OpenSUSE) but no
kde-mimeapps.list. Maybe they thought "no need, since KDE uses
InitialPreference"  but that's not true for non-KDE apps :)

Anyhow, in the absence of a *-mimeapps.list entry, I see your point about using
modification time of the desktop file rather than alphabetical sorting (if
indeed that's what the code does). But will this really match time of
installation, or time when the binary package itself was created? I just
noticed a /usr/share/applications/gens.desktop from 2008 on my current system,
which I only installed a few months ago... :) Maybe a special case because the
RPM was "converted from a deb file", but still, this is something to
double-check before we use mtimes.

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2021-01-01 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=427744

--- Comment #10 from David Faure  ---
Before we invent solutions, can we pinpoint the actual problem?

My question still stands:

does the GNOME Builder desktop file come with an InitialPreference field?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2020-11-19 Thread xtf
https://bugs.kde.org/show_bug.cgi?id=427744

--- Comment #9 from xtf  ---
Would ordered by date instead of alphanum solve the problem or appending
newcomers to the explicit list?

Other example: have not needed mkvbuilder before, .mkv files was assoc to vlc,
installed mkvbuilder, .mkv was bound to mkvbuilder. This has just one assoc, a
program with multiple capabilities would overthrow the last default program, if
it is higher in alphanum.

Don't be to attached to the provided examples. Every distro has this problem.
Or is this even a FreeDesktop.org problem?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2020-11-19 Thread Patrick Silva
https://bugs.kde.org/show_bug.cgi?id=427744

Patrick Silva  changed:

   What|Removed |Added

 CC||bugsefor...@gmx.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2020-10-22 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=427744

--- Comment #8 from Ahmad Samir  ---
(Thanks for the clarifications o/).

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2020-10-21 Thread David Faure
https://bugs.kde.org/show_bug.cgi?id=427744

--- Comment #7 from David Faure  ---
Ahmad: please point me to the KDE code that uses mimeinfo.cache :-)
(we don't use it, we have our own cache, ksycoca)

What matters instead is
1) mimeapps.list  (i.e. user configuration)
2) the InitialPreference in .desktop files  (KDE-specific mechanism to avoid
this exact problem, in theory)

Assuming you had never installed Builder before, it shouldn't be in your
mimeapps.list.
So the question is, does its desktop file come with an InitialPreference field,
and if so, is it greated than KWrite's which is set to 8?

-- 
You are receiving this mail because:
You are watching all bug changes.

[frameworks-kio] [Bug 427744] Default application used to open file can change when a new app is installed

2020-10-18 Thread Ahmad Samir
https://bugs.kde.org/show_bug.cgi?id=427744

Ahmad Samir  changed:

   What|Removed |Added

Summary|Aefault application used to |Default application used to
   |open file can change when a |open file can change when a
   |new app is installed|new app is installed

-- 
You are receiving this mail because:
You are watching all bug changes.