Closed (fixed)
Project:
Localization client
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2008 at 13:36 UTC
Updated:
23 Sep 2008 at 10:32 UTC
Jump to comment: Most recent file
Comments
Comment #1
hass commentedSame here
Comment #2
gábor hojtsyExperienced similar (and sometimes even worse) issues myself in Safari too. Looking forward to any fix someone might work out!
Comment #3
gaolei commentedI also once had this problem after I checked out a newer version from CVS but without completely refreshing (Ctrl-F5) the browser. Things went OK after I accidentally cleared all private data.
Comment #4
gremlinc5 commentedOk. It seems to me that the problem is caused by the SIZE parameter of the textbox, which is set in l10n_client.module.
The size is set to 60 (way too much for a non-1600 wide screen). Set it to 40 and the screen gets better.
In fact, there is a button under the box (you can go to it tabbing out from the buggy textbox). It is hided by the fixed height form, but it's there, under the lower border of the page. AFAIK it's completely useless, so I simply disabled it (but be warned, I'm not really sure of this). Resulting function on my l10n_client.module is:
Last note: I use fckeditor and captcha and the submit button on the right side was going out of sight very often. So I resized edit-form also. To do this simply change the css height from the default value to a more suitable one (in my case, 6em):
Probably every styling should be done via css, but localization client is just working well enough.
Comment #5
gábor hojtsygremlinc5: that X button is useful to clear the search input field with one click. That resembles X buttons browser use in their search fields for example.
Comment #6
gremlinc5 commentedYep. But you can simply delete the content of the search textbox.
"Useless" is not the right term, maybe better "redundant".
Anyway, the problem with that button is: with Firefox (and Explorer BTW), it goes under the lower border of the screen, so if you tab out of the search box, you mess up the viewport. When I inspected the generated HTML with Firebug, I saw that the textbox is surrounded by a div tag with css display property set to block instead of inline.
Since I don't know how to fix that, for my personal site, I prefered renounce the commodity and simplify the interface.
Mine is not a patch (I am in no way a drupal developer), it's just a quick-and-dirty way to accomodate the interface with Firefox (and Explorer) and some additional plugins.
Just a thought: wouldn't be better if the interface was made as a popup? I think I'll be posting about this in another thread.
Anyway, this tool is invaluable for fast translation. Great work!
Comment #7
yhager commentedThis whole thing can be fixed without changing the code as in #4, but simply patching the CSS, per the attached patch.
Comment #8
hass commentedPlease do not add
+ direction:ltr;in modules. This should be a global style on body or html element...Comment #9
yhager commented@hass - it is added since it does not work correctly on RTL themes otherwise. The l10n_client form should stay "ltr" no matter what the active language is.
True, I should have mentioned that the patch fixes this as well.. sorry.
Comment #10
hass commentedIf this does not work in RTL themes, why are you not adding it to the RTL file? That's cleaner... on the other side you break "direction" inheritance now... Is this again a RTL bug that is fixed in FF3?
OT: Do you have some good links about RTL CSS bugs? I'm really searching for this, but i cannot find any "reference" site. I only found "one" bug in the IE7 blog... aside i'm shocked about IE8 and RTL - to say short - really *nothing* works here - damn buggy beta :-(((. Hopefully your links are in Hebrew/Arabic what i cannot read/write...
Comment #11
yhager commentedIf this does not work in RTL themes, why are you not adding it to the RTL file? That's cleaner... on the other side you break "direction" inheritance now... Is this again a RTL bug that is fixed in FF3?
I am not sure I understand what you mean here. This is unrelated to FF. It is related to the fact that RTL CSS assumes the whole site should become RTL, while this specific component should always be LTR, so I think it should be mentioned specifically.
I did something similar in #127295: Module numbers display incorrectly if direction is set to RTL and it was accepted. Feel free to edit the patch as you see fit, I'd like to see it committed with or without the direction fix.
OT: Do you have some good links about RTL CSS bugs?
I might have some info. Will PM you.
Comment #12
hass commentedI wonder... i thought it was a consense that we only add required styles... and if LTR does not required this definition, why are we adding it!? If the RTL layout requires this declaration we can add it there. We could better distinguish between bugfixes made only for RTL if they are in a RTL file. Nobody will understand why you add this in a LTR theme/core if the html or body element already have a direction to LTR. This is double declaration in a LTR layout that makes no big sense as the LTR page is correctly rendered without this declaration...
I'm only arguing not to mix LTR styles with RTL bugfixes.
Comment #13
gábor hojtsyIf I read that right, hass would like to see an l10n_client-rtl.css file with that LTR definition.
Comment #15
hass commentedYep, that's all.
Comment #16
gábor hojtsyI've just fixed the form styling in another commit independently. Now I've added an l10n_client-rtl.css file with the suggested rule, and committed it. Hope it fixes the RTL issues as well :) Thanks for the suggestions.
Comment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.