Closed
Bug 408578
Opened 17 years ago
Closed 3 years ago
gtk: combobox pushed state
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: u294409, Unassigned)
References
Details
(Whiteboard: [not needed for 1.9])
Attachments
(6 files)
132.22 KB,
image/png
|
Details | |
1.93 KB,
patch
|
roc
:
review+
roc
:
superreview+
roc
:
approval1.9+
|
Details | Diff | Splinter Review |
2.51 KB,
patch
|
ventnor.bugzilla
:
review+
roc
:
superreview+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
2.57 KB,
patch
|
Details | Diff | Splinter Review | |
12.17 KB,
image/png
|
Details | |
16.17 KB,
image/png
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.10) Gecko/20071213 Epiphany/2.20 Firefox/2.0.0.10
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.10) Gecko/20071213 Epiphany/2.20 Firefox/2.0.0.10
when combobox is clicked and menu is shown, combo should have pushed state everytime menu is shown.
Reproducible: Always
Steps to Reproduce:
1. open combobox
Actual Results:
pushed state is shown when mouse button is still down and menu selection is done.
Expected Results:
perfectly drawn combo :) .
bookmarks bar shows perfect behaviour [attachment done].
Comment 3•17 years ago
|
||
2 line fix.
The first line paints it as depressed when the menu is open.
The second line causes the repaint when the menu closes.
Assignee: nobody → ispence
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #294765 -
Flags: superreview?(roc)
Attachment #294765 -
Flags: review?(roc)
Attachment #294765 -
Flags: superreview?(roc)
Attachment #294765 -
Flags: superreview+
Attachment #294765 -
Flags: review?(roc)
Attachment #294765 -
Flags: review+
Assignee: ispence → nobody
Status: ASSIGNED → NEW
Component: OS Integration → Widget: Gtk
Product: Firefox → Core
QA Contact: os.integration → gtk
Please file GTK theme bugs in Widget: Gtk.
Updated•17 years ago
|
Assignee: nobody → ispence
Updated•17 years ago
|
Status: NEW → ASSIGNED
Version: unspecified → Trunk
Attachment #294765 -
Flags: approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Comment 5•17 years ago
|
||
Checking in widget/src/gtk2/nsNativeThemeGTK.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp,v <-- nsNativeThemeGTK.cpp
new revision: 1.130; previous revision: 1.129
done
Keywords: checkin-needed
Target Milestone: --- → mozilla1.9 M11
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
We should back this out to attempt to fix bug 410881
Comment 8•17 years ago
|
||
Could this get relanded once if it is determined that it did not cause bug 410881?
Yes, it seems we should reland this.
Updated•17 years ago
|
Keywords: checkin-needed
Comment 10•17 years ago
|
||
Relanded.
Checking in widget/src/gtk2/nsNativeThemeGTK.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp,v <-- nsNativeThemeGTK.cpp
new revision: 1.134; previous revision: 1.133
done
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Comment 11•17 years ago
|
||
This only seems to have fixed comboboxes in chrome, but not in content.
Reporter | ||
Comment 13•17 years ago
|
||
ping
Comment 14•17 years ago
|
||
HTML comboboxes are broken in general.
Case and point:
1. Open 2 Firefox windows side-by-side (the one on the left should have an html combobox, so maybe a bugzilla page)
2. Click the combobox so that it shows its menu. Notice that the button is not drawn as "depressed".
3. Click and hold the window decoration of the other window (where the min, max, close buttons are, but not on the buttons)
Notice that by activating the separate window, the combobox is not recieving those events, thus showing as depressed
Flags: wanted1.8.1.x?
Reporter | ||
Comment 15•17 years ago
|
||
Firefox is so hacky, and not native... Ahhh.
I wonder if some beautiful day we get perfect engine and browser.
Comment 16•17 years ago
|
||
Did you mean to request wanted1.8.1.x?
Comment 17•17 years ago
|
||
Ugh, my apologies. That happens to be the combobox I was using to reference in my post.
Flags: wanted1.8.1.x?
(In reply to comment #15)
> Firefox is so hacky, and not native... Ahhh.
> I wonder if some beautiful day we get perfect engine and browser.
Only with major changes to GTK. Note that Webkit/GTK uses a lot of our code for drawing GTK themes in Web pages.
Reporter | ||
Comment 19•17 years ago
|
||
I saw notice about it on some Wiki page.
Comment 20•17 years ago
|
||
I'm currently investigating how we could do that for the url bar too, since it would make it react as a ComboBoxEntry rather than a GtkCombo which is deprecated. The pb is that when the dropdown is open, no "open" attribute is set on the urlbar.
Reporter | ||
Comment 21•17 years ago
|
||
I'll be happy, if the GtkCombo and others looking like him would go away.
Comment 22•17 years ago
|
||
It makes editable menulists dropdown button remain pushed as long as the dropdown is open. It does not correct urlbar behaviour, since the urlbar doesn't set its open attribute on autocomplete opening.
There remains a glitch (which was present before): the dropdown button doesn't highlight on hover.
Attachment #299186 -
Flags: superreview?(roc)
Attachment #299186 -
Flags: review?(ventnor.bugzilla)
Updated•17 years ago
|
Attachment #299186 -
Flags: review?(ventnor.bugzilla) → review+
Attachment #299186 -
Flags: superreview?(roc) → superreview+
Updated•17 years ago
|
Attachment #299186 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #299186 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Comment 23•17 years ago
|
||
Checking in toolkit/content/widgets/menulist.xml;
/cvsroot/mozilla/toolkit/content/widgets/menulist.xml,v <-- menulist.xml
new revision: 1.37; previous revision: 1.36
done
Checking in widget/src/gtk2/nsNativeThemeGTK.cpp;
/cvsroot/mozilla/widget/src/gtk2/nsNativeThemeGTK.cpp,v <-- nsNativeThemeGTK.cpp
new revision: 1.141; previous revision: 1.140
done
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Reporter | ||
Comment 24•17 years ago
|
||
it should also work on websites
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 25•17 years ago
|
||
I'm posting this in case someone wants to take it and work with it. This currently does the job except that if you close a combobox by clicking outside of the frame (so not on the button and not on the dropdown), then it doesn't cause a repaint. So the button stills looks depressed and will continue to do so until it is hovered.
Comment 26•17 years ago
|
||
I'm not quite sure if I understand this bug.
In gtk you never actually _see_ the combobox in its pressed mode, as its items are drawn on top of it, in a way that the current selected item is just under the mouse.
Comment 27•17 years ago
|
||
Oh, and btw., this only counts for in-content comboboxes. Comboboxes in toolbars should be drawn just like they are today. in beta 5.
Comment 28•17 years ago
|
||
Comment 29•17 years ago
|
||
Under the menu, the combobox is in pressed state, IIRC. You can see it if you have an empty combobox (with an empty list to choose among). Currently our combobox menus don't popup on top of the combobox, but under. We'll probably have to live with it for Firefox 3; I don't know if it's easy or not to solve, and I've no time. I suspect Ian or Michael have roughly the same problem currently: crunch time...
Comment 30•17 years ago
|
||
(In reply to comment #26)
> I'm not quite sure if I understand this bug.
> In gtk you never actually _see_ the combobox in its pressed mode, as its items
> are drawn on top of it, in a way that the current selected item is just under
> the mouse.
You do if the current item is the last one.
Updated•17 years ago
|
Whiteboard: [not needed for 1.9]
Comment 31•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months.
:stransky, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee: ispence → nobody
Flags: needinfo?(stransky)
Comment 32•3 years ago
|
||
AFAIK outdated.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 3 years ago
Flags: needinfo?(stransky)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•