Opening files by relative paths doesn't work at runtime

Bug #1337316 reported by Sergey "Shnatsel" Davidoff <unprivileged account>
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Scratch
Fix Released
High
Jesse Cheun

Bug Description

Opening files on command line by their relative path doesn't work if Scratch is already running. Absolute paths work as expected.

This should be an easy fix since Glib provides a convenience function for resolving relative paths in such cases: http://valadoc.org/#!api=gio-2.0/GLib.File.new_for_commandline_arg

ProblemType: Bug
DistroRelease: elementary OS 0.3
Package: scratch-text-editor 2.0~r1310+pkg54~ubuntu0.3.1 [origin: unknown]
ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CrashDB: scratch_text_editor
CurrentDesktop: Pantheon
Date: Thu Jul 3 17:05:54 2014
ExecutablePath: /usr/bin/scratch-text-editor
GsettingsChanges:

InstallationDate: Installed on 2014-03-23 (101 days ago)
InstallationMedia: elementary OS 0.3 "Isis" - Daily amd64 (20140320)
ProcEnviron:
 LANGUAGE=en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Sergey "Shnatsel" Davidoff <unprivileged account> (shnatsel-unprivileged) wrote :
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote :
summary: - Opening files with relative paths at runtime doesn't work
+ Opening files by relative paths at runtime doesn't work
summary: - Opening files by relative paths at runtime doesn't work
+ Opening files by relative paths doesn't work at runtime
Changed in scratch:
status: New → Confirmed
Cody Garver (codygarver)
Changed in scratch:
importance: Undecided → High
milestone: none → freya-beta2
Jesse Cheun (jcheun93)
Changed in scratch:
assignee: nobody → Jesse Cheun (jcheun93)
status: Confirmed → In Progress
Cody Garver (codygarver)
Changed in scratch:
status: In Progress → Fix Committed
Changed in scratch:
status: Fix Committed → Fix Released
Cody Garver (codygarver)
Changed in scratch:
milestone: freya-beta2 → 2.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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