Closed Bug 98539 Opened 25 years ago Closed 24 years ago

cannot remove background color (to get default color)

Categories

(Core :: DOM: Editor, defect)

defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME
mozilla0.9.8

People

(Reporter: sujay, Assigned: hyatt)

References

Details

(Whiteboard: [QAHP] [ruletree] EDITORBASE)

trunk 0601 steps: launch a blan kcomposer window add a background color from tha pallete in toolbar now do 'Edit|Undo' Note tha tthe color stays ..however in the source mode, the 'bgcolor' attribute goes away. ------- Additional Comments From beppe@netscape.com 2001-06-04 15:40 ------- sounds like the window is not getting updated. Asking kevin if this may be something from his area. ------- Additional Comments From Charles Manske 2001-06-04 16:08 ------- In my debug build from today, I don't see the page or table background colors being set at all. I filed bug 84046 on this. *** This bug has been marked as a duplicate of 84046 *** ------- Additional Comments From sujay@netscape.com 2001-06-05 10:20 ------- verified. ------- Additional Comments From shrirang khanzode 2001-07-09 10:16 ------- thisis still there on win branch ...0709..also the bug 84056 has been marked fixed a while ago...still thid id not fixd... ------- Additional Comments From sujay@netscape.com 2001-07-09 10:28 ------- cc: brade now the problem is that after Undo, look at the HTML source, the code for the color is removed....this is a repaint issue. ------- Additional Comments From brade@netscape.com 2001-07-09 10:58 ------- this isn't specific to undo; this can be reproduced by setting a background color and then returning to the color picker and clicking the default button ------- Additional Comments From sujay@netscape.com 2001-07-09 15:48 ------- can we set a target milestone and add the necessary keywords ------- Additional Comments From sujay@netscape.com 2001-07-10 11:21 ------- cc: glazman, reassign to attinasi per discussion with beppe and cmanske ------- Additional Comments From Marc Attinasi 2001-07-11 10:50 ------- This worked OK on 5/31 and stopped working on 6/1 - that, coupled with the fact that we have other similar issues attributed to the recent style changes, compells me to reassign this to hyatt. I think, actually, that it is related to bug 87013 (at least in as much as the BodyFixupRule is involved). ------- Additional Comments From Daniel Glazman 2001-07-11 13:34 ------- Perhaps see also bug 88681 ------- Additional Comments From Charles Manske 2001-07-12 13:28 ------- Note that using the colorpicker and trying to manually remove the background color using "Default" button, or removing "bgcolor" in HTML Source editing also doesn't work. Isn't this issue important enough to look at ASAP? ------- Additional Comments From brade@netscape.com 2001-07-12 14:15 ------- I don't think this is a showstopper. The html source does show the color removal (back to default) so it's not a data corruption or loss of functionality. It's just a visual glitch which will get fixed if the user closes the window and reopens it. (Note: it can't be fixed by switching modes or changing window ordering) cc jatin so he can release note this ------- Additional Comments From Daniel Glazman 2001-07-24 02:10 ------- yet another bodyfixuprule bug on contextual change... see bug 88681. ------- Additional Comments From TucsonTester2 2001-08-23 11:54 ------- was able to reset the normal screen after clicking undo through a few steps, closing and reopening the window does not work, but if after click Edit|Undo and then selecting the the preview option and then back to normal does tend to reset the page back to the default color. Win98se Netscape rev: 20010821
Whiteboard: [QAHP] [ruletree]
Target Milestone: --- → mozilla0.9.6
*** Bug 83719 has been marked as a duplicate of this bug. ***
add blocker from duplicate bug
Blocks: 91672
Keywords: nsbeta1
Not only does the backgroung color stay the same after selecting undo, but the color palet on the top toolbar shows the background color does change back to default color. So when you do select Undo it does not change the background window even if you do refresh the page, but the palet display color shows it has gone back to default. Windows 2000 and NT Reproducible everytime.
Also redo is not an option after selecting undo. Even thought the undo option does not visually change the background color back to default color, I believe there still should be a redo option since it does change it in the html.
sorry one last thing build id Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20010924 Netscape6/6.2 :o)
This happens with BG Images as well - as described in bug id: 102234
With Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4+) Gecko/20010928, undo works fine with both background images and background colors. Redo works, too.
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.6 → mozilla1.0
*** Bug 102234 has been marked as a duplicate of this bug. ***
Blocks: 104166
*** Bug 104277 has been marked as a duplicate of this bug. ***
Whiteboard: [QAHP] [ruletree] → [QAHP] [ruletree] EDITORBASE
->098
Target Milestone: mozilla1.0 → mozilla0.9.8
Marking nsbeta1+ per syd. Need to fix for composer usability.
Keywords: nsbeta1+
Syd doesn't plus our bugs. changing to nomination, we'll consider.
Keywords: nsbeta1+ → nsbeta1
I can't reproduce this in a current trunk build. Even so, if the bug still exists, it would likely be fixed by the patch on bug 116161.
This is working for me on Win 2k using trunk build 2002010803. I am resolving this as WORKSFORME. If anyone is still seeing this problem, please reopen this bug.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
marking verified per dslmichael's last comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.