Closed
Bug 908003
Opened 12 years ago
Closed 12 years ago
[responsive mode] Better precision during resizing
Categories
(DevTools :: Responsive Design Mode, enhancement)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 26
People
(Reporter: andre42m, Assigned: paul)
Details
Attachments
(2 files)
|
2.53 KB,
patch
|
Details | Diff | Splinter Review | |
|
8.23 KB,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
I propose a better way to resize the screen using key modifiers.
The attached patch adds the following options while resizing:
Ctrl: Fine precision, every 4px moved resizes 1px;
Shift: Rounded precision, the resize is rounded by 10px;
I did not use Alt because Xfwm uses it plus mouse drag to move a window.
I think this patch is useful because it's complicated to get to the desired screen size without using the 'resize to <width> <height>' command.
| Assignee | ||
Comment 1•12 years ago
|
||
This is a genius idea! I'll look at this patch today.
| Assignee | ||
Comment 2•12 years ago
|
||
Apparently, the dimensions in the menuitem are not correctly updated (still follow the mouse delta, not the page delta).
| Assignee | ||
Comment 3•12 years ago
|
||
Andre, I hope you won't mind. I re-wrote your patch with, I think, a little more straight forward approach. I also added some tooltips to make this feature discoverable and added some tests.
Tell me what you think.
(I love this!)
Attachment #797754 -
Flags: feedback?(andreldm1989)
| Reporter | ||
Comment 4•12 years ago
|
||
Comment on attachment 797754 [details] [diff] [review]
patch.diff
Review of attachment 797754 [details] [diff] [review]:
-----------------------------------------------------------------
Of course I don't mind, your implementation is way better :)
I've just tested on Windows and it works nicely.
Thanks!
| Assignee | ||
Updated•12 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
| Assignee | ||
Updated•12 years ago
|
Attachment #797754 -
Flags: feedback?(andreldm1989) → review?(mratcliffe)
Comment 5•12 years ago
|
||
Comment on attachment 797754 [details] [diff] [review]
patch.diff
Review of attachment 797754 [details] [diff] [review]:
-----------------------------------------------------------------
Looks beautiful!
Attachment #797754 -
Flags: review?(mratcliffe) → review+
| Assignee | ||
Comment 6•12 years ago
|
||
Thank you André!
https://hg.mozilla.org/integration/fx-team/rev/9cc1839ef1f2
Comment 7•12 years ago
|
||
Assignee: nobody → paul
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Comment 8•12 years ago
|
||
Tooltip doesn't show for the vertical resizer. Is this purposeful?
| Reporter | ||
Comment 9•12 years ago
|
||
Indeed it's a flaw.
Fixing it on bug 912743.
Thank you!
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•