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)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 19

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(2 files)

No description provided.
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
Attached patch v1Splinter Review
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)
Blocks: 808786
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-
(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 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+
(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.
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.
Attached patch v2Splinter Review
This wasn't entirely hard.. Managing chrome debugger profiles is now entirely failproof afaict. Panos, you be the judge!
Attachment #678770 - Flags: review?(past)
Blocks: 809392
Comment on attachment 678770 [details] [diff] [review] v2 Review of attachment 678770 [details] [diff] [review]: ----------------------------------------------------------------- OK, looks good.
Attachment #678770 - Flags: review?(past) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 19
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: