Open
Bug 552486
Opened 14 years ago
Updated 4 years ago
Use text-align: start or end instead of left or right in SeaMonkey themes
Categories
(SeaMonkey :: Themes, defect)
Tracking
(Not tracked)
ASSIGNED
People
(Reporter: neil, Assigned: thanhluan07, Mentored)
References
Details
(Keywords: good-first-bug, helpwanted, Whiteboard: [lang=css])
Attachments
(1 file, 6 obsolete files)
10.23 KB,
patch
|
Details | Diff | Splinter Review |
Since bug 299837 it is now possible to use text-align: start or end for automatic RTL compatibility.
Reporter | ||
Comment 1•14 years ago
|
||
Although now that I think about it aren't numbers always text-align: right;?
Comment 2•12 years ago
|
||
Arabic is an RTL language where numbers (even when written in Arabic-Indic digits) are LTR. I think the same applies to Persian and Urdu, which, although Indo-European, use variants of the Arabic script. In Hebrew (another RTL language) numbers are often written with letters: "number one" would be alef; "number two", beth; "number nine", teth; "number ten", yod; "number eleven", yod-alef; "number twelve", yod-beth; "number twenty-six", kaf-vav; etc. In that case "numbers" are RTL too but I suppose this kind of numbering is not used in the chrome. I'm not sure about Syriac (aka Aramaean), an RTL language which has its own script, different from both Hebrew "square script" and Arabic "flowing hand".
Updated•11 years ago
|
Summary: Use text-align: start or end instead of left or right → Use text-align: start or end instead of left or right in SeaMonkey themes
Whiteboard: [good first bug] → [good first bug][mentor=Neil][lang=css]
Comment 3•11 years ago
|
||
Hi all, I'm new to Mozilla and Open Source in general. I would like to take up this bug, and will need help. So, how do I start?
Comment 4•11 years ago
|
||
Hi First have you set up a build environment? If not please see: https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_build If you can please join us on IRC: irc://moznet/seamonkey where we can discuss this further. Most of our developers are either in Europe or Asia so we may not be around at certain times.
Comment 5•11 years ago
|
||
hi sir, i am interested in solving the above bug, can i ?
Comment 6•11 years ago
|
||
Hi harsh chhabra! I think Sarup Banskota was here first so he should be allowed to fix this bug. If Sarup is unable to work on this bug, I'll reassign it to you.
Assignee: nobody → sbanskota08
Status: NEW → ASSIGNED
Comment 7•11 years ago
|
||
Hi, I'm sorry for getting back late. I haven't set up an environment yet, because I have a sad internet connection for a few days. And sure, I will join the IRC channel and seek help :) Thanks!
Comment 8•11 years ago
|
||
Sarup, could you confirm that you're still working on this?
Flags: needinfo?(sbanskota08)
Comment 9•11 years ago
|
||
Josh, I am working on my GSoC proposal right now, so you can assign this to someone else :)
Flags: needinfo?(sbanskota08)
Updated•11 years ago
|
Assignee: sbanskota08 → nobody
Comment 11•11 years ago
|
||
Hi, I am a computer engineering student from India. I am very much interested in FOSS.I want to try fixing this bug. What shall I do?
Comment 12•11 years ago
|
||
Bodhiswattwa: Sorry for the late response, are you still interested? If yes, check out Comment 4 in this bug. I think a good first step would be to setup a build env, you'll need it later. After or while doing that, you might want to take a look at this page: http://mxr.mozilla.org/comm-central/search?string=text-align&find=suite*.css&findi=\.css&filter=^[^\0]*%24&hitlimit=&tree=comm-central (this is basically the SeaMonkey code repository and you can search throught the code with the help of that page). There you can see some of the places that would need to get fixed. If you're done, report back :). As written Comment 4, you can also talk to us on IRC.
Comment 13•11 years ago
|
||
Yes I am still interested in it. I already have Microsoft Visual Studio 2012. I hope this will come out to be compatible with my work. I am looking forward to fix this bug.
Comment 14•10 years ago
|
||
Hi there Can I be assigned this bug as I am interested in attempting to fix it, my knowledge in HTML is sufficient to apply certain changes to the bug.
Comment 15•10 years ago
|
||
(In reply to Samiullah from comment #14) > Hi there > > Can I be assigned this bug as I am interested in attempting to fix it, my > knowledge in HTML is sufficient to apply certain changes to the bug. Hi! You've been assigned on Bug 812050. Lets start with that first. After fixing that we'll look again at which bugs you want to work on.
Comment 16•10 years ago
|
||
Hello, I would like to be assigned to this bug, is it possible ? There is already somebody working on it but it was decided last year. Did he fix it ?
Comment 17•10 years ago
|
||
(In reply to Alex from comment #16) > Hello, > I would like to be assigned to this bug, is it possible ? > There is already somebody working on it but it was decided last year. Did he > fix it ? Hi Alex, Of course, thanks for looking at this :-) (it's not fixed) - assigning to you.
Assignee: nobody → alexandre-cote
Status: NEW → ASSIGNED
Comment 18•10 years ago
|
||
Attachment #8415992 -
Flags: review?(neil)
Comment 19•10 years ago
|
||
Comment on attachment 8415992 [details] [diff] [review] rev1 Review of attachment 8415992 [details] [diff] [review]: ----------------------------------------------------------------- Needs to be sent to the correct person.
Attachment #8415992 -
Flags: review?(neil) → review-
Comment 20•10 years ago
|
||
Alex, I think you ment to ask another neil for review: neil@httl.net :-) But it looks like you have attached the wrong patch - the files you have changed doesn't exist in the comm-central repository (the SeaMonkey-specific code is located in comm-central).
Comment 21•10 years ago
|
||
Comment on attachment 8415992 [details] [diff] [review] rev1 Review of attachment 8415992 [details] [diff] [review]: ----------------------------------------------------------------- Hi Alex, it looks like this patch is applying to DevTools. I've opened Bug 1004679 so that we can work on getting this landed without adding a bunch of noise to this bug. Would you mind uploading it there instead?
Comment 22•10 years ago
|
||
(In reply to Stefan [:stefanh] from comment #20) > Alex, > I think you ment to ask another neil for review: neil@httl.net :-) > > But it looks like you have attached the wrong patch - the files you have > changed doesn't exist in the comm-central repository (the SeaMonkey-specific > code is located in comm-central). Hello, Indeed, I corrected the wrong files (in mozilla-central), my bad :(... I should be able to submit a new patch soon. However when I submitted the patch, the only reviewer I was able to select in the list was this person. How can I ask for neil@httl.net ?
Comment 23•10 years ago
|
||
(In reply to Alex from comment #22) > Hello, > > Indeed, I corrected the wrong files (in mozilla-central), my bad :(... > I should be able to submit a new patch soon. However when I submitted the > patch, the only reviewer I was able to select in the list was this person. > How can I ask for neil@httl.net ? There's a free-form text entry right next to the list.
Comment 24•10 years ago
|
||
I modified the files in /comm-central this time. I did the SeaMonkey build as explained in this tutorial : https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_builds. Each file is contained in a /devtools subfolder.
Attachment #8415992 -
Attachment is obsolete: true
Attachment #8416966 -
Flags: review?(neil)
Reporter | ||
Comment 25•10 years ago
|
||
Comment on attachment 8416966 [details] [diff] [review] rev2 It looks as if you may not have understood. Although they are necessarily checked out during a SeaMonkey build, those devtools files don't actually form part of SeaMonkey. Now this doesn't mean that you were wrong to patch them, and bug 1004679 has been created in order that your patch may be correctly assessed. Feel free to concentrate on fixing the devtools files using that bug for that purpose. However for any patch to be relevant to this particular bug, you need to patch files in comm-central's suite directory tree. It is of course completely up to you to choose which set of files to work on.
Attachment #8416966 -
Flags: review?(neil)
Comment 26•10 years ago
|
||
(In reply to neil@parkwaycc.co.uk from comment #25) > Comment on attachment 8416966 [details] [diff] [review] > rev2 > > It looks as if you may not have understood. > > Although they are necessarily checked out during a SeaMonkey build, those > devtools files don't actually form part of SeaMonkey. > > Now this doesn't mean that you were wrong to patch them, and bug 1004679 has > been created in order that your patch may be correctly assessed. Feel free > to concentrate on fixing the devtools files using that bug for that purpose. > > However for any patch to be relevant to this particular bug, you need to > patch files in comm-central's suite directory tree. > > It is of course completely up to you to choose which set of files to work on. Ok, I submitted my patch for bug 1004679... But yes, I didn't understand, and I'm really trying to... The files I modified in this bug are in my /comm-central repository. And these are the only files in comm-central/mozilla/brower/themes which need to be changed about the text-align modification. I'm sorry for being ignorant but I need more explanations...
Comment 27•10 years ago
|
||
SeaMonkey-specific css files are to be found at comm-central/suite/themes. Thunderbird-specific css files can be found at comm-central/mail/themes. Files in comm-central/mozilla/browser/themes are Firefox-specific and they are part of the mozilla-central repository. When you check out comm-central with the python script, you get the mozilla-central repository as well (that's the mozilla directory in comm-central). The comm-central repository looks like this: http://hg.mozilla.org/comm-central/file and the mozilla-central repository looks like this: http://hg.mozilla.org/mozilla-central/file.
Comment 28•10 years ago
|
||
Attachment #8416966 -
Attachment is obsolete: true
Attachment #8420676 -
Flags: review?(neil)
Comment 29•10 years ago
|
||
Attachment #8420676 -
Attachment is obsolete: true
Attachment #8420676 -
Flags: review?(neil)
Attachment #8420677 -
Flags: review?(neil)
Comment 30•10 years ago
|
||
(In reply to Alex from comment #29) > Created attachment 8420677 [details] [diff] [review] > new try Could it be possible to have a review soon ?
Comment 31•10 years ago
|
||
> Could it be possible to have a review soon ?
This is a relatively simple patch. I'm sure Neil will be reviewing it soon.
Reporter | ||
Comment 32•10 years ago
|
||
Comment on attachment 8420677 [details] [diff] [review] new try Very sorry not to be able to get to this earlier. Some of these rules apply to numbers rather than text. Unfortunately I was not able to get a definitive answer as to how numbers should be aligned, so for now I'd like them to stay as right rather than end. As such, I would appreciate it if you could remove the following numeric-related changes from your patch. Thank you. >diff --git a/suite/themes/classic/messenger/folderPane.css b/suite/themes/classic/messenger/folderPane.css >diff --git a/suite/themes/classic/messenger/messageBody.css b/suite/themes/classic/messenger/messageBody.css >diff --git a/suite/themes/classic/messenger/threadPane.css b/suite/themes/classic/messenger/threadPane.css >diff --git a/suite/themes/modern/global/datetimepicker.css b/suite/themes/modern/global/datetimepicker.css >diff --git a/suite/themes/modern/global/numberbox.css b/suite/themes/modern/global/numberbox.css >diff --git a/suite/themes/modern/messenger/folderPane.css b/suite/themes/modern/messenger/folderPane.css >diff --git a/suite/themes/modern/messenger/messageBody.css b/suite/themes/modern/messenger/messageBody.css >diff --git a/suite/themes/modern/messenger/threadPane.css b/suite/themes/modern/messenger/threadPane.css
Attachment #8420677 -
Flags: review?(neil)
Reporter | ||
Comment 33•10 years ago
|
||
The definitive answer is indeed text-align: right; for numbers (as I in fact seem to have already mentioned in comment #1) so that once the patch has been updated it should be ready. (Apparently in HTML you would also want to override the unicode bidi to plaintext but I don't think we have to worry about that here.)
Updated•10 years ago
|
Mentor: neil.corlett
Whiteboard: [good first bug][mentor=Neil][lang=css] → [good first bug][lang=css]
Comment hidden (obsolete) |
Assignee | ||
Comment 35•9 years ago
|
||
Hello, I would like to be assigned to this bug, is it possible ? Or it is already fixed??
Comment 36•9 years ago
|
||
(In reply to thanhluan07 from comment #35) > Hello, > I would like to be assigned to this bug, is it possible ? Or it is already > fixed?? Hi! This bug hasn't been fixed. So it's available. However we normally don't formally assign GFBs until a patch has been submitted. The first step for you then is to build SeaMonkey if you haven't already done so. https://developer.mozilla.org/en-US/docs/Simple_SeaMonkey_build
Assignee: alexandre-cote → nobody
Mentor: neil.corlett → neil
Status: ASSIGNED → NEW
Assignee | ||
Comment 37•9 years ago
|
||
Hello I have a question for this bug. Actually , I built Seamonkey and I would like to have a exemple ( page web )to see the problem and test my changes.
Comment 38•9 years ago
|
||
(In reply to thanhluan07 from comment #37) > ... I would like to have a example (web page)to see the problem and test my changes. As far as I understood this bug is not about external web pages but about Seamonkeys internal CSS files. Please see comment 27 for more. When asking on IRC: irc://moznet/seamonkey only expect an answer within hours. Most people seen there do other work while being logged in.
Comment 39•9 years ago
|
||
(In reply to thanhluan07 from comment #37) > Hello > I have a question for this bug. Actually , I built Seamonkey and I would > like to have a exemple ( page web )to see the problem and test my changes. This bug is about the SeaMonkey themes. If your patch works correctly then you should see *no* change in the UI - that's how you can tell it's working. Also you should install the Force RTL addon to emulate RTL locales. Your patch should also work correctly in RTL locales.
Flags: needinfo?(thanhluan07)
Assignee | ||
Comment 40•9 years ago
|
||
I have made some modifications in the "themes" files of SeaMonkey to solve the present bug (Bug 552486 - Use text-align: start or end instead of left or right in SeaMonkey themes). Here the path with the related changes.
Flags: needinfo?(thanhluan07)
Comment 41•9 years ago
|
||
This looks good. Some things can be improved. > - text-align: right; > + text-align: end; > + /*text-align: right;*/ don't leave the original code commented out, just delete it. This is all you need: > - text-align: right; > + text-align: end; > @@ -153,11 +154,13 @@ > #collapseddateValue { > margin: 0 .5em; > - text-align: right; > + text-align: end; > + /*text-align: right;*/ To make reviews easier, please use eight lines of context. Currently you are using the default which is three. > -DIST_FILES += ['install.rdf'] > - This is part of some other bug.
Assignee: nobody → thanhluan07
Status: NEW → ASSIGNED
Assignee | ||
Comment 42•9 years ago
|
||
Thanks you for the review and for the recommendations. Here is the new path with the modifications that have been suggested in the precedent comment.
Comment 43•9 years ago
|
||
Thank you for the new patch.
> -DIST_FILES += ['install.rdf']
> -
This hasn't been removed from your patch.
diff context still at 3 lines. Use -U8 to increase context to 8 lines before and after.
Assignee | ||
Comment 44•9 years ago
|
||
Here I update the path for the current bug: the diff context line have been changed from 3 lines (default value) to 8 lines (-U8). Thank you for review.
Updated•9 years ago
|
Attachment #8609244 -
Flags: feedback?(philip.chee)
Assignee | ||
Comment 45•9 years ago
|
||
Do you have any feedback / review about the last path submitted?
Updated•9 years ago
|
Attachment #8609244 -
Flags: feedback?(bugzilla)
Comment 46•5 years ago
|
||
Comment on attachment 8609244 [details] [diff] [review] patch4.diff Clearing NI for no longer active contributors.
Attachment #8609244 -
Flags: feedback?(philip.chee)
Attachment #8609244 -
Flags: feedback?(frgrahl)
Attachment #8609244 -
Flags: feedback?(bugzilla)
Updated•5 years ago
|
Attachment #8420677 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #8606609 -
Attachment is obsolete: true
Updated•5 years ago
|
Attachment #8607492 -
Attachment is obsolete: true
Updated•4 years ago
|
Keywords: good-first-bug
Whiteboard: [good first bug][lang=css] → [lang=css]
You need to log in
before you can comment on or make changes to this bug.
Description
•