Closed
Bug 808691
Opened 13 years ago
Closed 13 years ago
The remote and chrome debugger windows should remember their size across sessions
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 19
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(2 files)
|
20.48 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
|
21.25 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
| Assignee | ||
Comment 1•13 years ago
|
||
Quick and easy.
Notes:
* In order to save the window dimensions, the chrome debugger profile no longer gets deleted after the process is killed. Moreover, a new profile isn't created again the next time we start a new process.
* I made the pref handling inside the controller more awesome.
* The remote and chrome window dimensions are considered the same thing.
Attachment #678670 -
Flags: review?(past)
Comment 2•13 years ago
|
||
Comment on attachment 678670 [details] [diff] [review]
v1
Review of attachment 678670 [details] [diff] [review]:
-----------------------------------------------------------------
Window size persistence is fine, but with this patch I can no longer start Browser Debugger if I remove the existing chrome-debugger profiles beforehand.
Attachment #678670 -
Flags: review?(past) → review-
| Assignee | ||
Comment 3•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #2)
> Comment on attachment 678670 [details] [diff] [review]
> v1
>
> Review of attachment 678670 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Window size persistence is fine, but with this patch I can no longer start
> Browser Debugger if I remove the existing chrome-debugger profiles
> beforehand.
I guess by "remove" you mean simply deleting the folder, not removing the profile via the ProfileManager, right? In that case, a workaround may not be trivial to find, since the profile still appears as existing, even though the files are deleted. Maybe I can check OS.Constants.Path.profileDir or something.
Comment 4•13 years ago
|
||
Comment on attachment 678670 [details] [diff] [review]
v1
Review of attachment 678670 [details] [diff] [review]:
-----------------------------------------------------------------
(In reply to Victor Porof [:vp] from comment #3)
> (In reply to Panos Astithas [:past] from comment #2)
> > Window size persistence is fine, but with this patch I can no longer start
> > Browser Debugger if I remove the existing chrome-debugger profiles
> > beforehand.
>
> I guess by "remove" you mean simply deleting the folder, not removing the
> profile via the ProfileManager, right? In that case, a workaround may not be
> trivial to find, since the profile still appears as existing, even though
> the files are deleted. Maybe I can check OS.Constants.Path.profileDir or
> something.
Ah, good point! I guess we can expect users to use the password manager for this.
Attachment #678670 -
Flags: review- → review+
| Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #4)
> Comment on attachment 678670 [details] [diff] [review]
> v1
>
> Review of attachment 678670 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> (In reply to Victor Porof [:vp] from comment #3)
> > (In reply to Panos Astithas [:past] from comment #2)
> > > Window size persistence is fine, but with this patch I can no longer start
> > > Browser Debugger if I remove the existing chrome-debugger profiles
> > > beforehand.
> >
> > I guess by "remove" you mean simply deleting the folder, not removing the
> > profile via the ProfileManager, right? In that case, a workaround may not be
> > trivial to find, since the profile still appears as existing, even though
> > the files are deleted. Maybe I can check OS.Constants.Path.profileDir or
> > something.
>
> Ah, good point! I guess we can expect users to use the password manager for
> this.
Well, the behavior you're describing is still suboptimal. I never use the profile manager to delete stuff. I suppose other power users don't either. I'll try to find a solution before landing this.
Comment 6•13 years ago
|
||
I'll just note that after properly deleting the profiles from the profile manager, I no longer get the error on profile creation that I used to get the first time I launch the chrome debugger.
| Assignee | ||
Comment 7•13 years ago
|
||
This wasn't entirely hard..
Managing chrome debugger profiles is now entirely failproof afaict. Panos, you be the judge!
Attachment #678770 -
Flags: review?(past)
Comment 8•13 years ago
|
||
Comment on attachment 678770 [details] [diff] [review]
v2
Review of attachment 678770 [details] [diff] [review]:
-----------------------------------------------------------------
OK, looks good.
Attachment #678770 -
Flags: review?(past) → review+
| Assignee | ||
Comment 9•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 19
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•