[01:49] <caj> היי. התקנתי אובונטו ואני לא מצליח להתחבר לרשת. מישהו מבין בזה?
[23:02] <jkt> hi there; I'm trying to debug RTL support in Trojita, a Qt-based IMAP e-mail client which uses QtWebKit for rendering
[23:03] <jkt> this is my first time with bidi text and RTL, but I've already read a lot of docs, and know the HTML5/CSS rules for directionality computation of the <pre> blocks, which are going to be the problem here
[23:03] <jkt> it seems to me that the "directionality" and "where the text gets aligned" are two different things, at least that's how WebKit renders stuff now
[23:04] <jkt> i.e. if I have a <pre> with an English sentence at first followed by Hebrew, the English is displayed LTR, the Hebrew RTL, but it's all aligned to the left
[23:05] <jkt> when I put the Hebrew thing first, the directionality doesn't change (i.e. an English "Hello!" is shown as "Hello!", not as "!Hello"), but everything is aligned to the right
[23:05] <jkt> my naive understanding would be that the "directionality" and "alignment" should match, shouldn't it?
[23:12] <Avihay> if I read you correctly, then they should be separate things
[23:14] <jkt> well, should it look like this: http://trac.webkit.org/browser/trunk/LayoutTests/platform/mac/fast/text/international/unicode-bidi-plaintext-expected.png?rev=89864
[23:14] <jkt> or like this: https://codereview.chromium.org/23449026/patch/1/1004
[23:16] <Avihay> well, the second link shows the expected behaviour
[23:17] <jkt> thanks!
[23:17] <Avihay> but you should be able to left-align Hebrew explicitly same as you can right align English
[23:18] <jkt> the use case here is plaintext mail; I don't know what language it is in, unfortunately
[23:20] <Avihay> ok, so yes, the usual behaviour in most program is to decide directionality by the first letter, which isn't ideal but close enough
[23:20] <Avihay> in most cases
[23:20] <jkt> fyi, http://jkt.flaska.net/tmp/trojita-RTL-overview.png is how it currently looks like
[23:21] <Avihay> the first part seems fine
[23:21] <jkt> the composer is pretty smart, it even automatically quotes the RTL text with " <" on the right
[23:21] <jkt> so it looks like it's a webkit bug in the rendering
[23:21] <Avihay> the part in the second part should be aligned right as far as I know
[23:22] <jkt> just to make sure -- the "correct" place for indication that a piece of text is quoted, e.g. by a blue bar or something like that, is on the right when showing RTL text, right?
[23:23] <Avihay> humm, I don't know, never thought of it or seen an example of it
[23:23] <Avihay> I guess the answer is yes, but I don't mail in Hebrew that much
[23:24] <Avihay> arikb:  any input?
[23:24] <jkt> "neither do I" :)
[23:24] <Avihay> :->
[23:46] <arikb> No
[23:51] <jkt> thanks, guys