Closed
Bug 618989
Opened 15 years ago
Closed 14 years ago
Finish new theme styles for dialogs/prompts
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(fennec2.0next+)
VERIFIED
FIXED
| Tracking | Status | |
|---|---|---|
| fennec | 2.0next+ | --- |
People
(Reporter: mbrubeck, Assigned: wesj)
References
Details
(Keywords: polish)
Attachments
(3 files, 10 obsolete files)
|
4.16 KB,
patch
|
mfinkle
:
review+
pavlov
:
approval2.0+
|
Details | Diff | Splinter Review |
|
7.48 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
|
41.98 KB,
patch
|
wesj
:
review+
|
Details | Diff | Splinter Review |
Fennec's dialogs should have dark headers with light text, and larger header fonts (similar to native Android dialogs).
This was intended to be part of the new Fennec theme (bug 575403) but fell through the cracks in the rush to ship beta 2.
Updated•15 years ago
|
tracking-fennec: --- → ?
Comment 1•15 years ago
|
||
We really want some change here, but it's not really blocking. Let's get a design.
tracking-fennec: ? → 2.0-
| Assignee | ||
Comment 2•14 years ago
|
||
Talked to finkle about this a bit the other day, and he said he might take something. This may go further than just that, but looks good.
Flickr set:
http://www.flickr.com/photos/digdug2k/sets/72157626190588906/with/5495045095/
| Assignee | ||
Comment 3•14 years ago
|
||
Here's a separate patch to add arrows to the "New Tab" popup (madhava asked). Pics are in the flickr stream.
Attachment #516744 -
Attachment is patch: true
Attachment #516744 -
Attachment mime type: application/octet-stream → text/plain
| Reporter | ||
Updated•14 years ago
|
Assignee: mbrubeck → wjohnston
| Assignee | ||
Comment 4•14 years ago
|
||
Arrowboxes changes in their own patch. Putting this separate piece up after talking to madhava about this on irc:
(02:52:32 PM) madhava: the popups I'd take (if it were up to me)
(02:53:01 PM) madhava: dialogs, because the content is so varied leading to potential layout weirdness, I might wait on
(02:53:17 PM) wesj: madhava: ahh, you mean just the arrowbox ones, eh?
(02:53:25 PM) madhava: yeah
(02:53:49 PM) madhava: just thinking about benefits vs. potential issues
(02:55:01 PM) wesj: madhava: hmm... ok. i'll try to separate that piece out and put it up separately
Putting up for review as potential low-risk polish.
Attachment #516744 -
Attachment is obsolete: true
Attachment #517566 -
Flags: review?(mark.finkle)
Comment 5•14 years ago
|
||
can you post before/after screenshots?
| Assignee | ||
Comment 6•14 years ago
|
||
Sure. They are in the flickr stream posted about, but here is the bookmarks one:
http://dl.dropbox.com/u/72157/Dialogs/Bookmark.png
and the new tab ones on two different backgrounds:
http://dl.dropbox.com/u/72157/Dialogs/arrow2.png
http://dl.dropbox.com/u/72157/Dialogs/ArrowOpen.png
Comment 7•14 years ago
|
||
I definitely like the way these look. What's the patch status?
Comment 8•14 years ago
|
||
(In reply to comment #6)
> and the new tab ones on two different backgrounds:
>
> http://dl.dropbox.com/u/72157/Dialogs/arrow2.png
> http://dl.dropbox.com/u/72157/Dialogs/ArrowOpen.png
Just in case, do we want the arrow when the new tab panel is over the awesome panel since the user can't pan to the right?
Comment 9•14 years ago
|
||
(In reply to comment #8)
> (In reply to comment #6)
> > and the new tab ones on two different backgrounds:
> >
> > http://dl.dropbox.com/u/72157/Dialogs/arrow2.png
> > http://dl.dropbox.com/u/72157/Dialogs/ArrowOpen.png
>
> Just in case, do we want the arrow when the new tab panel is over the awesome
> panel since the user can't pan to the right?
Too complicated. Either we keep the arrows or we ditch them - all the time.
| Assignee | ||
Comment 10•14 years ago
|
||
Close. A little cleanup, some problems with textboxes in the sync-setup stuff,
and (scarier) maybe making the width more dynamic (I think in the current sytle
it is currently fixed, but our margins are bigger so it doesn't look quite so
awkward).
Arrow box patch is ready for review. I don't think the newtab popup is
currently even shown if the sidebar is open. There's a bug because I
accidentally yanked the Browser.pushPopup stuff that causes it not to hide if
you pan the sidebar open while the popup is showing. Updated patch coming...
I'll start the last clean up on the other guy too
Comment 11•14 years ago
|
||
(In reply to comment #9)
> (In reply to comment #8)
> > (In reply to comment #6)
> > > and the new tab ones on two different backgrounds:
> > >
> > > http://dl.dropbox.com/u/72157/Dialogs/arrow2.png
> > > http://dl.dropbox.com/u/72157/Dialogs/ArrowOpen.png
> >
> > Just in case, do we want the arrow when the new tab panel is over the awesome
> > panel since the user can't pan to the right?
>
> Too complicated. Either we keep the arrows or we ditch them - all the time.
and finishing my thought... we mainly use the arrow to let the user know where
something new was added, not as an indication to pan. So I think leaving the
arrows on the box is fine for now.
Personally, I'd vote to remove the arrows altogether, but that's a different
bug.
| Assignee | ||
Comment 12•14 years ago
|
||
Attachment #517566 -
Attachment is obsolete: true
Attachment #517921 -
Flags: review?(mark.finkle)
Attachment #517566 -
Flags: review?(mark.finkle)
Comment 13•14 years ago
|
||
Comment on attachment 517921 [details] [diff] [review]
Arrowbox patch v2
Looks good. Not sure if we'll get this in 4.0 or not yet.
Attachment #517921 -
Flags: review?(mark.finkle) → review+
Comment 14•14 years ago
|
||
Re-noming. I have a case for making the UI look like a conhesive unit and not a mis-mash of different styles
tracking-fennec: 2.0- → ?
| Assignee | ||
Comment 15•14 years ago
|
||
OK, this seems to work well. Need to test a few more things, including nsIPromptService.select dialogs. I'm going to write some test stuff and pound away for today, but wanted to get review underway at the same time.
I'm a bit nervous about how this will look on tablets.
Attachment #516712 -
Attachment is obsolete: true
Attachment #518144 -
Flags: review?(mbrubeck)
Attachment #518144 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 16•14 years ago
|
||
Patch applies on top of the arrowbox one
Updated•14 years ago
|
Attachment #517921 -
Flags: approval2.0+
| Assignee | ||
Comment 17•14 years ago
|
||
Build for testing:
http://dl.dropbox.com/u/72157/fennec.apk
| Assignee | ||
Comment 18•14 years ago
|
||
Pushed arrowbox part:
http://hg.mozilla.org/mobile-browser/rev/2dc7f7b3c40d
| Reporter | ||
Comment 19•14 years ago
|
||
Comment on attachment 518144 [details] [diff] [review]
Dialogs
Probably harmless, but I do see a number of class="prompt-button" still around, even though this class is no longer used by any stylesheet - one in components/PromptService.js and several in chrome/content/prompt/*.xul.
>+.prompt-checkbox-label {
>+ text-align: left;
> }
>+.prompt-edit {
>+ margin: @margin_xnormal@;
>+ font-size: @font_normal@;
>+ text-align: left;
>+}
Should probably both be "text-align: start;"
Attachment #518144 -
Flags: review?(mbrubeck) → review+
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [has patch]
| Assignee | ||
Comment 20•14 years ago
|
||
I played with this on a Xoom, but even on Desktop if you open a prompt and make Fennec full screen, we stretch the dialog to cover the screen width. The old prompts also did this.
This just adds a max-width to the dialog. Also adds the text-align: start mbrubeck caught. I will remove the "prompt-button" later.
Attachment #518144 -
Attachment is obsolete: true
Attachment #518224 -
Flags: review?(mark.finkle)
Attachment #518144 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 21•14 years ago
|
||
Argh. Forgot to qref, but this is causing a problem with they sync dialog anyway...
Attachment #518224 -
Attachment is obsolete: true
Attachment #518226 -
Flags: review?(mark.finkle)
Attachment #518224 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 22•14 years ago
|
||
Switched syncsetup to use the same modal-block class as normal dialogs. Sync dialogs scale better on large screens with this too. Updated the build to reflect the fix. Same url:
http://dl.dropbox.com/u/72157/fennec.apk
Attachment #518226 -
Attachment is obsolete: true
Attachment #518231 -
Flags: review?(mark.finkle)
Attachment #518226 -
Flags: review?(mark.finkle)
| Assignee | ||
Updated•14 years ago
|
Attachment #518231 -
Attachment is patch: true
Attachment #518231 -
Attachment mime type: application/octet-stream → text/plain
Comment 23•14 years ago
|
||
Comment on attachment 518231 [details] [diff] [review]
Patch v1.2
This looks good, but I think there is a bug in the new way the Sync dialog is handled. Try opening the dialog, then "cancel" it. I am now stuck in the preferences panel - back button (on Android) doesn't get me out. Seems like a problem with how we pop the dialog?
Attachment #518231 -
Flags: review?(mark.finkle) → review-
Comment 24•14 years ago
|
||
BTW, The dialog patch won't nake it into Fennec 4, but we will try to land it ASAP after branching.
Updated•14 years ago
|
tracking-fennec: ? → 2.0next+
| Assignee | ||
Comment 25•14 years ago
|
||
I had used our modal-block class on the syncsetup dialog. Didn't realize that in some places we actually check for elements with className="modal-block" to determine if a dialog is already open. Changed it to "perm-modal-block" here, and I actually just removed those elements in 641639.
This also updates the edit bookmark dialog to use the same classes for styling.
Attachment #518231 -
Attachment is obsolete: true
Attachment #519456 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 27•14 years ago
|
||
Whoops. This also breaks a few tests I wrote that
1.) use getElementsByClassName to get prompt buttons. since the class is shared with the syncbuttons we pick up both
2.) assume the title of dialogs is a label, not a description.
I also removed a bunch of logging that I accidentally slipped into the test stuff.
Attachment #520357 -
Flags: review?(mark.finkle)
Comment 28•14 years ago
|
||
Comment on attachment 519456 [details] [diff] [review]
Patch v2
Let's get an updated patch, in case it's bit rotted and see if we can get this landed for Firefox 5.
Attachment #519456 -
Flags: review?(mark.finkle) → review+
Comment 29•14 years ago
|
||
Comment on attachment 520357 [details] [diff] [review]
Test fixes
Make sure these still pass on linux desktop
Attachment #520357 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 30•14 years ago
|
||
Unbitrotted patch
Attachment #519456 -
Attachment is obsolete: true
Attachment #524683 -
Flags: review+
| Assignee | ||
Comment 31•14 years ago
|
||
Unbitrotted tests for checkin.
Attachment #520357 -
Attachment is obsolete: true
| Assignee | ||
Comment 32•14 years ago
|
||
Here's a build with this patch for testing:
http://dl.dropbox.com/u/72157/fennec.apk
Comment 33•14 years ago
|
||
(In reply to comment #32)
> Here's a build with this patch for testing:
>
> http://dl.dropbox.com/u/72157/fennec.apk
The build looks and works OK except for one issue:
1. Go to Preferences
2. Tap "Back" to leave Preferences
3. I am trapped!
At first I thought it was because I opened the Sync "Connect" dialog or the Clear Private Data "Clear" prompt, but it happens all the time.
We need to find out if it's a problem with the patch or something else.
Also, be sure to test the Sync and Clear Private Data prompts too. Make sure we can go "Back" from Preferences
| Assignee | ||
Comment 34•14 years ago
|
||
Just realized I moved this to my dropbox folder but wasnt running dropboz. ill update the build in a bit.
| Assignee | ||
Comment 35•14 years ago
|
||
The link should be correct now. Soryy :(
| Assignee | ||
Comment 36•14 years ago
|
||
Attachment #524683 -
Attachment is obsolete: true
Attachment #525211 -
Flags: review+
| Assignee | ||
Updated•14 years ago
|
Attachment #524691 -
Flags: review+
Comment 37•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/27718fc39386
http://hg.mozilla.org/mozilla-central/rev/8b0b0bc824c0
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Whiteboard: [has patch]
Comment 38•14 years ago
|
||
VERIFIED FIXED on:
Build Id: Mozilla /5.0 (Android;Linux armv7l;rv:2.2a1pre) Gecko/20110412 Firefox/4.2a1pre Fennec /4.1a1pre
Device: HTC Desire Z (Android 2.2)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•