Closed
Bug 908003
Opened 10 years ago
Closed 10 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•10 years ago
|
||
This is a genius idea! I'll look at this patch today.
Assignee | ||
Comment 2•10 years ago
|
||
Apparently, the dimensions in the menuitem are not correctly updated (still follow the mouse delta, not the page delta).
Assignee | ||
Comment 3•10 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•10 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•10 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Updated•10 years ago
|
Attachment #797754 -
Flags: feedback?(andreldm1989) → review?(mratcliffe)
Comment 5•10 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•10 years ago
|
||
Thank you André! https://hg.mozilla.org/integration/fx-team/rev/9cc1839ef1f2
Comment 7•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/9cc1839ef1f2
Assignee: nobody → paul
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 26
Comment 8•10 years ago
|
||
Tooltip doesn't show for the vertical resizer. Is this purposeful?
Reporter | ||
Comment 9•10 years ago
|
||
Indeed it's a flaw. Fixing it on bug 912743. Thank you!
Updated•5 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•