Bug 7301 - Empty .tlclient files aren't opened by tlclient on Linux
Summary: Empty .tlclient files aren't opened by tlclient on Linux
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Client platforms (show other bugs)
Version: trunk
Hardware: PC Linux
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords: upstream
Depends on:
Blocks:
 
Reported: 2019-01-03 17:21 CET by Samuel Mannehed
Modified: 2023-11-28 13:47 CET (History)
1 user (show)

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2019-01-03 17:21:16 CET
While testing bug 5090 I found that empty .tlclient files are not associated with the ThinLinc Client on Fedora 29 and SLES 15.

It works well on Ubuntu 14.04. Double-clicking from "Files" starts the client fine and connecting to a server will populate this .tlclient file with settings.

If I copy .thinlinc/tlclient.conf to a .tlclient file, it associates and works well even on Fedora 29 and SLES 15.
Comment 2 Samuel Mannehed cendio 2019-01-07 13:33:26 CET
(In reply to comment #1)
> https://bugzilla.gnome.org/show_bug.cgi?id=755795
> 
> Apparently fixed now.

Can't find any version number of the package that is supposed to fixed this. But is it likely that the fixed package hasn't made it into Fedora since 2015? I was able to reproduce the issue with Fedora 29 after all.
Comment 3 Samuel Mannehed cendio 2019-01-07 13:50:24 CET
If the relevant package is glib, it looks like it should have been fixed in 2.46 according to that gnome bug. However, I can still reproduce the issue on my Fedora 29 workstation that has glib2-2.58.1-1.fc29.x86_64.
Comment 4 Samuel Mannehed cendio 2019-01-09 10:09:53 CET
One example usecase which this bug affects is:

Create an empty .tlcient file to create a new "profile" and double-click it to start the ThinLinc client. Now every setting you make, and the server and username are saved to this new .tlclient file.
Comment 5 Samuel Mannehed cendio 2019-01-09 10:12:29 CET
This bug can be seen both in Nautilus and when using "xdg-mime query filetype <file>".

Seen the issue in Fedora 29 and SLES 15 using GNOME 3.
Comment 6 Pierre Ossman cendio 2019-01-09 12:52:30 CET
xdg-mime apparently tries to use gio to query the mime type, so that's why we're seeing the same issue with it as with nautilus.
Comment 7 Pierre Ossman cendio 2019-01-09 12:53:15 CET
Issue reported upstream:

https://gitlab.gnome.org/GNOME/glib/issues/1647

Let's see if they care. Not really a ThinLinc issue, but let's track it for a while in case our users stumble upon this.
Comment 8 Samuel Mannehed cendio 2021-04-28 17:27:04 CEST
Happens in Mate on RHEL 8 as well, I think it's safe to say this happens anywhere it's relevant now-a-days.

Note You need to log in before you can comment on or make changes to this bug.