Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 388540 - Non editable stp files
Summary: Non editable stp files
Status: CLOSED FIXED
Alias: None
Product: Linux Tools
Classification: Tools
Component: Systemtap (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: 2.0   Edit
Assignee: Sami Wagiaalla CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 385231 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-31 10:20 EDT by Alexander Kurtakov CLA
Modified: 2013-05-08 14:50 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2012-08-31 10:20:12 EDT
If you open a random stp file it can't be edited(no keyboard input) but double clicking on probe alias works.
Comment 1 Sami Wagiaalla CLA 2012-08-31 10:22:16 EDT
Also, saving the file makes the * go away but the file is not modified on disk
Comment 2 Otavio Pontes CLA 2012-09-10 09:25:15 EDT
The stp editor is really weird. It seems that the behavior of opening a file using the menu is not the same of the behavior of opening a file using the toolbar icon.
Using the toolbar icon works for me and using the menu don't. I never tried to open a stp file from a project. Not sure if it will work. How did you open it?
Comment 3 Sami Wagiaalla CLA 2012-10-01 09:54:19 EDT
I am looking into this. Trying to figure out why different ways of opening the file produces differently constructed editors.
Comment 4 Otavio Pontes CLA 2012-10-01 14:40:01 EDT
Please, copy me in gerrit when you send a patch to fix this. I can help you reviewing it.
Comment 5 Sami Wagiaalla CLA 2012-10-02 09:37:44 EDT
It turns out that files opened through File->Open do not go through OpenFileAction and there for do not have PathEditorInput. This change: https://git.eclipse.org/r/#/c/8019/ should fix that and other similar issues.
Comment 6 Sami Wagiaalla CLA 2012-10-02 09:41:06 EDT
*** Bug 385231 has been marked as a duplicate of this bug. ***
Comment 7 Sami Wagiaalla CLA 2012-12-17 14:28:01 EST
Fixed.