Closed
Bug 637238
Opened 15 years ago
Closed 10 years ago
Crash comment allows formatted text
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
RESOLVED
FIXED
mozilla47
| Tracking | Status | |
|---|---|---|
| firefox47 | --- | fixed |
People
(Reporter: GPHemsley, Assigned: tranj23, Mentored)
Details
(Whiteboard: [good first bug])
Attachments
(1 file)
|
21.26 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
I was under the impression that crash comments were just plain text. But I accidentally pasted formatted text into the box, and it changed in font weight and size, and did not revert when I typed further. The crash-stats server appears to have stripped the formatting, though.
To reproduce, just copy and paste some formatted text, e.g. from the browser. (In this instance, I was pasting some text from a Gmail e-mail header.)
Comment 1•15 years ago
|
||
The edit box is a subclass of NSTextView, and I just realized that in Interface Builder there's a checkbox on its attributes pane: "Allows: [x] Rich Text". This is probably as simple as just unchecking that box.
Updated•12 years ago
|
Whiteboard: [mentor=ted]
Updated•12 years ago
|
Whiteboard: [mentor=ted] → [mentor=ted][good first bug]
Updated•12 years ago
|
Mentor: ted
Whiteboard: [mentor=ted][good first bug] → [good first bug]
Comment 2•11 years ago
|
||
Hi, I would like to work on this bug.I am newbie and this is my first bug.Can you tell please me how should I proceed?
Thanks
Comment 3•11 years ago
|
||
Hi, Mukul -
First thing you'll need to do is to get your development environment set up so that you can build your own version of Firefox. These two pages:
https://developer.mozilla.org/en-US/docs/Introduction
https://developer.mozilla.org/en-US/docs/Simple_Firefox_build
... should help you get started.
After that, you'll need to figure out where to make the change and push up a patch. As soon as you have a first try at a patch attached to the bug, we'll assign the bug to you.
Comment 4•11 years ago
|
||
Thanks for the reply.
I have built firefox nightly succesfully but I don't know how to proceed after this.Do i have to change this toolkit/crashreporter/client/crashreporter_osx.h?
Comment 6•11 years ago
|
||
I believe what you actually want to do is open the MainMenu.nib file under toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj in Interface Builder, and edit it as I mentioned in comment 1.
The files are here:
http://dxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/client/macbuild/Contents/Resources/English.lproj
Flags: needinfo?(ted)
Comment 7•11 years ago
|
||
sorry for late reply..I can't solve this bug as I don't have mac OS..sorry
| Assignee | ||
Comment 8•10 years ago
|
||
Patch is generated by unchecking the Rich Text option in MainMenu.nib
Attachment #8708757 -
Flags: review?(ted)
| Assignee | ||
Comment 9•10 years ago
|
||
Doesn't look like anyone is working on this bug so I went ahead and uploaded a patch. Thanks
Comment 10•10 years ago
|
||
Comment on attachment 8708757 [details] [diff] [review]
rev1 - Removes formatting from crash comments
Review of attachment 8708757 [details] [diff] [review]:
-----------------------------------------------------------------
I am tentatively r+ing this, but this needs a run past the try server to make sure it builds and the resulting binary comes out OK! Do you have access to the Try server or do you need someone to push it for you?
Attachment #8708757 -
Flags: review?(ted) → review+
| Assignee | ||
Comment 11•10 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #10)
> Comment on attachment 8708757 [details] [diff] [review]
> rev1 - Removes formatting from crash comments
>
> Review of attachment 8708757 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I am tentatively r+ing this, but this needs a run past the try server to
> make sure it builds and the resulting binary comes out OK! Do you have
> access to the Try server or do you need someone to push it for you?
I will push it to the try server myself. Thanks
| Assignee | ||
Comment 12•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → tranj23
Comment 14•10 years ago
|
||
Sorry, that took me a long time to get to. Yes, that looks good, thanks!
Flags: needinfo?(ted)
Comment 15•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/27070ffbbac79e66353ec035cafe85bea1343200
Bug 637238 - Uncheck rich text option in MainMenu.nib. r=ted
Comment 16•10 years ago
|
||
Thanks for the patch!
Comment 17•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox47:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in
before you can comment on or make changes to this bug.
Description
•