RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

tsmorton
With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint 18 and earlier RTL would display in an htmlWindow using wx.SetLayoutDirection(2). However, with the current versions of Ubuntu and Mint the display is always the default LTR. 

Is this an issue with the Wayland Display Manager which is now default on those OSs? Nevertheless, is there a way RTL display be restored on Classic?

Attached is a small app that will display a few lines of Hebrew to test with. 

Thanks,
Tim

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

htmlDemo-rtl.py (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

Scott Talbert
On Sun, 17 Jun 2018, tsmorton wrote:

> With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint 18 and earlier RTL
> would display in an htmlWindow using wx.SetLayoutDirection(2). However, with
> the current versions of Ubuntu and Mint the display is always the default
> LTR. 
> Is this an issue with the Wayland Display Manager which is now default on
> those OSs? Nevertheless, is there a way RTL display be restored on Classic?
>
> Attached is a small app that will display a few lines of Hebrew to test
> with. 

Can you describe what it looks like when it is correct and when it is not,
or perhaps provide screenshots?

Scott

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

tsmorton
In reply to this post by tsmorton
RTL is for right-to-left flowing languages like Hebrew, Arabic, Persian, etc. Here is an example of correct rendering and incorrect. Both examples have SetLayoutDirection set to 2 for RTL.

Tim

On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton wrote:
With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint 18 and earlier RTL would display in an htmlWindow using wx.SetLayoutDirection(2). However, with the current versions of Ubuntu and Mint the display is always the default LTR. 

Is this an issue with the Wayland Display Manager which is now default on those OSs? Nevertheless, is there a way RTL display be restored on Classic?

Attached is a small app that will display a few lines of Hebrew to test with. 

Thanks,
Tim

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

incorrect-rtl-Ubuntu1804.png (33K) Download Attachment
correct-rtl-mint18.png (26K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

Scott Talbert
Thanks - I get it now.

Are you using the distribution packages of wxPython on Ubuntu and Mint, or
did you compile it yourself?

On Mon, 18 Jun 2018, tsmorton wrote:

> RTL is for right-to-left flowing languages like Hebrew, Arabic, Persian,
> etc. Here is an example of correct rendering and incorrect. Both examples
> have SetLayoutDirection set to 2 for RTL.
> Tim
>
> On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton wrote:
>       With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint 18 and
>       earlier RTL would display in an htmlWindow using
>       wx.SetLayoutDirection(2). However, with the current versions of
>       Ubuntu and Mint the display is always the default LTR. 
> Is this an issue with the Wayland Display Manager which is now default
> on those OSs? Nevertheless, is there a way RTL display be restored on
> Classic?
>
> Attached is a small app that will display a few lines of Hebrew to
> test with. 
>
> Thanks,
> Tim
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>
>
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

tsmorton
Distribution packages for both.

On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott Talbert wrote:
Thanks - I get it now.

Are you using the distribution packages of wxPython on Ubuntu and Mint, or
did you compile it yourself?

On Mon, 18 Jun 2018, tsmorton wrote:

> RTL is for right-to-left flowing languages like Hebrew, Arabic, Persian,
> etc. Here is an example of correct rendering and incorrect. Both examples
> have SetLayoutDirection set to 2 for RTL.
> Tim
>
> On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton wrote:
>       With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint 18 and
>       earlier RTL would display in an htmlWindow using
>       wx.SetLayoutDirection(2). However, with the current versions of
>       Ubuntu and Mint the display is always the default LTR. 
> Is this an issue with the Wayland Display Manager which is now default
> on those OSs? Nevertheless, is there a way RTL display be restored on
> Classic?
>
> Attached is a small app that will display a few lines of Hebrew to
> test with. 
>
> Thanks,
> Tim
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="epvTQ7g7BQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-user...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
>

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

Scott Talbert
This is a wxWidgets problem and only happens on GTK+ 3, which explains why
you see it on Ubuntu 18.04 (wx there is compiled with GTK+ 3).

I filed a ticket about it:
https://trac.wxwidgets.org/ticket/18151

On Mon, 18 Jun 2018, tsmorton wrote:

> Distribution packages for both.
>
> On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott Talbert wrote:
>       Thanks - I get it now.
>
>       Are you using the distribution packages of wxPython on Ubuntu
>       and Mint, or
>       did you compile it yourself?
>
>       On Mon, 18 Jun 2018, tsmorton wrote:
>
>       > RTL is for right-to-left flowing languages like Hebrew,
>       Arabic, Persian,
>       > etc. Here is an example of correct rendering and incorrect.
>       Both examples
>       > have SetLayoutDirection set to 2 for RTL.
>       > Tim
>       >
>       > On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton wrote:
>       >       With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint
>       18 and
>       >       earlier RTL would display in an htmlWindow using
>       >       wx.SetLayoutDirection(2). However, with the current
>       versions of
>       >       Ubuntu and Mint the display is always the default LTR. 
>       > Is this an issue with the Wayland Display Manager which is now
>       default
>       > on those OSs? Nevertheless, is there a way RTL display be
>       restored on
>       > Classic?
>       >
>       > Attached is a small app that will display a few lines of
>       Hebrew to
>       > test with. 
>       >
>       > Thanks,
>       > Tim
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups
>       > "wxPython-users" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an
>       > email to [hidden email].
>       > For more options, visit https://groups.google.com/d/optout.
>       >
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>
>
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

tsmorton
I was afraid of that. Thanks for checking into it.

I assume this issue will occur in Phoenix as well?

Tim



On Tuesday, June 19, 2018 at 11:27:47 PM UTC-4, Scott Talbert wrote:
This is a wxWidgets problem and only happens on GTK+ 3, which explains why
you see it on Ubuntu 18.04 (wx there is compiled with GTK+ 3).

I filed a ticket about it:
<a href="https://trac.wxwidgets.org/ticket/18151" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;">https://trac.wxwidgets.org/ticket/18151

On Mon, 18 Jun 2018, tsmorton wrote:

> Distribution packages for both.
>
> On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott Talbert wrote:
>       Thanks - I get it now.
>
>       Are you using the distribution packages of wxPython on Ubuntu
>       and Mint, or
>       did you compile it yourself?
>
>       On Mon, 18 Jun 2018, tsmorton wrote:
>
>       > RTL is for right-to-left flowing languages like Hebrew,
>       Arabic, Persian,
>       > etc. Here is an example of correct rendering and incorrect.
>       Both examples
>       > have SetLayoutDirection set to 2 for RTL.
>       > Tim
>       >
>       > On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton wrote:
>       >       With wxPython 3.0 Classic on Ubuntu 17.10 and Linux Mint
>       18 and
>       >       earlier RTL would display in an htmlWindow using
>       >       wx.SetLayoutDirection(2). However, with the current
>       versions of
>       >       Ubuntu and Mint the display is always the default LTR. 
>       > Is this an issue with the Wayland Display Manager which is now
>       default
>       > on those OSs? Nevertheless, is there a way RTL display be
>       restored on
>       > Classic?
>       >
>       > Attached is a small app that will display a few lines of
>       Hebrew to
>       > test with. 
>       >
>       > Thanks,
>       > Tim
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups
>       > "wxPython-users" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an
>       > email to wxpython-user...@googlegroups.com.
>       > For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>       >
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="2Wyc1SQGBwAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-user...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
>

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

Scott Talbert
It does occur there as well.

On Wed, 20 Jun 2018, tsmorton wrote:

> I was afraid of that. Thanks for checking into it.
> I assume this issue will occur in Phoenix as well?
>
> Tim
>
>
>
> On Tuesday, June 19, 2018 at 11:27:47 PM UTC-4, Scott Talbert wrote:
>       This is a wxWidgets problem and only happens on GTK+ 3, which
>       explains why
>       you see it on Ubuntu 18.04 (wx there is compiled with GTK+ 3).
>
>       I filed a ticket about it:
>       https://trac.wxwidgets.org/ticket/18151
>
>       On Mon, 18 Jun 2018, tsmorton wrote:
>
>       > Distribution packages for both.
>       >
>       > On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott Talbert
>       wrote:
>       >       Thanks - I get it now.
>       >
>       >       Are you using the distribution packages of wxPython on
>       Ubuntu
>       >       and Mint, or
>       >       did you compile it yourself?
>       >
>       >       On Mon, 18 Jun 2018, tsmorton wrote:
>       >
>       >       > RTL is for right-to-left flowing languages like
>       Hebrew,
>       >       Arabic, Persian,
>       >       > etc. Here is an example of correct rendering and
>       incorrect.
>       >       Both examples
>       >       > have SetLayoutDirection set to 2 for RTL.
>       >       > Tim
>       >       >
>       >       > On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton
>       wrote:
>       >       >       With wxPython 3.0 Classic on Ubuntu 17.10 and
>       Linux Mint
>       >       18 and
>       >       >       earlier RTL would display in an htmlWindow using
>       >       >       wx.SetLayoutDirection(2). However, with the
>       current
>       >       versions of
>       >       >       Ubuntu and Mint the display is always the
>       default LTR. 
>       >       > Is this an issue with the Wayland Display Manager
>       which is now
>       >       default
>       >       > on those OSs? Nevertheless, is there a way RTL display
>       be
>       >       restored on
>       >       > Classic?
>       >       >
>       >       > Attached is a small app that will display a few lines
>       of
>       >       Hebrew to
>       >       > test with. 
>       >       >
>       >       > Thanks,
>       >       > Tim
>       >       >
>       >       > --
>       >       > You received this message because you are subscribed
>       to the
>       >       Google Groups
>       >       > "wxPython-users" group.
>       >       > To unsubscribe from this group and stop receiving
>       emails from
>       >       it, send an
>       >       > email to [hidden email].
>       >       > For more options, visit
>       https://groups.google.com/d/optout.
>       >       >
>       >       >
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups
>       > "wxPython-users" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an
>       > email to [hidden email].
>       > For more options, visit https://groups.google.com/d/optout.
>       >
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>
>
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

tsmorton
Scott,

I keep checking https://trac.wxwidgets.org/ticket/18151 and there does not seem to be any progress on this issue. Some of my users are quite upset that they can no longer view Hebrew, Arabic, Persian, etc., texts correctly when they update to any Linux distro that runs GTK+3. Some take it as an insult since there are millions who speak these languages and my app no longer supports them on Linux and I can not give them much hope except "The developers are working on it."

I would help if I could, but I'm not even sure which wx files need to be changed to accommodate GTK+3. Furthermore, it would take a while for any potential changes to make it into wxPython.

Do you have any suggestions?

Thanks,
Tim


On Wednesday, June 20, 2018 at 2:51:43 PM UTC-4, Scott Talbert wrote:
It does occur there as well.

On Wed, 20 Jun 2018, tsmorton wrote:

> I was afraid of that. Thanks for checking into it.
> I assume this issue will occur in Phoenix as well?
>
> Tim
>
>
>
> On Tuesday, June 19, 2018 at 11:27:47 PM UTC-4, Scott Talbert wrote:
>       This is a wxWidgets problem and only happens on GTK+ 3, which
>       explains why
>       you see it on Ubuntu 18.04 (wx there is compiled with GTK+ 3).
>
>       I filed a ticket about it:
>       <a href="https://trac.wxwidgets.org/ticket/18151" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;">https://trac.wxwidgets.org/ticket/18151
>
>       On Mon, 18 Jun 2018, tsmorton wrote:
>
>       > Distribution packages for both.
>       >
>       > On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott Talbert
>       wrote:
>       >       Thanks - I get it now.
>       >
>       >       Are you using the distribution packages of wxPython on
>       Ubuntu
>       >       and Mint, or
>       >       did you compile it yourself?
>       >
>       >       On Mon, 18 Jun 2018, tsmorton wrote:
>       >
>       >       > RTL is for right-to-left flowing languages like
>       Hebrew,
>       >       Arabic, Persian,
>       >       > etc. Here is an example of correct rendering and
>       incorrect.
>       >       Both examples
>       >       > have SetLayoutDirection set to 2 for RTL.
>       >       > Tim
>       >       >
>       >       > On Sunday, June 17, 2018 at 3:46:03 PM UTC-4, tsmorton
>       wrote:
>       >       >       With wxPython 3.0 Classic on Ubuntu 17.10 and
>       Linux Mint
>       >       18 and
>       >       >       earlier RTL would display in an htmlWindow using
>       >       >       wx.SetLayoutDirection(2). However, with the
>       current
>       >       versions of
>       >       >       Ubuntu and Mint the display is always the
>       default LTR. 
>       >       > Is this an issue with the Wayland Display Manager
>       which is now
>       >       default
>       >       > on those OSs? Nevertheless, is there a way RTL display
>       be
>       >       restored on
>       >       > Classic?
>       >       >
>       >       > Attached is a small app that will display a few lines
>       of
>       >       Hebrew to
>       >       > test with. 
>       >       >
>       >       > Thanks,
>       >       > Tim
>       >       >
>       >       > --
>       >       > You received this message because you are subscribed
>       to the
>       >       Google Groups
>       >       > "wxPython-users" group.
>       >       > To unsubscribe from this group and stop receiving
>       emails from
>       >       it, send an
>       >       > email to wxpython-user...@googlegroups.com.
>       >       > For more options, visit
>       <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>       >       >
>       >       >
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups
>       > "wxPython-users" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an
>       > email to wxpython-user...@googlegroups.com.
>       > For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>       >
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="YAo25k20BgAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-user...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
>

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

Scott Talbert
Unfortunately, it's the age old problem of too many bugs and not enough
time.  I'll try to find some time to start looking into it again.

As a workaround, you could look into using wx.html2 instead.  I don't
think it would be affected by the problem.

On Tue, 23 Oct 2018, tsmorton wrote:

> Scott,
> I keep checking https://trac.wxwidgets.org/ticket/18151 and there does not
> seem to be any progress on this issue. Some of my users are quite upset that
> they can no longer view Hebrew, Arabic, Persian, etc., texts correctly when
> they update to any Linux distro that runs GTK+3. Some take it as an insult
> since there are millions who speak these languages and my app no longer
> supports them on Linux and I can not give them much hope except "The
> developers are working on it."
>
> I would help if I could, but I'm not even sure which wx files need to be
> changed to accommodate GTK+3. Furthermore, it would take a while for any
> potential changes to make it into wxPython.
>
> Do you have any suggestions?
>
> Thanks,
> Tim
>
>
> On Wednesday, June 20, 2018 at 2:51:43 PM UTC-4, Scott Talbert wrote:
>       It does occur there as well.
>
>       On Wed, 20 Jun 2018, tsmorton wrote:
>
>       > I was afraid of that. Thanks for checking into it.
>       > I assume this issue will occur in Phoenix as well?
>       >
>       > Tim
>       >
>       >
>       >
>       > On Tuesday, June 19, 2018 at 11:27:47 PM UTC-4, Scott Talbert
>       wrote:
>       >       This is a wxWidgets problem and only happens on GTK+ 3,
>       which
>       >       explains why
>       >       you see it on Ubuntu 18.04 (wx there is compiled with
>       GTK+ 3).
>       >
>       >       I filed a ticket about it:
>       >       https://trac.wxwidgets.org/ticket/18151
>       >
>       >       On Mon, 18 Jun 2018, tsmorton wrote:
>       >
>       >       > Distribution packages for both.
>       >       >
>       >       > On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott
>       Talbert
>       >       wrote:
>       >       >       Thanks - I get it now.
>       >       >
>       >       >       Are you using the distribution packages of
>       wxPython on
>       >       Ubuntu
>       >       >       and Mint, or
>       >       >       did you compile it yourself?
>       >       >
>       >       >       On Mon, 18 Jun 2018, tsmorton wrote:
>       >       >
>       >       >       > RTL is for right-to-left flowing languages
>       like
>       >       Hebrew,
>       >       >       Arabic, Persian,
>       >       >       > etc. Here is an example of correct rendering
>       and
>       >       incorrect.
>       >       >       Both examples
>       >       >       > have SetLayoutDirection set to 2 for RTL.
>       >       >       > Tim
>       >       >       >
>       >       >       > On Sunday, June 17, 2018 at 3:46:03 PM UTC-4,
>       tsmorton
>       >       wrote:
>       >       >       >       With wxPython 3.0 Classic on Ubuntu
>       17.10 and
>       >       Linux Mint
>       >       >       18 and
>       >       >       >       earlier RTL would display in an
>       htmlWindow using
>       >       >       >       wx.SetLayoutDirection(2). However, with
>       the
>       >       current
>       >       >       versions of
>       >       >       >       Ubuntu and Mint the display is always
>       the
>       >       default LTR. 
>       >       >       > Is this an issue with the Wayland Display
>       Manager
>       >       which is now
>       >       >       default
>       >       >       > on those OSs? Nevertheless, is there a way RTL
>       display
>       >       be
>       >       >       restored on
>       >       >       > Classic?
>       >       >       >
>       >       >       > Attached is a small app that will display a
>       few lines
>       >       of
>       >       >       Hebrew to
>       >       >       > test with. 
>       >       >       >
>       >       >       > Thanks,
>       >       >       > Tim
>       >       >       >
>       >       >       > --
>       >       >       > You received this message because you are
>       subscribed
>       >       to the
>       >       >       Google Groups
>       >       >       > "wxPython-users" group.
>       >       >       > To unsubscribe from this group and stop
>       receiving
>       >       emails from
>       >       >       it, send an
>       >       >       > email to [hidden email].
>       >       >       > For more options, visit
>       >       https://groups.google.com/d/optout.
>       >       >       >
>       >       >       >
>       >       >
>       >       > --
>       >       > You received this message because you are subscribed
>       to the
>       >       Google Groups
>       >       > "wxPython-users" group.
>       >       > To unsubscribe from this group and stop receiving
>       emails from
>       >       it, send an
>       >       > email to [hidden email].
>       >       > For more options, visit
>       https://groups.google.com/d/optout.
>       >       >
>       >       >
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups
>       > "wxPython-users" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an
>       > email to [hidden email].
>       > For more options, visit https://groups.google.com/d/optout.
>       >
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [hidden email].
> For more options, visit https://groups.google.com/d/optout.
>
>
--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: RTL Display No Longer Works in Ubuntu 18.04 and Linux Mint 19 (Classic-htmlWindow)

tsmorton
I understand, and thanks for what you do.

html2 is great except the current wxP version (3.0) does not return any click or mouseover events to the app. From what I understand wx 3.1 does do this somewhat but it is not in wxP yet.


Tim



On Tuesday, October 23, 2018 at 9:16:33 PM UTC-4, Scott Talbert wrote:
Unfortunately, it's the age old problem of too many bugs and not enough
time.  I'll try to find some time to start looking into it again.

As a workaround, you could look into using wx.html2 instead.  I don't
think it would be affected by the problem.

On Tue, 23 Oct 2018, tsmorton wrote:

> Scott,
> I keep checking <a href="https://trac.wxwidgets.org/ticket/18151" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;">https://trac.wxwidgets.org/ticket/18151 and there does not
> seem to be any progress on this issue. Some of my users are quite upset that
> they can no longer view Hebrew, Arabic, Persian, etc., texts correctly when
> they update to any Linux distro that runs GTK+3. Some take it as an insult
> since there are millions who speak these languages and my app no longer
> supports them on Linux and I can not give them much hope except "The
> developers are working on it."
>
> I would help if I could, but I'm not even sure which wx files need to be
> changed to accommodate GTK+3. Furthermore, it would take a while for any
> potential changes to make it into wxPython.
>
> Do you have any suggestions?
>
> Thanks,
> Tim
>
>
> On Wednesday, June 20, 2018 at 2:51:43 PM UTC-4, Scott Talbert wrote:
>       It does occur there as well.
>
>       On Wed, 20 Jun 2018, tsmorton wrote:
>
>       > I was afraid of that. Thanks for checking into it.
>       > I assume this issue will occur in Phoenix as well?
>       >
>       > Tim
>       >
>       >
>       >
>       > On Tuesday, June 19, 2018 at 11:27:47 PM UTC-4, Scott Talbert
>       wrote:
>       >       This is a wxWidgets problem and only happens on GTK+ 3,
>       which
>       >       explains why
>       >       you see it on Ubuntu 18.04 (wx there is compiled with
>       GTK+ 3).
>       >
>       >       I filed a ticket about it:
>       >       <a href="https://trac.wxwidgets.org/ticket/18151" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Ftrac.wxwidgets.org%2Fticket%2F18151\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFks892bBFg25e0uPw9betKx-V1gA&#39;;return true;">https://trac.wxwidgets.org/ticket/18151
>       >
>       >       On Mon, 18 Jun 2018, tsmorton wrote:
>       >
>       >       > Distribution packages for both.
>       >       >
>       >       > On Monday, June 18, 2018 at 8:24:39 PM UTC-4, Scott
>       Talbert
>       >       wrote:
>       >       >       Thanks - I get it now.
>       >       >
>       >       >       Are you using the distribution packages of
>       wxPython on
>       >       Ubuntu
>       >       >       and Mint, or
>       >       >       did you compile it yourself?
>       >       >
>       >       >       On Mon, 18 Jun 2018, tsmorton wrote:
>       >       >
>       >       >       > RTL is for right-to-left flowing languages
>       like
>       >       Hebrew,
>       >       >       Arabic, Persian,
>       >       >       > etc. Here is an example of correct rendering
>       and
>       >       incorrect.
>       >       >       Both examples
>       >       >       > have SetLayoutDirection set to 2 for RTL.
>       >       >       > Tim
>       >       >       >
>       >       >       > On Sunday, June 17, 2018 at 3:46:03 PM UTC-4,
>       tsmorton
>       >       wrote:
>       >       >       >       With wxPython 3.0 Classic on Ubuntu
>       17.10 and
>       >       Linux Mint
>       >       >       18 and
>       >       >       >       earlier RTL would display in an
>       htmlWindow using
>       >       >       >       wx.SetLayoutDirection(2). However, with
>       the
>       >       current
>       >       >       versions of
>       >       >       >       Ubuntu and Mint the display is always
>       the
>       >       default LTR. 
>       >       >       > Is this an issue with the Wayland Display
>       Manager
>       >       which is now
>       >       >       default
>       >       >       > on those OSs? Nevertheless, is there a way RTL
>       display
>       >       be
>       >       >       restored on
>       >       >       > Classic?
>       >       >       >
>       >       >       > Attached is a small app that will display a
>       few lines
>       >       of
>       >       >       Hebrew to
>       >       >       > test with. 
>       >       >       >
>       >       >       > Thanks,
>       >       >       > Tim
>       >       >       >
>       >       >       > --
>       >       >       > You received this message because you are
>       subscribed
>       >       to the
>       >       >       Google Groups
>       >       >       > "wxPython-users" group.
>       >       >       > To unsubscribe from this group and stop
>       receiving
>       >       emails from
>       >       >       it, send an
>       >       >       > email to wxpython-user...@googlegroups.com.
>       >       >       > For more options, visit
>       >       <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>       >       >       >
>       >       >       >
>       >       >
>       >       > --
>       >       > You received this message because you are subscribed
>       to the
>       >       Google Groups
>       >       > "wxPython-users" group.
>       >       > To unsubscribe from this group and stop receiving
>       emails from
>       >       it, send an
>       >       > email to wxpython-user...@googlegroups.com.
>       >       > For more options, visit
>       <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>       >       >
>       >       >
>       >
>       > --
>       > You received this message because you are subscribed to the
>       Google Groups
>       > "wxPython-users" group.
>       > To unsubscribe from this group and stop receiving emails from
>       it, send an
>       > email to wxpython-user...@googlegroups.com.
>       > For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>       >
>       >
>
> --
> You received this message because you are subscribed to the Google Groups
> "wxPython-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="6hfKA_fWBQAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">wxpython-user...@googlegroups.com.
> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;">https://groups.google.com/d/optout.
>
>

--
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.