2012-08-17 22:17:07 |
Sergey "Shnatsel" Davidoff |
bug |
|
|
added bug |
2012-08-17 22:17:37 |
Sergey "Shnatsel" Davidoff |
description |
If Scratch is passed a file name on the command line for a file which does not exist, it treats it as read-only file, which is obviously wrong.
The Right Thing To Do is not obvious, though. Gedit creates the given files in such cases. For Scratch, which does everything to always show the current state of the file, I'd go with "No file = empty file". This means no infobars and creating the file on first edit.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: scratch-text-editor 1.1.1+r862-0+pkg29~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
CrashDB: scratch_text_editor
Date: Sat Aug 18 02:08:50 2012
ExecutablePath: /usr/bin/scratch-text-editor
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/usr/bin/fish
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install) |
If Scratch is passed a file name on the command line for a file which does not exist, it treats it as read-only file, which is obviously wrong.
The Right Thing To Do is not obvious, though. Gedit creates the given files in such cases. For Scratch, which does everything to always show the current state of the file, I'd go with "No file = empty file". This means no infobars and creating the file on first edit.
Disclaimer: this is the weirdest thing I did to Scratch so far.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: scratch-text-editor 1.1.1+r862-0+pkg29~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
CrashDB: scratch_text_editor
Date: Sat Aug 18 02:08:50 2012
ExecutablePath: /usr/bin/scratch-text-editor
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/usr/bin/fish
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2012-08-17 22:18:25 |
Sergey "Shnatsel" Davidoff |
description |
If Scratch is passed a file name on the command line for a file which does not exist, it treats it as read-only file, which is obviously wrong.
The Right Thing To Do is not obvious, though. Gedit creates the given files in such cases. For Scratch, which does everything to always show the current state of the file, I'd go with "No file = empty file". This means no infobars and creating the file on first edit.
Disclaimer: this is the weirdest thing I did to Scratch so far.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: scratch-text-editor 1.1.1+r862-0+pkg29~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
CrashDB: scratch_text_editor
Date: Sat Aug 18 02:08:50 2012
ExecutablePath: /usr/bin/scratch-text-editor
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/usr/bin/fish
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install) |
If Scratch is passed a file name on the command line for a file which does not exist, it treats it as read-only file, which is obviously wrong.
The Right Thing To Do is not obvious, though. Gedit creates the given files in such cases. For Scratch, which does everything to always show the current state of the file, I'd go with "No file = empty file". This means no infobars and creating the file on first edit. The use case for this would be continuously monitoring a file which is yet to be created (e.g. log file).
Disclaimer: this is the weirdest thing I did to Scratch so far.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: scratch-text-editor 1.1.1+r862-0+pkg29~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
CrashDB: scratch_text_editor
Date: Sat Aug 18 02:08:50 2012
ExecutablePath: /usr/bin/scratch-text-editor
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120303)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/usr/bin/fish
SourcePackage: scratch-text-editor
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2012-08-20 13:20:12 |
Mario Guerriero |
scratch: status |
New |
Confirmed |
|
2012-08-20 13:20:14 |
Mario Guerriero |
scratch: importance |
Undecided |
High |
|
2012-08-20 13:20:15 |
Mario Guerriero |
scratch: milestone |
|
1.2 |
|
2012-09-07 19:02:24 |
Darcy Luís Neves Brás da Silva |
scratch: assignee |
|
Darcy Luís Neves Brás da Silva (darcy-develin) |
|
2012-09-10 10:20:45 |
Launchpad Janitor |
branch linked |
|
lp:~darcy-develin/+junk/scratch-experimental |
|
2012-09-10 10:25:59 |
Darcy Luís Neves Brás da Silva |
scratch: status |
Confirmed |
In Progress |
|
2012-09-14 19:22:57 |
Launchpad Janitor |
branch linked |
|
lp:~darcy-develin/scratch/upstream-fix-1038291 |
|
2012-09-15 15:10:17 |
Mario Guerriero |
scratch: status |
In Progress |
Fix Committed |
|
2012-12-10 22:29:19 |
Sergey "Shnatsel" Davidoff |
scratch: status |
Fix Committed |
Fix Released |
|
2012-12-14 19:39:56 |
Mario Guerriero |
scratch: status |
Fix Released |
Fix Committed |
|
2013-04-16 01:51:31 |
Cody Garver |
scratch: status |
Fix Committed |
Fix Released |
|