Closed
Bug 189982
Opened 22 years ago
Closed 19 years ago
automatic image resizing: state of the image should be kept after resizing the browser window
Categories
(Core :: Layout: Images, Video, and HTML Frames, enhancement, P5)
Core
Layout: Images, Video, and HTML Frames
Tracking
()
VERIFIED
FIXED
mozilla1.8beta2
People
(Reporter: benjamin, Assigned: csthomas)
References
Details
Attachments
(1 file, 3 obsolete files)
4.58 KB,
patch
|
bzbarsky
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b) Gecko/20030121 the state of the image shouldn't change after resizing the browser window, ie if the image was restored to full size before resizing it shouldn't shrink back to the new size of the window but stay in full size. Reproducible: Always Steps to Reproduce:
Updated•22 years ago
|
Attachment #112187 -
Flags: superreview?(jaggernaut)
Attachment #112187 -
Flags: review?(varga)
Comment 3•22 years ago
|
||
I already wanted to do this, but instead of additional boolean variable I changed mImageIsResized to mImageState.
Updated•22 years ago
|
Attachment #112187 -
Flags: superreview?(jaggernaut)
Attachment #112187 -
Flags: review?(varga)
Updated•22 years ago
|
Attachment #112205 -
Flags: superreview?(bzbarsky)
Attachment #112205 -
Flags: review?(jaggernaut)
Updated•22 years ago
|
Attachment #112205 -
Flags: superreview?(bzbarsky) → superreview+
Comment 4•22 years ago
|
||
why not make mImageState an enum? gives more friendly names in debuggers...
Updated•22 years ago
|
No longer blocks: autoresize
Comment 6•22 years ago
|
||
Scratch that. The patch in this bug will be building off the one in bug 190545 when its checked in.
Depends on: 190545
Comment 7•22 years ago
|
||
Comment on attachment 112205 [details] [diff] [review] patch2 Actually, they will all be just included in the same patch.
Attachment #112205 -
Attachment is obsolete: true
Comment 8•22 years ago
|
||
Oops, sorry about the incorrect setting. Sorry about all the SPAM. The problem is that I can't change some bug settings at the same time as others.
Updated•22 years ago
|
Comment 9•22 years ago
|
||
Erh... Is that last patch truly obsolete?
Comment 10•22 years ago
|
||
Jan recommended that we just include this patch in the patch on bug 190545 (which is about to be revised) since bug 190545 has some changes to the underlying code this patch fixes.
Updated•21 years ago
|
Priority: -- → P3
Target Milestone: --- → mozilla1.4beta
Updated•21 years ago
|
Attachment #120998 -
Flags: superreview?(jaggernaut)
Attachment #120998 -
Flags: review?(cbiesinger)
Updated•21 years ago
|
Attachment #112205 -
Flags: review?(jaggernaut)
Comment 12•21 years ago
|
||
Comment on attachment 120998 [details] [diff] [review] new patch Hm... this does not do the right thing completely... If I enable automatic image resizing, and load say http://www.mozilla.org/ and make my browser window smaller than the image, larger than the image and then again smaller, the image is still shown in its original size and not resized. this works without the patch.
Attachment #120998 -
Flags: review?(cbiesinger) → review-
Comment 13•21 years ago
|
||
Comment on attachment 120998 [details] [diff] [review] new patch ok, this needs a completely different approach
Attachment #120998 -
Attachment is obsolete: true
Attachment #120998 -
Flags: superreview?(jaggernaut)
Comment 14•21 years ago
|
||
I'm still working on bug 190545, and this issue is still fixed in my latest code for that bug (the current patch as of writing this is obsolete).
Comment 15•21 years ago
|
||
*** Bug 203174 has been marked as a duplicate of this bug. ***
Comment 17•21 years ago
|
||
*** Bug 203146 has been marked as a duplicate of this bug. ***
Comment 18•20 years ago
|
||
*** Bug 210359 has been marked as a duplicate of this bug. ***
Assignee | ||
Updated•19 years ago
|
Assignee | ||
Comment 19•19 years ago
|
||
I don't understand comment 12, but I think I can do something reasonable.
Assignee: jan → cst
Status: ASSIGNED → NEW
Priority: P3 → P5
QA Contact: tpreston → stephend
Target Milestone: mozilla1.4beta → mozilla1.8beta2
Assignee | ||
Comment 20•19 years ago
|
||
With this patch, resizing the window does not toggle scaling (if it was scaled before, it continues to be scaled, and if it wasn't, it stays full size until you click).
Attachment #178979 -
Flags: superreview?(roc)
Attachment #178979 -
Flags: review?(caillon)
Assignee | ||
Updated•19 years ago
|
Whiteboard: r?
Attachment #178979 -
Flags: superreview?(roc) → superreview+
Assignee | ||
Updated•19 years ago
|
Attachment #178979 -
Flags: review?(caillon) → review?(bzbarsky)
Comment 21•19 years ago
|
||
Comment on attachment 178979 [details] [diff] [review] patch >Index: content/html/document/src/nsImageDocument.cpp > PRPackedBool mImageIsResized; >+ PRPackedBool mShouldResize; Please document how the latter differs from the former, ok? >+ PRBool wasResized = mImageIsResized; That var looks unused. Take that out? With that, r=bzbarsky
Attachment #178979 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 22•19 years ago
|
||
checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: r?
Reporter | ||
Comment 23•19 years ago
|
||
Verified that this Bug is fixed. Version: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050409 Firefox/1.0+
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 24•19 years ago
|
||
*** Bug 252437 has been marked as a duplicate of this bug. ***
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•