[Bug 12493] New: Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 12493] New: Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=12493

            Bug ID: 12493
           Summary: Usage "Open with …"  menu item in thunar unexpectedly
                    changes default application for opened file's MIME
    Classification: Xfce
           Product: Thunar
           Version: 1.6.10
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: general
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email], [hidden email]
  Target Milestone: 1.8.0

For example, I prefer to open RTF-files with GNOME Office's text processor
AbiWord.
But for compatibility purposes I have to keep installed Libre Office.
After I've needed to open the exact rtf file with LibreOffice I was unpleased
finding mime association for RTF changed to LibreOffice.

I think it will be better, if open with menu itel willn't change default
application for mime (possibly making app icon in properties window read-only
indicator).
Making global mime-settings in proper DE preferencies subsection.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|

[Bug 12493] Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=12493

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email].
                   |                            |uk

--- Comment #1 from [hidden email] ---
I noticed the same problem with .jpg files. My default app is Ristretto Image
Viewer. If I use 'open with' to open a .jpg in XnConvert, the default seems to
change (ie. doubleclicking now opens in XnConvert...until I use 'open with'
Ristretto, then Ristretto becomes default). So - same behaviour as already
reported.

However, last night I noticed the behaviour *isn't* happening with some file
types. I can open a .js or a .php file in Atom via the 'open with' flyout, then
afterwards if I doubleclick a .js or .php file it still opens in Pluma (the
default, so in this case default didn't get changed by using 'open with').

ToZ on this thread https://forum.xfce.org/viewtopic.php?pid=42309#p42309
mentions:
"g-app-info-set-as-last-used-for-type which:

    Sets the application as the last used application for a given type. This
will make the application appear as first in the list returned by
g_app_info_get_recommended_for_type(), regardless of the default application
for that content type."

As a blind hypothesis, I wonder if there's a last-used-for-type and a
proper-default-for-type and if proper-default isn't set it falls back to
last-used-for-type?

If so then maybe the behaviour is by-design but just not made very clear? I'm
completely guessing.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|

[Bug 12493] Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=12493

--- Comment #2 from [hidden email] ---
(In reply to xfcebugzilla from comment #1)

> I noticed the same problem with .jpg files. My default app is Ristretto
> Image Viewer. If I use 'open with' to open a .jpg in XnConvert, the default
> seems to change (ie. doubleclicking now opens in XnConvert...until I use
> 'open with' Ristretto, then Ristretto becomes default). So - same behaviour
> as already reported.
>
> However, last night I noticed the behaviour *isn't* happening with some file
> types. I can open a .js or a .php file in Atom via the 'open with' flyout,
> then afterwards if I doubleclick a .js or .php file it still opens in Pluma
> (the default, so in this case default didn't get changed by using 'open
> with').
>
> ToZ on this thread https://forum.xfce.org/viewtopic.php?pid=42309#p42309
> mentions:
> "g-app-info-set-as-last-used-for-type which:
>
>     Sets the application as the last used application for a given type. This
> will make the application appear as first in the list returned by
> g_app_info_get_recommended_for_type(), regardless of the default application
> for that content type."
>
> As a blind hypothesis, I wonder if there's a last-used-for-type and a
> proper-default-for-type and if proper-default isn't set it falls back to
> last-used-for-type?
>
> If so then maybe the behaviour is by-design but just not made very clear?
> I'm completely guessing.

EDITED TO ADD:

Ok I just went and specifically set .jpg to open in Ristretto in MIME Type
Editor. Now I can use 'open with' in XnConvert, close it, doubleclick a .jpg
and it opens in Ristretto.

So the 'fix' for this is to specifically set a default in MIME Type Editor.
Presumably this means this behaviour is by-design (but I'd also humbly offer
that it isn't very clear to the user). It also sounds like the fallback idea
mentioned above might be what's happening.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|

[Bug 12493] Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=12493

--- Comment #3 from Harald Judt <[hidden email]> ---
This is by design. Thunar will only set the "Open with..." application as
default when you activate the corresponding checkbox in the "Open with..."
dialog. If you don't do this and switch applications in the "Open with..."
dialog, then the normal open command will also follow the recently-used style.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|

[Bug 12493] Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=12493

Harald Judt <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #4 from Harald Judt <[hidden email]> ---
Design decision.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs
Reply | Threaded
Open this post in threaded view
|

[Bug 12493] Usage "Open with …" menu item in thunar unexpectedly changes default application for opened file's MIME

bugzilla-daemon
In reply to this post by bugzilla-daemon
https://bugzilla.xfce.org/show_bug.cgi?id=12493

Teresa e Junior <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #5 from Teresa e Junior <[hidden email]> ---
I honestly think this is bad design. This is not the behaviour of any other
file managers that I've ever used, and it took me months of frustration
thinking this was a bug! Only after I read the explanation I figured I have to
set the default MIME handler by hand for most file types!

It would be less confusing if the first application the user has chosen is set
as the default, and then he can change later if wanted!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[hidden email]
https://mail.xfce.org/mailman/listinfo/xfce-bugs