scratch stuck with a vertical bar in the middle

Bug #1467564 reported by Reginald San
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Scratch
Confirmed
Medium
Unassigned

Bug Description

After opening Scratch, I chose "New File" and this happened. There seems to be a vertical bar "|" in the top-center of what's supposed to be a blank text file.

While this is happening, the window where text should go is unresponsive. The buttons of Scratch are still working, by the way.

I have attached something of how it looks like.

Revision history for this message
Reginald San (aboynamedred) wrote :
affects: elementaryos → scratch
Revision history for this message
Danielle Foré (danrabbit) wrote :

Okay I finally figured out how to reproduce this issue! The problem is that "~/.local/share/scratch-text-editor/unsaved" becomes owned by root. Likely this is because someone is running Scratch for the first time as root doing some kind of modification, then they come back trying to use it normally. To reproduce simply:

1. Make sure you don't have "~/.local/share/scratch-text-editor/unsaved" such as you wouldn't on a clean install
2. Run scratch as root. You don't need to have any unsaved files (in fact it's simpler if you don't)
3. Run scratch as a user.

Changed in scratch:
milestone: none → loki-beta1
status: New → Confirmed
Cody Garver (codygarver)
Changed in scratch:
importance: Undecided → Medium
Revision history for this message
Selwyn Orren (selwyn) wrote :

Thanks Daniel,

I noticed in my home folder tat scratch-text-editor as well as the unsaved folder inside it was all root. I changed teh ownership of scratch-text-editor to my user-name and it all works fine now.

Thanks for the help

Changed in scratch:
milestone: loki-beta1 → none
Revision history for this message
BALLOON (balloon) wrote :

I have encountered this bug in Loki beta 2.
(But it will appear loading image instead of the vertical bar)
This might still be affected.

Revision history for this message
weeix (weeaix) wrote :
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.