After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751655 - Use standard::display-name for Google Drive items
Use standard::display-name for Google Drive items
Status: RESOLVED OBSOLETE
Product: gedit
Classification: Applications
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
: 756379 (view as bug list)
Depends on:
Blocks: 739008
 
 
Reported: 2015-06-29 14:48 UTC by Debarshi Ray
Modified: 2020-11-24 09:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Debarshi Ray 2015-06-29 14:48:38 UTC
I have been working on a GVfs backend for Google Drive (see bug 739008). Google Drive is a database-backed storage, which means that the fundamental identifier is a cookie/blob, not a path. We create POSIX-like paths out of these IDs to fit into the GIO/GVfs world view. eg., google-drive://debarshi.ray@gmail.com/_0B9J_DkaiBDRFSHJzeTdCX1hxd3c

This doesn't work well with the current strategy (in gedit_utils_basename_for_display) of using the URI to create the display title for non-local items. We need to use standard::display-name instead.
Comment 1 Paolo Borelli 2015-06-29 14:53:56 UTC
Well, that util has already some special case handling so we could add "google-drive://" as well, but the problem is that we assume to be able to call that function without blocking, but getting the display-name on a remote file is slow
Comment 2 Debarshi Ray 2015-06-29 15:54:08 UTC
(In reply to Paolo Borelli from comment #1)
> but the problem is that we assume to be able to
> call that function without blocking, but getting the display-name on a
> remote file is slow

Yeah, that is why I held back from writing a patch. We might need to move things around a bit ...
Comment 3 Sébastien Wilmet 2015-06-29 16:54:28 UTC
I don't like adding a special case for Google Drive, with GIO it's normally possible to use the same API regardless of the GVFS backend. The gedit utils function can be changed as an async/finish, regardless of whether it's a local or remote file.
Comment 4 Baptiste Mille-Mathias 2015-10-11 08:52:56 UTC
*** Bug 756379 has been marked as a duplicate of this bug. ***
Comment 5 Sébastien Wilmet 2020-11-24 09:59:27 UTC
Mass-closing of all gedit bugzilla tickets.

Special "code" to find again all those gedit bugzilla tickets that were open before the mass-closing:

2bfe1b0590a78457e1f1a6a90fb975f5878cb60064ccfe1d7db76ca0da52f0f3

By searching the above sha256sum in bugzilla, the gedit contributors can find again the tickets. We may be interested to do so when we work on a specific area of the code, to at least know the known problems and possible enhancements.

We do this mass-closing because bugzilla.gnome.org is being replaced by gitlab.gnome.org.