Delete profile dialog buttons have incorrect text and are cut off
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: agashlin, Assigned: bgrins)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files, 1 obsolete file)
Seen on Windows 10 at 250% DPI scaling in Nightly 20190426094913
Reporter | ||
Comment 1•6 years ago
|
||
This may actually be caused by bug 1538983, I got regression range:
and it seems that the cutoff happens at the same time as the button text becomes incorrect.
STR: Go to about:profiles and click Remove for a profile
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
I can reproduce on OSX as well. Outer HTML on the button shows no [label] attribute:
<xul:button xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" dlgtype="extra1" class="dialog-button"><xul:hbox class="box-inherit button-box" align="center" pack="center" flex="1" anonid="button-box"><xul:image class="button-icon"/><xul:label class="button-text"/></xul:hbox></xul:button>
Assignee | ||
Comment 3•6 years ago
|
||
Also, the button that's supposed to say "Don't delete files" is saying "OK" (the default button text).
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
So I found what looks like a concerning existing bug when testing this. When doing about:profiles -> "Remove" even on a release build it seems like clicking "cancel" or "don't delete files" still seems to delete the profile. If I press escape to close the prompt it goes away without deleting.
Comment 6•6 years ago
|
||
Reporter | ||
Comment 7•6 years ago
|
||
Clicking "Cancel" seems to not delete the profiles for me (before or after this bug). Could the dialog be confused about what button is being pressed? Maybe it cancels properly on Windows but not OSX?
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Adam Gashlin (he/him) [:agashlin] from comment #7)
Clicking "Cancel" seems to not delete the profiles for me (before or after this bug). Could the dialog be confused about what button is being pressed? Maybe it cancels properly on Windows but not OSX?
You are right, I just double checked and Cancel is safe. Can you check if "Don't delete files" deletes the profile anyway?
Reporter | ||
Comment 9•6 years ago
|
||
I checked, "Don't Delete Files" removes the profile from profiles.ini but doesn't delete the profile directory, "Delete Files" removes both, "Cancel" does neither. Though I had to go back to an older version to have the buttons shown correctly (./mach mozregression --repo=inbound --launch=a885e5f28d3141921d9235adfdd0b88552e507a2
).
Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Adam Gashlin (he/him) [:agashlin] from comment #9)
I checked, "Don't Delete Files" removes the profile from profiles.ini but doesn't delete the profile directory, "Delete Files" removes both, "Cancel" does neither. Though I had to go back to an older version to have the buttons shown correctly (
./mach mozregression --repo=inbound --launch=a885e5f28d3141921d9235adfdd0b88552e507a2
).
OK, thanks for checking. I think this was just some confusion on my part. Any chance you can confirm the reported visual issues on windows are fixed with https://phabricator.services.mozilla.com/D29062?
Reporter | ||
Comment 11•6 years ago
|
||
Looks perfect on Windows, thanks! I tested that each button still does the right thing, as well.
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
Comment on attachment 9061097 [details]
Bug 1547346 Don't double-insert inner content when <button> is cloned
Revision D29063 was moved to bug 1547322. Setting attachment 9061097 [details] to obsolete.
Assignee | ||
Updated•6 years ago
|
Comment 15•6 years ago
|
||
bugherder |
Updated•3 years ago
|
Description
•