On Fri, 11 May 2001, Uri Bruck wrote:

> As for testing how things actually work on Windows,
> The behavior on Windows in widgets and in applications is not necessarily
> the same. In widgets:

It is consistent across widgets drawn by the OS's graphical toolkit. it
isn't consistant in applications that draw the screen themselves - like
MS-Word, and I don't think we should take this as an example - similar
inconsistency apears in many Unix/Linux applications.

> As for when this happens, in the ?Ctrl-Shift case, the change happens when
> the shift key is released, provided the Ctrl key is still down. It does
> not happen if the Ctrl key is releasd first.

Not so in 2k or 98se. I'm not sure where you tested this, but the
behaviour I noticed is pretty consistent across widgets, input methods and
versions, and it's this consistent behaviour that we need to mimick

> in the altShift case, it happens when either key is released. >
> In Word, f'rinstance. ctrlShift changes both language and alignment, and
> altShift toggles between all the installed languages.
> In Notepad, language and alignment always go together.

In notepad you can - like in all memo widgets - to change the
alignment or just the writing direction. changing alignment implies
changing direction, but not vice versa. this behaviour is very consistant.

> Not necessarily a model to go by. Alignment and language need not be
> married to each other.

It is a model to go by. language isn't dependant on alignment, but writing
direction should be changed when alignment is changed - and hence the
current language (If I switched the widgets alignment from LTR to RTL, I
think it's safe to assume that I also dont want to write in english any
more). the way it should
work (I think. I'm also not sure how MS handles it), is to keep two
seperate cache lists - one for RTL and one for LTR, and when alignment
changes to get the recently used language that match the widget's
alignment.

Oded



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to