Disregard the previous workaround, it causes problems with Semantic Forms
Inputs date picker, and possibly other things. Use this one instead, with a
little more of a tweak:
/* Deals with a bug in Semantic Forms combobox
http://old.nabble.com/forum/ViewPost.jtp?post=31705311&framed=y
http://old.nabble.com/forum/ViewPost.jtp?post=31763486&framed=y
http://old.nabble.com/forum/ViewPost.jtp?post=32749419&framed=y
https://bugzilla.wikimedia.org/show_bug.cgi?id=32065 */
button.ui-button-icon-only { width:1.7em; height:23px; vertical-align:top;
margin-top:0; }
input.sfComboBoxActual { height:19px; border:1px solid rgb(166, 166, 166); }
.ui-widget-content { border:1px solid rgb(166, 166, 166); }
The above should be sufficient make comboboxes usable until the bug is
fixed. If anyone needs help with customizing this before then, just ask.
badon wrote:
>
> I improved on James Hong Kong's workaround. It will work throughout your
> site. Place the following code in your Mediawiki:Common.css page:
>
> /* Deals with a bug in Semantic Forms combobox
> http://old.nabble.com/forum/ViewPost.jtp?post=31705311&framed=y
> http://old.nabble.com/forum/ViewPost.jtp?post=31763486&framed=y
> http://old.nabble.com/forum/ViewPost.jtp?post=32749419&framed=y
> https://bugzilla.wikimedia.org/show_bug.cgi?id=32065 */
> button.ui-button-icon-only { width:1.7em; height:23px; vertical-align:top;
> margin-top:0; }
> .ui-widget-content { height:19px; border:1px solid black; }
>
>
>
>
> badon wrote:
>>
>> I found Yaron's musings about the possible cause of the problem, and used
>> that to make a bug report here:
>>
>> https://bugzilla.wikimedia.org/show_bug.cgi?id=32065
>>
>>
>>
>>
>> badon wrote:
>>>
>>> I have this same issue that was initially reported by Patrick Nagel. My
>>> installation has been showing the same combobox that his screenshot
>>> shows since the beginning. In fact, I was not aware it wasn't supposed
>>> to look like that. It's difficult to see, so I have been refraining from
>>> using it.
>>>
>>> Has anyone figured out what is causing this display issue, so a bug can
>>> be reported?
>>>
>>>
>>>
>>>
>>> James Hong Kong wrote:
>>>>
>>>> Hi Yaron,
>>>>
>>>> We only recently migrated some of the dropdown fields into comboboxes
>>>> and immediately recognized that the button is somehow sticking out and
>>>> its same for all of our test systems 1.16.1 (SF 2.1, SMW 1.5.7),
>>>> 1.16.5 (SF 2.2 SMW 1.6) , and 1.17beta (SF 2.2 SMW 1.6). That's when
>>>> we came up with #css to conceal the CSS of the button, but as I said
>>>> before its only works in articles (and RunQuery) but not in the form
>>>> itself where the #css somehow does not have any effect to override the
>>>> CSS.
>>>>
>>>> Cheers,
>>>>
>>>> MWJames
>>>>
>>>> On Sat, Jun 4, 2011 at 3:42 AM, Yaron Koren <yaron@...>
>>>> wrote:
>>>>> Hi James,
>>>>> Have you had that CSS problem for a while? Or did it only show up with
>>>>> some
>>>>> recent version of SF, or MW? Or did you only start using comboboxes
>>>>> recently?
>>>>> -Yaron
>>>>>
>>>>> On Fri, Jun 3, 2011 at 3:41 AM, James Hong Kong
>>>>> <jamesin.hongkong.1@...> wrote:
>>>>>>
>>>>>> Hi Patrick,
>>>>>>
>>>>>> We have the same issue and we solved it temporarily through a tweak
>>>>>> by
>>>>>> using the #css extension. While using the below statement, it helps
>>>>>> us
>>>>>> to manipulate the CSS for a combobox in articles and templates but
>>>>>> for
>>>>>> some reason we had no luck in using it in forms somehow it does not
>>>>>> recognize the overriding CSS, so it works only half the way.
>>>>>>
>>>>>> {{#css:button.ui-button-icon-only {width: 1.7em; height: 23px;
>>>>>> vertical-align: top; margin-top: 0;} .ui-widget-content {height:
>>>>>> 19px;} }}
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> MWJames
>>>>>>
>>>>>> On Fri, May 27, 2011 at 8:36 PM, Yaron Koren <yaron@...>
>>>>>> wrote:
>>>>>> > Hi,
>>>>>> >
>>>>>> > A public wiki is definitely helpful. :) So, interestingly enough,
>>>>>> > everything
>>>>>> > looks fine when using the MonoBook skin:
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> http://patrick-nagel.net/wiki/Special:FormEdit/Test_LoV/Test123?useskin=monobook
>>>>>> >
>>>>>> > My guess is that this is due to the higher MediaWiki version, and
>>>>>> the
>>>>>> > ResourceLoader, in some way. It could be that files are getting
>>>>>> called
>>>>>> > in
>>>>>> > the wrong order - SF's CSS changes to override jQuery's CSS are
>>>>>> called
>>>>>> > before the jQuery CSS.
>>>>>> >
>>>>>> > There's another problem, where the HTML in the dropdown when you
>>>>>> > actually
>>>>>> > start typing in the combobox is getting escaped - I've never seen
>>>>>> that
>>>>>> > before either, but my guess is that it's due to the same thing.
>>>>>> >
>>>>>> > -Yaron
>>>>>> >
>>>>>> > On Fri, May 27, 2011 at 3:48 AM, Patrick Nagel
>>>>>> > <mail@...:
>>>>>> >
>>>>>> >> -----BEGIN PGP SIGNED MESSAGE-----
>>>>>> >> Hash: SHA1
>>>>>> >>
>>>>>> >> Hi Yaron,
>>>>>> >>
>>>>>> >> On 2011-05-26 21:28, Yaron Koren wrote:
>>>>>> >> > As you might guess, the combobox input doesn't always look that
>>>>>> way.
>>>>>> >> > :)
>>>>>> >>
>>>>>> >> I guessed so, yes ;)
>>>>>> >>
>>>>>> >> > This
>>>>>> >> > looks due to some Javascript and/or CSS changes/configurations
>>>>>> on
>>>>>> >> > your
>>>>>> >> site.
>>>>>> >> > A few questions: does this show up for all browsers? Does it
>>>>>> show up
>>>>>> >> > for
>>>>>> >> all
>>>>>> >> > skins? And does it still happen if you temporarily disable the
>>>>>> other
>>>>>> >> extensions?
>>>>>> >>
>>>>>> >> I also couldn't reproduce it on scratchpad.referata.com -
>>>>>> >>
>>>>>> >>
>>>>>> http://scratchpad.referata.com/wiki/Special:FormEdit/TestComboBox/Test124
>>>>>> >> looks just fine.
>>>>>> >> I could reproduce it on my private (mostly for testing) Wiki
>>>>>> though:
>>>>>> >> http://patrick-nagel.net/wiki/Special:FormEdit/Test_LoV/Test123
>>>>>> >> and it's pretty minimal, extension-wise:
>>>>>> >> http://patrick-nagel.net/wiki/Special:Version
>>>>>> >>
>>>>>> >> Could it be the MediaWiki version difference? The Wiki I got the
>>>>>> >> screenshot
>>>>>> >> from is some 1.18alpha version, and mine is currently running some
>>>>>> >> 1.19alpha
>>>>>> >> version, while scratchpad.referata.com is still on 1.16.5.
>>>>>> >>
>>>>>> >> Patrick.
>>>>>> >>
>>>>>> >> - --
>>>>>> >> Key ID: 0x86E346D4 http://patrick-nagel.net/key.asc
>>>>>> >> Fingerprint: 7745 E1BE FA8B FBAD 76AB 2BFC C981 E686 86E3 46D4
>>>>>> >> -----BEGIN PGP SIGNATURE-----
>>>>>> >> Version: GnuPG v2.0.17 (GNU/Linux)
>>>>>> >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>>>>> >>
>>>>>> >> iEYEARECAAYFAk3fVzcACgkQyYHmhobjRtSA+QCgkt3UidfynwTOJkKzVr+27aGw
>>>>>> >> nx8An1X5tWA+I+PWyWqjfldf9u1qeEIY
>>>>>> >> =wed3
>>>>>> >> -----END PGP SIGNATURE-----
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> ------------------------------------------------------------------------------
>>>>>> >> vRanger cuts backup time in half-while increasing security.
>>>>>> >> With the market-leading solution for virtual backup and recovery,
>>>>>> >> you get blazing-fast, flexible, and affordable data protection.
>>>>>> >> Download your free trial now.
>>>>>> >> http://p.sf.net/sfu/quest-d2dcopy1
>>>>>> >> _______________________________________________
>>>>>> >> Semediawiki-user mailing list
>>>>>> >> Semediawiki-user@...
>>>>>> >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>>>>> >>
>>>>>> >
>>>>>> >
>>>>>> >
>>>>>> > --
>>>>>> > WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>>>>> >
>>>>>> >
>>>>>> ------------------------------------------------------------------------------
>>>>>> > vRanger cuts backup time in half-while increasing security.
>>>>>> > With the market-leading solution for virtual backup and recovery,
>>>>>> > you get blazing-fast, flexible, and affordable data protection.
>>>>>> > Download your free trial now.
>>>>>> > http://p.sf.net/sfu/quest-d2dcopy1
>>>>>> > _______________________________________________
>>>>>> > Semediawiki-user mailing list
>>>>>> > Semediawiki-user@...
>>>>>> > https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>>>>> >
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> WikiWorks · MediaWiki Consulting · http://wikiworks.com
>>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Simplify data backup and recovery for your virtual environment with
>>>> vRanger.
>>>> Installation's a snap, and flexible recovery options mean your data is
>>>> safe,
>>>> secure and there when you need it. Discover what all the cheering's
>>>> about.
>>>> Get your free trial download today.
>>>> http://p.sf.net/sfu/quest-dev2dev2
>>>> _______________________________________________
>>>> Semediawiki-user mailing list
>>>> Semediawiki-user@...
>>>> https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context: http://old.nabble.com/-SF--Combobox-widget-looks-awkward-tp31705311p32749527.html
Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com.
|