Re: spurious spaces around forceLTR insets

2023-09-26 Thread Udicoudco
On Mon, Apr 10, 2023 at 1:43 PM Jürgen Spitzmüller  wrote:
>
> Am Montag, dem 10.04.2023 um 08:38 +0200 schrieb Jürgen Spitzmüller:
> > Am Montag, dem 10.04.2023 um 08:08 +0200 schrieb Jürgen Spitzmüller:
> > > Let's address this next. I'll push the patch meanwhile.
> >
> > I have integrated a modification of the former patch on top of the
> > other. Please test.
>
> Udi,
>
> It seems that with luabidi (luatex/polyglossia), the \LRE needs to be
> wrapped itself in a group. Otherwise text that follows the \LRE{} is
> lost.
>
> Can you confirm?
> A MWE to try is https://www.lyx.org/trac/attachment/ticket/3005/LRE.lyx
>
> Attached a patch that fixes the issue for me.
>
> (Probably a bug in luabidi, but this package is virtually unmaintained)
>

Jürgen,

I've made a pull request  to luabidi that should fix this issue.
If you will commit, we can revert this patch.

Best regards,
Udi

> lyx-devel mailing list
> lyx-devel@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-devel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Boder of Frame inset not visible in dark mode

2023-09-26 Thread Daniel

On 2023-09-26 04:26, Daniel wrote:

On 2023-09-24 22:24, Dan wrote:

Hello,

PROBLEM

There is a frame whose outline is not visible in dark mode because it 
is black (Insert > Frame > Simple Frame).
The box inset name is "Boxed" 
(https://www.lyx.org/trac/browser/lyxgit/lib/layouts/stdinsets.inc#L504).


See the attached image for a showcase of all the frames showing the 
problem.


EXPECTED BEHAVIOUR
===
Simple Frame Box should have the same outline colour as the other frames.


A bug here that wpuld solve the problem is that the frame setting misses 
the proper "Default" value for its frame color.


When inserted, no special color is applied to the frame but the frame 
color is used. You can see this by changing the Main Text color (in 
Document Settings > Colors). If the default is changed to, say, red, the 
box gets that color in the output but still has "black" as frame color 
in the settings. Worse, once one changes the color in the frame settings 
to, say, blue, it is impossible to get the default behavior back since 
when switching back to "black", it is explicitly applied.


Daniel


Filed as #12921. (Hopefully with a better description than here.)

Daniel


--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel