Closed Bug 117505 Opened 23 years ago Closed 2 years ago

Save file dialog (download) has paint issue with pause/resume button [ftp downloads]

Categories

(Core :: XUL, defect, P4)

defect

Tracking

()

RESOLVED INCOMPLETE
mozilla1.0.1

People

(Reporter: devotip, Unassigned)

References

()

Details

(Keywords: polish, regression, Whiteboard: se-radar [adt3])

Attachments

(4 files, 1 obsolete file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.7+) Gecko/20011229
BuildID:    2001122908



Reproducible: Sometimes
Steps to Reproduce:
1.open url
2.doubleclick file to downdload eg:mozilla-win32-talkback.zip
3.download starts

Actual Results:  download works but a button has an odd frame around

Expected Results:  no odd frame

it happens always to the same button (see picture)
Attached image dialog screen shot
I also see this Win98SE moz trunk build 20011230, only around the pause button. 
It doesn't occur when there is no pause button.
To File handling.
Assignee: asa → law
Component: Browser-General → File Handling
QA Contact: doronr → sairuh
Do you have an ATI video card?  (or Matrox?)

Check out Bug #104992 and related.
It's a voodoo 3 2000
Voodoo 3 3000 for me, but with voodoo 5 driver
also see this on linux.

bill, ben, any ideas why this is happening?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
*** Bug 118982 has been marked as a duplicate of this bug. ***
I also see this with a Geforce 2 MX, so it`s not only ATI or Voodoo cards
*** Bug 119925 has been marked as a duplicate of this bug. ***
setting bug attributes to reflect minor cosmetic flaw
Severity: normal → minor
Priority: -- → P4
Target Milestone: --- → mozilla1.2
Summary: Save file dialog has paint issue → Save file dialog has paint issue w/pause/cancel button [ftp downloads]
Whiteboard: se-radar
Summary: Save file dialog has paint issue w/pause/cancel button [ftp downloads] → Save file dialog has paint issue with pause/resume button [ftp downloads]
I have a GF2 MX and I dont see a problem with w2k.

but, I do see this on SIS630 chipset with integrated video using win98. (non SE)
*** Bug 121337 has been marked as a duplicate of this bug. ***
*** Bug 125002 has been marked as a duplicate of this bug. ***
I see the same thing in my new progress window (see bug 27609).

It seems to occur when you have a <button> in a <deck>.

I'm going to reset the component.

There may be some clever xul that will avoid the problem, but I don't know what
it is.
Assignee: law → hyatt
Component: File Handling → XP Toolkit/Widgets: XUL
QA Contact: sairuh → jrgm
Target Milestone: mozilla1.2 → ---
Looked at this for a while with DOM Inspector, and something's just going 
wrong with the painting of -moz-border-*-colors when inside that deck.
I see the same problem with the "Pause" button in the saving file dialog (linux:
commercial netsape build: 2002-02-12-08-trunk)
*** Bug 125648 has been marked as a duplicate of this bug. ***
nsbeta1+ per Nav triage team
Keywords: nsbeta1nsbeta1+
Mass move of nsbeta1+ bugs that didn't have a valid MachV milestone to mozilla1.0.
Target Milestone: --- → mozilla1.0
on a current CVS, linux - there initially seems to be TWO buttons there?
One of top of the other: See screenshot. After the window has been covered up,
the area outside the "real button" turns into a multicolored, mostly black,
sqare.
I'm seeing some other odd behavior with this button. When you click down on
pause or resume, and then drag off, the button doesn't pop back out. You can't
cancel the action, like you can on the cancel button. Should I file a seperate
bug? I have a feeling the two problems are related.
For me (CVS build, Windows 2000) the are around the Pause button is all black. 
Like there is missing content.
*** Bug 129588 has been marked as a duplicate of this bug. ***
->hewitt
Assignee: hyatt → hewitt
Whiteboard: se-radar → se-radar [adt3]
This will be much easier to workaround than to fix.  The buttons don't have to
be in a deck, we could just use two different buttons and hide/show them when
necessary, or use the same button and change its label (and the action when
clickin it).
Attached patch patch/workaround (obsolete) — Splinter Review
-> me
Assignee: hewitt → blaker
Comment on attachment 74682 [details] [diff] [review]
patch/workaround

sr=hewitt
Attachment #74682 - Flags: superreview+
Attachment #74682 - Flags: review+
Comment on attachment 74682 [details] [diff] [review]
patch/workaround

a=dbaron for trunk checkin.  Please make sure there's still a bug open on the
underlying toolkit problem (whether it's this one or another one that you
file).
Attachment #74682 - Flags: approval+
Fixed. Filed bug 131653 for general problem.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
There's a bug somewhere which has a patch that's pretty much the reverse of this
one. The problem we tried to solve with the <deck> is that when you go from
"pause" to "resume" you end up pushing the last button slightly out of view (on
Mac, if I recall correctly). Maybe that's not the case anymore with the new
progress dialog, but can someone verify this?
I'm reopening this.

I think Jag is right about the "Resume" button being a tad wider and that 
causing some grief.

I think the <deck> was the means of solving that problem, and, the problem of 
hiding the button while still allocating space for it.  Note that the first 
child of the <deck> was a <spacer/> which was selected by default.  This meant 
that no button appeared unless we went through the ftp: case and selected 
either Pause or Resume.

Blake's patch makes the button visible for non-ftp: cases.  It should not be 
visible in such cases.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #74682 - Attachment is obsolete: true
so are we going to get this patch in and deal with the slightly oversized dialog
or are we going to try to fix all the deck problems?
See http://www.nizkor.org/features/fallacies/false-dilemma.html

We only need to fix (or find a workaround) for *one* <deck> bug.  Probably if we
replaced the original <spacer/> with some other empty space tag, the original
painting bug would be fixed.

But hiding it (in the case of non-ftp locations) is definitely an improvement
over the way it works currently.
A deck bug is usually hard to fix, especially now that evaughan is gone.  And 
no, there is more than one deck problem here. Note that, unlike with every other 
button, you can't cancel the click of the Pause/Resume button by mousing down 
and moving the cursor outside of the button, then releasing.  If this bug (a 
mere painting problem) is plussed, then I'm not sure I understand why that one 
(a functional bug) wouldn't be.
OK, then lets go with what we've got, with one minor improvement: change the
default button text to "Resume" (which may require a slight code tweak but
hopefully not).  That will ensure that the button is big enough, at least for en-US.

Would it be too tricky to add another entity for &longerOfPauseAndResume; and
instruct translators to set that to the longer of their "Pause" or "Resume"?
I notice earlier you said you were surprised that http pause/resume actually
seemed to be working.  bbaetz also told me he thinks it works for http...
*** Bug 135662 has been marked as a duplicate of this bug. ***
*** Bug 136707 has been marked as a duplicate of this bug. ***
Mass moving nsbeta1+/adt3 bugs assigned to Navigator team engineers out to
target milestone 1.0.1.  Please confine your attentions to driving down our list
of TM 1.0 bugs for beta.  Better to help, debug, or test one of them than fix
one of these.
Target Milestone: mozilla1.0 → mozilla1.0.1
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt.  If you have any
questions about this, please email adt@netscape.com.  You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1-
Changing nsbeta1+ [adt3] bugs to nsbeta1- on behalf of the adt.  If you have any
questions about this, please email adt@netscape.com.  You can search for
"changing adt3 bugs" to quickly find and delete these bug mails.
Keywords: nsbeta1+
Summary: Save file dialog has paint issue with pause/resume button [ftp downloads] → Save file dialog (download) has paint issue with pause/resume button [ftp downloads]
*** Bug 140545 has been marked as a duplicate of this bug. ***
*** Bug 128359 has been marked as a duplicate of this bug. ***
Comment on attachment 75078 [details] [diff] [review]
patch to fix visibility issue

Unnecessary now that that pause/resume button is always visible. Is there still
a potential problem with the labels, though?
Attachment #75078 - Flags: review-
Attached image dialog screen shot
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041018 06
Still real but clicking the link a second time provides the window properly
resized to fit the buttons.
(In reply to comment #48)
> Created an attachment (id=162836) [details]
> dialog screen shot
> 
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041018 06
> Still real but clicking the link a second time provides the window properly
> resized to fit the buttons.

That is Bug 280909.
Assignee: bross2 → nobody
Status: REOPENED → NEW
QA Contact: jrgmorrison → xptoolkit.xul
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Status: NEW → RESOLVED
Closed: 22 years ago2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: