Re: Assertion from using Color in LabelFont in arguments in insets

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 à 23:54, Richard Heck a écrit : I would propose this. Seems reasonable. So shall I commit? What did your earlier patch do? I do have some general questions about the way labelfont_ is set in InsetArgument. It seems to get reset (along with a lot of other private variables)

Re: Assertion from using Color in LabelFont in arguments in insets

2016-07-18 Thread Richard Heck
On 07/18/2016 02:43 PM, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 18:53, Richard Heck a écrit : >> On 07/18/2016 06:26 AM, Andrew Parsloe wrote: >>> I've attached a MWE in which a flex inset is defined in a local layout >>> (and validates). However, as soon as I try to insert the argument LyX

Re: about the new "invert branch feature"

2016-07-18 Thread Richard Heck
On 07/18/2016 05:40 PM, Guillaume Munch wrote: > Le 18/07/2016 21:59, Jean-Marc Lasgouttes a écrit : >> Le 18/07/2016 à 22:21, Guillaume Munch a écrit : >>> I vote ¬ over striking out, and agree that users will figure it out. >>> But I expect other people will prefer it spelled. Let's wait and

Re: about the new "invert branch feature"

2016-07-18 Thread Guillaume Munch
Le 18/07/2016 21:59, Jean-Marc Lasgouttes a écrit : Le 18/07/2016 à 22:21, Guillaume Munch a écrit : I vote ¬ over striking out, and agree that users will figure it out. But I expect other people will prefer it spelled. Let's wait and see. And shall ✔ mean that the inset is activated or that

Re: [PATCH] make string breaking faster

2016-07-18 Thread Jean-Marc Lasgouttes
Le 07/07/2016 à 23:58, Jean-Marc Lasgouttes a écrit : So, what is the secret patch, I hear you ask? Here it is for your enjoyment. The idea is to keep around the glyph representation of our row elements and to use them even for drawing. It is not quite ready, but as you see, it works. In a first

Re: about the new "invert branch feature"

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 à 22:21, Guillaume Munch a écrit : I vote ¬ over striking out, and agree that users will figure it out. But I expect other people will prefer it spelled. Let's wait and see. And shall ✔ mean that the inset is activated or that the branch is activated? I vote for the former.

Re: about the new "invert branch feature"

2016-07-18 Thread Guillaume Munch
Le 18/07/2016 16:44, Richard Heck a écrit : I'm not sure how "intuitive" the symbols here need to be. People may not realize immediately what "✔ ¬Branch" means, but I would think they would generally figure it out pretty quickly. Plus of course it can be mentioned in the docs. And I'm not sure

Re: Assertion from using Color in LabelFont in arguments in insets

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 18:53, Richard Heck a écrit : On 07/18/2016 06:26 AM, Andrew Parsloe wrote: I've attached a MWE in which a flex inset is defined in a local layout (and validates). However, as soon as I try to insert the argument LyX generates the assertion in the attached png. It seems to be the

Re: Assertion from using Color in LabelFont in arguments in insets

2016-07-18 Thread Richard Heck
On 07/18/2016 06:26 AM, Andrew Parsloe wrote: > I've attached a MWE in which a flex inset is defined in a local layout > (and validates). However, as soon as I try to insert the argument LyX > generates the assertion in the attached png. It seems to be the use of > Color in the LabelFont

Re: about the new "invert branch feature"

2016-07-18 Thread Richard Heck
On 07/18/2016 11:01 AM, Guillaume Munch wrote: > Le 18/07/2016 15:33, Jean-Marc Lasgouttes a écrit : >> Le 18/07/2016 à 04:20, Richard Heck a écrit : >>> * "invert inset" and "activate branch" do not belong together, since one is for the whole branch and the other is for only one inset

Re: default dir when save for first time is not cwd

2016-07-18 Thread Richard Heck
On 07/18/2016 02:16 AM, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 07:53, Scott Kostyshak a écrit : >> On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: >> >>> Shouldn't you make a difference in the help string? >> >> If that is the case then definitely yes. And that also

Re: Format backup is annoying...

2016-07-18 Thread Richard Heck
On 07/18/2016 09:27 AM, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 à 11:56, Scott Kostyshak a écrit : >> On Mon, Jul 18, 2016 at 11:13:12AM +0200, Jean-Marc Lasgouttes wrote: >>> ... and I cannot disable it. Would it be possible to have a way to >>> disable >>> this feature, at least with files

Re: [LyX/2.2.2-staging] The way this was previously, it had to fail if the GUI language was not English: We return the the abbreviated author "One and Two", but translated to the GUI language; then we

2016-07-18 Thread Richard Heck
On 07/18/2016 05:22 AM, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 à 04:56, Richard Heck a écrit : >> commit 4a75d358a1f0f6c4b63b64107c86d59cce4eecf9 >> Author: Richard Heck >> Date: Sun Jul 17 22:50:17 2016 -0400 >> >> The way this was previously, it had to fail if the GUI

Re: regression introduced in branch and about our layout/module dependency handling

2016-07-18 Thread Richard Heck
On 07/18/2016 02:23 AM, Jürgen Spitzmüller wrote: > Am Montag, den 18.07.2016, 07:31 +0200 schrieb Jean-Marc Lasgouttes: >> My thinking is only related to MikTeX: the LyX installer could have >> a list of "packages nice to have with LyX" and instruct MikTeX through >> the relevant API to install

Re: default dir when save for first time is not cwd

2016-07-18 Thread Guillaume Munch
Le 18/07/2016 06:02, Scott Kostyshak a écrit : Attached is a patch with a detailed commit message, and a screenshot of the paths preferences tab with the patch. Any thoughts? Regarding the help text, one could just display the first sentence and have the rest in a tooltip. A "?" icon could

Re: [PATCH] make string breaking faster

2016-07-18 Thread Guillaume Munch
Le 17/07/2016 18:31, Jean-Marc Lasgouttes a écrit : Guillaume, I'd like to have your input wrt this patch and Qt 5.x. I would prefer for cleanness to avoid double caching in this case and keep the patch Qt4 only. Makes sense.

Re: about the new "invert branch feature"

2016-07-18 Thread Guillaume Munch
Le 18/07/2016 15:33, Jean-Marc Lasgouttes a écrit : Le 18/07/2016 à 04:20, Richard Heck a écrit : * "invert inset" and "activate branch" do not belong together, since one is for the whole branch and the other is for only one inset (I understand this is the reason for the name above). Some

Re: about the new "invert branch feature"

2016-07-18 Thread Jean-Marc Lasgouttes
[I answer back to the list] Le 18/07/2016 à 04:20, Richard Heck a écrit : On 07/17/2016 01:22 PM, Jean-Marc Lasgouttes wrote: I reall like the new invert branch feature, but I have issues with the UI: * "invert inset" does not mean anything to me. "Inverted branch inset" would be better IMO,

Re: #10145: Lyx 2.2rc1 Mac not opening

2016-07-18 Thread Bryan Brown
Yes. It worked without a hitch. > On Jul 2, 2016, at 4:08 AM, LyX Ticket Tracker wrote: > > #10145: Lyx 2.2rc1 Mac not opening > ---+- > Reporter: bwbwn | Owner: lasgouttes > Type: defect | Status: new >

Re: Format backup is annoying...

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 à 11:56, Scott Kostyshak a écrit : On Mon, Jul 18, 2016 at 11:13:12AM +0200, Jean-Marc Lasgouttes wrote: ... and I cannot disable it. Would it be possible to have a way to disable this feature, at least with files that are in version control systems? I get That would be nice

Assertion from using Color in LabelFont in arguments in insets

2016-07-18 Thread Andrew Parsloe
I've attached a MWE in which a flex inset is defined in a local layout (and validates). However, as soon as I try to insert the argument LyX generates the assertion in the attached png. It seems to be the use of Color in the LabelFont specification in Argument 1 that is the problem. Family,

Re: Format backup is annoying...

2016-07-18 Thread Scott Kostyshak
On Mon, Jul 18, 2016 at 11:13:12AM +0200, Jean-Marc Lasgouttes wrote: > ... and I cannot disable it. Would it be possible to have a way to disable > this feature, at least with files that are in version control systems? I get That would be nice indeed for files in version control systems. > my

Re: [LyX/master] Use a proper test for detecting usable std::regex

2016-07-18 Thread Jean-Marc Lasgouttes
Le 08/07/2016 à 22:18, Guillaume Munch a écrit : It takes several seconds each time... Is it better now? JMarc

Re: [LyX/2.2.2-staging] The way this was previously, it had to fail if the GUI language was not English: We return the the abbreviated author "One and Two", but translated to the GUI language; then we

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 à 04:56, Richard Heck a écrit : commit 4a75d358a1f0f6c4b63b64107c86d59cce4eecf9 Author: Richard Heck Date: Sun Jul 17 22:50:17 2016 -0400 The way this was previously, it had to fail if the GUI language was not English: We return the the abbreviated

Format backup is annoying...

2016-07-18 Thread Jean-Marc Lasgouttes
... and I cannot disable it. Would it be possible to have a way to disable this feature, at least with files that are in version control systems? I get my directories polluted with these -lyxformat-xxx.lyx files, and I am not sure this makes me a happier camper. JMarc

Re: default dir when save for first time is not cwd

2016-07-18 Thread Scott Kostyshak
On Mon, Jul 18, 2016 at 08:16:42AM +0200, Jean-Marc Lasgouttes wrote: > Le 18/07/2016 07:53, Scott Kostyshak a écrit : > > On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: > > > > > Shouldn't you make a difference in the help string? > > > > If that is the case then

Re: regression introduced in branch and about our layout/module dependency handling

2016-07-18 Thread Jürgen Spitzmüller
Am Montag, den 18.07.2016, 07:31 +0200 schrieb Jean-Marc Lasgouttes: > My thinking is only related to MikTeX: the LyX installer could have > a  > list of "packages nice to have with LyX" and instruct MikTeX through > the  > relevant API to install them. That would do the same as the dummy  >

Re: regression introduced in branch and about our layout/module dependency handling

2016-07-18 Thread Jürgen Spitzmüller
Am Sonntag, den 17.07.2016, 19:01 +0200 schrieb Jean-Marc Lasgouttes: > Is this fixed with the recent update of texlive at Juergen's request Yes. Jürgen signature.asc Description: This is a digitally signed message part

Re: default dir when save for first time is not cwd

2016-07-18 Thread Jean-Marc Lasgouttes
Le 18/07/2016 07:53, Scott Kostyshak a écrit : On Mon, Jul 18, 2016 at 07:37:07AM +0200, Jean-Marc Lasgouttes wrote: Shouldn't you make a difference in the help string? If that is the case then definitely yes. And that also diminishes one of the advantages of consistency I claimed. Well,