Re: Error: attempt to compare iterators from different sequences

2024-05-20 Thread Jean-Marc Lasgouttes
Le 20/05/2024 à 03:45, Scott Kostyshak a écrit : Great, thanks! I pulled in the fix, made a fresh build and I get another error along the same lines. Note my version shows I've pulled in Riki's fix: $ lyx --version LyX 2.5.0~devel (2024-05-20) Git commit hash 2d86b881 I attach the

Re: [LyX/master] Address Qt 6.7 deprecation warning

2024-05-20 Thread Jean-Marc Lasgouttes
Le 20/05/2024 à 14:02, Jürgen Spitzmüller a écrit : Am Montag, dem 20.05.2024 um 10:37 +0200 schrieb Jean-Marc Lasgouttes: What about putting it in  2.4.1? Yes, why not. Currently it is just another annoying warning, though. Yes, but eventually it will bite. And we know that 2.4 will stay

Re: Error: attempt to compare iterators from different sequences

2024-05-20 Thread Jean-Marc Lasgouttes
This is very weird. It is at the same location AFAICS. JMarc Le 20 mai 2024 03:45:23 GMT+02:00, Scott Kostyshak a écrit : -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Address Qt 6.7 deprecation warning

2024-05-20 Thread Jean-Marc Lasgouttes
What about putting it in 2.4.1? JMarc Le 20 mai 2024 09:49:57 GMT+02:00, Juergen Spitzmueller a écrit  : >commit 44633c7f729e79ea023f2a5ccbbdd0002411619f >Author: Juergen Spitzmueller >Date: Mon May 20 09:49:10 2024 +0200 > >Address Qt 6.7 deprecation warning >--- >

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 20:20, Jean-Marc Lasgouttes a écrit : If you look at the error details, it seems to me that the addresses are different. But this is weird. Note that we can use count() instead of find(), which would solve the issue. What about that? It seems that the compiler was right

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 20:11, Richard Kimberly Heck a écrit : On 5/19/24 13:55, Scott Kostyshak wrote: On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote: Le 18/05/2024 à 17:28, Scott Kostyshak a écrit : When I compile LyX with some compiler debug flags and extra checks, I get

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 19/05/2024 à 19:55, Scott Kostyshak a écrit : On Sun, May 19, 2024 at 07:27:42PM GMT, Jean-Marc Lasgouttes wrote: Le 18/05/2024 à 17:28, Scott Kostyshak a écrit : When I compile LyX with some compiler debug flags and extra checks, I get the output below when trying to compile a .lyx file

Re: Workarea does not follow search in master

2024-05-19 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 18:48, Scott Kostyshak a écrit : Not sure if it's related, but after a search, if I press escape to hide the search bar, the part of the work area behind the search panel is missing a painting update until I scroll. I failed to reproduce this with master with xcb and wayland,

Re: Error: attempt to compare iterators from different sequences

2024-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2024 à 17:28, Scott Kostyshak a écrit : When I compile LyX with some compiler debug flags and extra checks, I get the output below when trying to compile a .lyx file to PDF. Anything worth fixing here? Definitely. Could you run it under gdb and tell us where the error happened to

Re: Tests failing on recent master

2024-05-19 Thread Jean-Marc Lasgouttes
Le 18/05/2024 à 17:45, Jürgen Spitzmüller a écrit : Am Samstag, dem 18.05.2024 um 16:28 +0200 schrieb Kornel Benko: How should I know? I am reacting to the output of valgrind only. I'd like to understand why the patch is needed. And why only for this boolean. Otherwise it seems just a shot in

Re: Tests failing on recent master

2024-05-18 Thread Jean-Marc Lasgouttes
Le 18/05/2024 à 13:52, Kornel Benko a écrit : Test passes after the attached patch. The patch looks good. Is this where other variables are initialized, or is it in the constructor here? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Workarea does not follow search in master

2024-05-17 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 06:25, Jürgen Spitzmüller a écrit : The screen moves a bit, but not to the point where the highlighted match is. Should be OK now. Note that the cause was more profound than I anticipated, I hope I got it right. I added some assertions for good measure, so that we will soon

Re: Tests failing on recent master

2024-05-17 Thread Jean-Marc Lasgouttes
Le 17/05/2024 à 14:46, Scott Kostyshak a écrit : On Fri, May 17, 2024 at 12:04:49PM GMT, Kornel Benko wrote: Am Fri, 17 May 2024 05:57:27 +0200 schrieb "Jürgen Spitzmüller" : Am Donnerstag, dem 16.05.2024 um 22:19 +0200 schrieb Kornel Benko: -- Error line = /usr2/src/lyx/lyx-

Re: Regression in 2.4.0

2024-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 22:38, Jean-Marc Lasgouttes a écrit : Why do we have an exception for arabic-arabi? Is the output different from hebrew? My guess is that it was in 2017 when I wrote f1dd80f464b46f61:    * the language arabic_arabi also sets leqno by default. This is   currently

Re: Regression in 2.4.0

2024-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 21:28, Udicoudco a écrit : I'm not currently at home, I'm house sitting my mothers place for the weekend. I've actually brought my PC with me, but was disappointed to discover that the only monitor here is not compatible with my PC... The neighbours lent me a TV screen so now I'm

Re: Workarea does not follow search in master

2024-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 17:05, Jürgen Spitzmüller a écrit : Am Donnerstag, dem 16.05.2024 um 10:00 +0200 schrieb Jean-Marc Lasgouttes: If the situation is too annoying, I can revert it. No pressure from my side. I can live with it. Just wanted to bring it to your attention. Fine, thanks. JMarc

Re: Regression in 2.4.0

2024-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 17:05, Richard Kimberly Heck a écrit : We're still sorting out a cmake issue on Windows, so this could go to 2.4.x, if you're sure it's safe. That's the thing. I won't be sure until Udi gives me some feedback. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Regression in 2.4.0

2024-05-16 Thread Jean-Marc Lasgouttes
Le 15/05/2024 à 15:00, Udicoudco a écrit : About the side, I thought I had tested that in some way. Is the side consistent across all methods to switch to Hebrew (babel, polyglossia, something else I do not know…)? It turns out that we kept the equation number to the right (in intent) for all

Re: Workarea does not follow search in master

2024-05-16 Thread Jean-Marc Lasgouttes
Le 16/05/2024 à 06:25, Jürgen Spitzmüller a écrit : The screen moves a bit, but not to the point where the highlighted match is. I have been looking at a similar issue (with buffer-end), but I do not know yet what the issue is. The culprit is a4d9315bc4944. If the situation is too

Re: Biginset branch has landed (sorry for the spam)

2024-05-15 Thread Jean-Marc Lasgouttes
Le 11/04/2024 à 23:55, Jean-Marc Lasgouttes a écrit : Le 11/04/2024 à 18:21, Stephan Witt a écrit : Is it new to master (i.e., the biginset branch)? I think it’s new. If you have time to make a video I would be interested to see it because I cannot reproduce on X (I have to try Wayland

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-15 Thread Jean-Marc Lasgouttes
Le 10/05/2024 à 18:16, fcana...@gmail.com a écrit : Yes, I still have the issue. I am attaching a screencast, recorded on M2 Mac with fresh install of version 2.4.0~RC4 after deleting all user-defined preferences from previous version. Thanks for the very clear screencast. I am still not

Re: Bug tracker

2024-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2024 à 14:02, Pavel Sanda a écrit : On Wed, May 15, 2024 at 12:46:07PM +0100, Andre Silva wrote: I would like to report what appears to be a new bug. How can I register to the LyX Bug Tracker? I will create the account for you. Pavel OK, so I let you do it Pavel. JMarc --

Re: Regression in 2.4.0

2024-05-15 Thread Jean-Marc Lasgouttes
Le 15/05/2024 à 13:51, Udicoudco a écrit : Yes, sorry for not being clear, the PDF output is OK, it is the GUI that has changed, the equation tagging is on the wrong side and a bit lower than the equation. I attached an example file and a couple of screenshots. About the side, I thought I had

Re: Regression in 2.4.0

2024-05-15 Thread Jean-Marc Lasgouttes
Le 10/05/2024 à 20:34, Udicoudco a écrit : Dear all, I think I've encountered a regression in the 2.4 branch. The location of equation numbers/tags in RTL paragraphs seems wrong to me. Could you give more details about why it seems wrong? I did not manage to set up a working Hebrew

Re: TESTING Tarballs for 2.4.0

2024-05-13 Thread Jean-Marc Lasgouttes
Le 13/05/2024 à 23:48, Richard Kimberly Heck a écrit : Hi, all, Tarballs for 2.4.0 are here:     http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/ Please test. Please let me know if I forgot to do or include anything. Hold off on binaries for now. Thanks Riki, it works well in C++11 mode on

Re: Regression in 2.4.0

2024-05-11 Thread Jean-Marc Lasgouttes
Yes an example will be useful. I guess it is my display code that is at fault. JMarc Le 11 mai 2024 12:25:39 GMT+02:00, "Jürgen Spitzmüller" a écrit : >Am Freitag, dem 10.05.2024 um 21:34 +0300 schrieb Udicoudco: >> Dear all,  >> >> I think I've encountered a regression in the 2.4 branch. 

Re: Final 2.3.8 Tarballs

2024-05-09 Thread Jean-Marc Lasgouttes
Le 09/05/2024 à 12:10, Jürgen Spitzmüller a écrit : Am Donnerstag, dem 09.05.2024 um 09:03 +0200 schrieb Enrico Forestieri: Maybe Jürgen knows how feasible is backporting the cprotect work. Definitely too much work. This is not a new bug in 2.3.8, right? In some sense the lyx2lyx bug is a

Re: [LyX/master] Fix up 'Reduce metrics updates from 4 to 1 when loading file'

2024-05-07 Thread Jean-Marc Lasgouttes
Le 07/05/2024 à 04:49, Scott Kostyshak a écrit : Yes, I am aware of that, I'll try to fix it tomorrow. I hoped to do that before anyone noticed ;) Sounds good! No rush. It is fixed now. I guess macOS was affected too. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Fix up 'Reduce metrics updates from 4 to 1 when loading file'

2024-05-06 Thread Jean-Marc Lasgouttes
Le 6 mai 2024 18:06:43 GMT+02:00, Scott Kostyshak a écrit : >> Now when I start up LyX with no document (such that it shows the splash >> screen), and then start a new document, there seems to be a missing >> update. See attached. > Hi Scott, Yes, I am aware of that, I'll try to fix it

Re: questions around an idea i have for a feature in lyx

2024-05-03 Thread Jean-Marc Lasgouttes
Le 03/05/2024 à 11:28, matan guedj a écrit : Hello, I've had a few questions revolving around an idea that I had recently trying to teach myself pgfplots. I'm fairly new to LyX and LaTeX in general (started using both in January 2024) and I'm also no programmer (I've had an introductory

Re: Minor performance issue on shift + down, shift + up on includes

2024-05-03 Thread Jean-Marc Lasgouttes
Le 03/05/2024 à 11:56, Jean-Marc Lasgouttes a écrit : I have part of the answer: the slight delay comes from the fact that updateBuffer() is invoked when the selection becomes empty, and since it goes through all documents, this takes some time. Now I have to find out why. Fixed in master

Re: Minor performance issue on shift + down, shift + up on includes

2024-05-03 Thread Jean-Marc Lasgouttes
Le 22/04/2024 à 20:47, Scott Kostyshak a écrit : To reproduce: 1. Move the attached file in the lib/docs directory. 2. Open the file. 3. Put the cursor before, e.g., the Additional.lyx include. 4. Press Shift + Down (or Shift + Up). Result is that there is a small pause before the selection is

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-02 Thread Jean-Marc Lasgouttes
Le 21/04/2024 à 22:22, fcana...@gmail.com a écrit : Greetings. I’m currently trying out LyX 2.4 RC4 and it is absolutely fantastic! Excellent work by the development team! There is one issue I haven’t found in bug reports, so I hope it is appropriate mentioning it here. With LyX 2.4.0~RC4

Re: Version 2.4.0~RC4 Instant preview stops working when inserting floats or comments

2024-05-02 Thread Jean-Marc Lasgouttes
Le 21/04/2024 à 22:22, fcana...@gmail.com a écrit : Greetings. I’m currently trying out LyX 2.4 RC4 and it is absolutely fantastic! Excellent work by the development team! There is one issue I haven’t found in bug reports, so I hope it is appropriate mentioning it here. With LyX 2.4.0~RC4

Re: 2.3.8 Ready To Go?

2024-05-02 Thread Jean-Marc Lasgouttes
Le 02/05/2024 à 17:13, Richard Kimberly Heck a écrit : On 5/2/24 11:03, Jean-Marc Lasgouttes wrote: Le 02/05/2024 à 16:54, Richard Kimberly Heck a écrit : Just double checking that all issues there have been resolved. If so, I'll build the tarballs. That would be very good. Don't forget

Re: 2.3.8 Ready To Go?

2024-05-02 Thread Jean-Marc Lasgouttes
Le 02/05/2024 à 16:54, Richard Kimberly Heck a écrit : Just double checking that all issues there have been resolved. If so, I'll build the tarballs. That would be very good. Don't forget to update lyx2lyx, though! %-) JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 20:55, Yu Jin a écrit : Am Mi., 1. Mai 2024 um 18:53 Uhr schrieb Jean-Marc Lasgouttes: Le 01/05/2024 à 17:50, Yu Jin a écrit : > You are right, simply adding > #include > to Format.cpp resolves the errors. Great! May I push it into the 2.3

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 17:50, Yu Jin a écrit : You are right, simply adding #include to Format.cpp resolves the errors. Great! JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 13:32, Jean-Marc Lasgouttes a écrit : Le 01/05/2024 à 11:54, Yu Jin a écrit : 2.4 compiles with c++20 standard. The Problem with 2.3 are the "unary_function"s, which seem to require c++11(?) and as far as I can see the current Visual Studio just can not do t

Re: 2.3.x does not compile on Windows

2024-05-01 Thread Jean-Marc Lasgouttes
Le 01/05/2024 à 11:54, Yu Jin a écrit : 2.4 compiles with c++20 standard. The Problem with 2.3 are the "unary_function"s, which seem to require c++11(?) and as far as I can see the current Visual Studio just can not do that, c++14 is minimum. Reading this:

Re: [LyX/master] CMake: adapt to new location of Lexer

2024-04-28 Thread Jean-Marc Lasgouttes
Le 28 avril 2024 15:15:30 GMT+02:00, Scott Kostyshak a écrit  : >commit 23c45f76adf66082851632a28f9c259e0f43a212 >Author: Scott Kostyshak >Date: Sun Apr 28 09:13:55 2024 -0400 > >CMake: adapt to new location of Lexer Thanks! JMarc >Lexer is now in support/. See 2660df9b. >--- >

Re: Avoid to pushing multiple commits by inadvertance

2024-04-26 Thread Jean-Marc Lasgouttes
Le 26/04/2024 à 17:06, Scott Kostyshak a écrit : On Fri, Apr 26, 2024 at 03:39:34PM GMT, Jean-Marc Lasgouttes wrote: Hi! Since it is Friday, I decided to do something about my tendency to push several commits by mistake. The attached pre-push hook refuses to push more than one commit unless

Avoid to pushing multiple commits by inadvertance

2024-04-26 Thread Jean-Marc Lasgouttes
Hi! Since it is Friday, I decided to do something about my tendency to push several commits by mistake. The attached pre-push hook refuses to push more than one commit unless the "multi" variable is set. If you want this hook to be active for all your repositories, you can use git config

Re: LyX 2.4.0 Schedule

2024-04-21 Thread Jean-Marc Lasgouttes
Le 11/01/2024 à 02:11, Richard Kimberly Heck a écrit : Not sure. What I do not want is delay 2.4.0. Big changes are probably not wise right now. I would suggest committing the first part to 2.4.x as soon as we are sure an emergency release will not be needed, or if one is then as soon as we

Re: [LyX/2.4.1-devel] Defer construction of temporary cursor.

2024-04-21 Thread Jean-Marc Lasgouttes
Le 21/04/2024 à 11:52, jspi...@gmail.com a écrit : Am Dienstag, dem 16.04.2024 um 16:40 + schrieb Richard Kimberly Heck: commit 365ff71e2319673c2685be79963443fee13c333b Author: Richard Kimberly Heck Date:   Tue Apr 16 12:15:50 2024 -0400     Defer construction of temporary cursor.

Re: 2.3.x does not compile on Windows

2024-04-19 Thread Jean-Marc Lasgouttes
Le 19/04/2024 à 11:12, Pavel Sanda a écrit : On Fri, Apr 19, 2024 at 11:03:55AM +0200, Kornel Benko wrote: Looks like not so easy. The changes in are development/cmake/modules/LyXMacros.cmake: easy managable development/cmake/modules/FindCXX11Compiler.cmake: looks not difficult

Re: Cursor painting gets stuck if space before end of inset

2024-04-18 Thread Jean-Marc Lasgouttes
Le 12/04/2024 à 06:07, Scott Kostyshak a écrit : To reproduce: 1. Open the attached file. 2. Put the cursor just after "testing" and before the space. 3. Press . Result: it looks like the cursor is frozen for a second. Similarly, if after (3) you do another quick you can see two cursors

Re: Workarea not updated after deleting figure inset, on current master

2024-04-18 Thread Jean-Marc Lasgouttes
Le 18/04/2024 à 00:31, José Matos a écrit : On Wed, 2024-04-17 at 23:29 +0200, Jean-Marc Lasgouttes wrote: Is it still here with latest master? If it is, could you give a better recipe? I cannot reproduce. JMarc With your last change this issue was fixed: Very good, thanks for testing

Re: Screwed display for table (all lyx versions)

2024-04-18 Thread Jean-Marc Lasgouttes
Thanks ! JMarc Le 18 avril 2024 10:01:55 GMT+02:00, Kornel Benko a écrit : >> I think this deserves a ticket. I can reproduce, and have no idea how >> this thing works. > >Done #13060 > > Kornel -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Screwed display for table (all lyx versions)

2024-04-17 Thread Jean-Marc Lasgouttes
Le 06/04/2024 à 15:30, Scott Kostyshak a écrit : On Sat, Apr 06, 2024 at 11:14:45AM GMT, Kornel Benko wrote: The created pdf looks like I wanted. I can reproduce (the weird LyX display) on current master and on 2.3.x. I think this deserves a ticket. I can reproduce, and have no idea how

Re: Cursor painting gets stuck if space before end of inset

2024-04-17 Thread Jean-Marc Lasgouttes
Le 12/04/2024 à 06:07, Scott Kostyshak a écrit : To reproduce: 1. Open the attached file. 2. Put the cursor just after "testing" and before the space. 3. Press . Result: it looks like the cursor is frozen for a second. Similarly, if after (3) you do another quick you can see two cursors

Re: Bug in language conversion ?

2024-04-17 Thread Jean-Marc Lasgouttes
Le 12/04/2024 à 13:57, Jürgen Spitzmüller a écrit : This happens also at other places, where optional arguments are not translated. I can provide a more complete record about Additional. I wouldn't rate it a bug, but I also would prefer if insets (generally, not only in the case here) would

Re: Workarea not updated after deleting figure inset, on current master

2024-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/2024 à 08:49, José Matos a écrit : [So let us see if I can taunt Jean-Marc as well as Scott does :-D ] Insert a figure inset as the single element of a paragraph. Load a figure, even if there is an error converting it, delete the figure. The bottom part of the inset figure will stay

Re: Dictionaries in Win installer

2024-04-17 Thread Jean-Marc Lasgouttes
Le 11/04/2024 à 06:55, Yu Jin a écrit : Am Mi., 10. Apr. 2024 um 23:38 Uhr schrieb Pavel Sanda: On Wed, Apr 10, 2024 at 09:38:04PM +0200, Pavel Sanda wrote: > It was under svn, not git until few weeks back when we update our infra. > Now both git or trac can be used (I used

Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-17 Thread Jean-Marc Lasgouttes
Le 12/04/2024 à 11:55, José Matos a écrit : On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote: When I use KOMA script and Article style, and insert an Abstract, the headline "Abstract" is not inserted. This is different from previous versions, I think?? Is this a bug? I tested

Re: Workarea not updated after deleting display math, on current master

2024-04-17 Thread Jean-Marc Lasgouttes
Le 17/04/2024 à 04:19, Scott Kostyshak a écrit : Does this work? Yes, works well here! Thanks. Thanks for testing, it is in :) JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Workarea not updated after deleting display math, on current master

2024-04-16 Thread Jean-Marc Lasgouttes
05e5be4926ecd79f8263beae895e79b2f57bb61c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 16 Apr 2024 23:55:24 +0200 Subject: [PATCH] Always repaint the gray area below main inset Now that SingleParUpdate does not always lead to a full screen update when the height of the paragraph changes (see

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Jean-Marc Lasgouttes
Le 16/04/2024 à 18:44, Jürgen Spitzmüller a écrit : Am Dienstag, dem 16.04.2024 um 12:08 +0200 schrieb Jean-Marc Lasgouttes: I propose the following patch. Can you check that it works? Works for me with both testcases. Thanks for testing, it is now in master. Riki, I think it is worth

Re: [LyX/master] Defer construction of temporary cursor.

2024-04-16 Thread Jean-Marc Lasgouttes
Le 16/04/2024 à 22:27, Scott Kostyshak a écrit : On Tue, Apr 16, 2024 at 04:18:33PM GMT, Richard Kimberly Heck wrote: commit 4e8aa89eb96cd73e6630deea6fd6b9d3039aab6c Author: Richard Kimberly Heck Date: Tue Apr 16 12:15:50 2024 -0400 Defer construction of temporary cursor. We

Re: SIGSEGV on current master when saving with cursor in subscript

2024-04-16 Thread Jean-Marc Lasgouttes
xes the cursors). Now, we have to fix it at the right place. I propose the following patch. Can you check that it works? JMarc From 3b51ab67228f1014432b99ac2037871bc45e1feb Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Tue, 16 Apr 2024 11:45:09 +0200 Subject: [PATCH] Sanitize cursors af

Re: Workarea not updated after deleting display math, on current master

2024-04-12 Thread Jean-Marc Lasgouttes
I do check the email but I am in week end out of home so nothing will be done :) JMarc Le 12 avril 2024 18:16:34 GMT+02:00, Scott Kostyshak a écrit  : >To reproduce: > >1. Open the attached document. >2. Select all. >3. Backspace (to delete everything). > >I get the attached screenshot. > >Can

Re: Biginset branch has landed (sorry for the spam)

2024-04-11 Thread Jean-Marc Lasgouttes
Le 11/04/2024 à 18:21, Stephan Witt a écrit : Is it new to master (i.e., the biginset branch)? I think it’s new. If you have time to make a video I would be interested to see it because I cannot reproduce on X (I have to try Wayland). Yes, I made two videos - one for 2.3.6.2 and one for

Re: Biginset branch has landed (sorry for the spam)

2024-04-11 Thread Jean-Marc Lasgouttes
Le 10/04/2024 à 18:52, Stephan Witt a écrit : Am 10.04.2024 um 15:10 schrieb Jean-Marc Lasgouttes : Le 10/04/2024 à 15:09, Kornel Benko a écrit : This patch definitely cured the behaviour here. Thanks for testing. Both for the math and the minibuffer examples? (this is what I see, but I

Re: Dictionaries in Win installer

2024-04-11 Thread Jean-Marc Lasgouttes
Le 10/04/2024 à 23:37, Pavel Sanda a écrit : BTW since I inadvertedly broke windows installs (dictionary URLs need to be fixed for new releases) and accidentally found that our trac log exploded with warnings about inexisting paths - I was able to narrow down number of unique attempts to

Re: 2.3.x does not compile on Windows

2024-04-10 Thread Jean-Marc Lasgouttes
Le 09/04/2024 à 06:30, Yu Jin a écrit : Normally, unary_function and binary_function only disappeared in C++17. Does C++14 work? Unfortunately not. Do you select the C++ level in Visual Studio or in cmake? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Biginset branch has landed (sorry for the spam)

2024-04-10 Thread Jean-Marc Lasgouttes
Le 10/04/2024 à 15:32, Kornel Benko a écrit : I confess tested only the math example. But the first 10 tries with the command buffer did OK too Thanks a lot. I'll put it in. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Biginset branch has landed (sorry for the spam)

2024-04-10 Thread Jean-Marc Lasgouttes
Le 10/04/2024 à 15:09, Kornel Benko a écrit : This patch definitely cured the behaviour here. Thanks for testing. Both for the math and the minibuffer examples? (this is what I see, but I want to be sure). The problem is that most of the biginset branch was developed and debugged using the

Re: Biginset branch has landed (sorry for the spam)

2024-04-10 Thread Jean-Marc Lasgouttes
cffabe3ecb231d73c4f38895233fc69ed6427cd0 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 10 Apr 2024 12:31:12 +0200 Subject: [PATCH] Fixup 'Avoid metrics computation on resize when width did not change' When the width of the window did not change, computing full metrics is not necessary in BufferView::resize

Re: Painting leftovers from blinking cursor in 2.4.x

2024-04-09 Thread Jean-Marc Lasgouttes
Le 09/04/2024 à 18:25, Pavel Sanda a écrit : Hi JMarc, sometimes I see some painting artifacts in 2.4.0. I never saw them in 2.3. They seem to be produced by few top pixels of blinking cursor while writing and disappear when hitting enter for a new paragraph. Will send you video privately.

Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Jean-Marc Lasgouttes
Le 09/04/2024 à 16:48, Scott Kostyshak a écrit : Ohh, nice! What I do not understand is why the text (but not the insets) moves up when opening the minibuffer. This is strange. Ah interesting, I didn't notice that. Strange indeed. If you feel like bisecting, do not hesitate ;) I am not sure

Re: Biginset branch has landed (sorry for the spam)

2024-04-09 Thread Jean-Marc Lasgouttes
Le 09/04/2024 à 06:51, Scott Kostyshak a écrit : Can anyone reproduce weirdness after (4)? Hi Scott, Yes, I can, but I did not find the time to investigate it yet. I can still reproduce on current master. Another way to reproduce, which doesn't involve math, is the following: (1) Help >

Re: 2.3.x does not compile on Windows

2024-04-08 Thread Jean-Marc Lasgouttes
Le 08/04/2024 à 19:36, Yu Jin a écrit : Can you try to enforce C++11 mode to see whether it works better? That's a problem, I am not able to select C++11: image.png even installed an older Windows SDK and ran CMake reconfigure completely new. Normally, unary_function and binary_function

Re: c2248 compile error with qcompare and Qt 6.7.0

2024-04-08 Thread Jean-Marc Lasgouttes
Le 07/04/2024 à 21:09, Richard Kimberly Heck a écrit : Riki, can I backport this trivial fix (c7f53afd), along with the more complicated 51562ff3 to 2.4.x? This is needed for compilation with MSVC 2019. OK. Done, thanks. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: Comment on ticket 12641 regarding handling of some short cuts on macos with qt6.

2024-04-08 Thread Jean-Marc Lasgouttes
Le 08/04/2024 à 10:20, pdv a écrit : Tor Arne Vestbø posted a qt-patch solving this issue. See: https://bugreports.qt.io/browse/QTBUG-123848 Great job Patrick! Now we just have to wait for it to be available. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: SIGSEGV introduced recently on master when deleting an inset

2024-04-07 Thread Jean-Marc Lasgouttes
Le 07/04/2024 à 20:45, Jürgen Spitzmüller a écrit : Am Sonntag, dem 07.04.2024 um 19:34 +0200 schrieb Jean-Marc Lasgouttes: This is now fixed in master at 89901123c579. Thanks, this also fixes the other, minor issue (CT related) I reported. Great, I was about to look for this one. JMarc

Re: c2248 compile error with qcompare and Qt 6.7.0

2024-04-07 Thread Jean-Marc Lasgouttes
Le 05/04/2024 à 18:09, Yu Jin a écrit : Is it better when replacing uint with unsigned int? Yeah, it is. This is now in master. Riki, can I backport this trivial fix (c7f53afd), along with the more complicated 51562ff3 to 2.4.x? This is needed for compilation with MSVC 2019. JMarc

Re: 2.3.x does not compile on Windows

2024-04-07 Thread Jean-Marc Lasgouttes
Le 05/04/2024 à 22:12, Yu Jin a écrit : Hi, Since 2.3.8 is around the corner I thought to try compiling the 2.3.x branch but failed on Format.cpp, get these errors: Build started at 22:05... 1>-- Build started: Project: LyX (applications\LyX\LyX), Configuration: Debug x64 --

Re: SIGSEGV introduced recently on master when deleting an inset

2024-04-07 Thread Jean-Marc Lasgouttes
Le 06/04/2024 à 22:14, Scott Kostyshak a écrit : To reproduce: 1. Open the attached example. 2. Put the cursor just after the Note inset. 3. Press twice. I get a SIGSEGV with the attached backtrace. Can anyone else reproduce on current master? This is now fixed in master at 89901123c579. A

Re: SIGSEGV introduced recently on master when deleting an inset

2024-04-07 Thread Jean-Marc Lasgouttes
first bad commit >commit 73678dcde977802d5ff3ae07f0226484041fff48 >Author: Jean-Marc Lasgouttes >Date: Mon Nov 27 15:57:09 2023 +0100 > >Avoid full metrics computation when entering/leaving inset > >Annotate function LFUN_FINISHED_xxx to indicate that they

Re: c2248 compile error with qcompare and Qt 6.7.0

2024-04-05 Thread Jean-Marc Lasgouttes
Le 05/04/2024 à 17:55, Yu Jin a écrit : Yeah I get this error now in Text.cpp Build started at 17:53... 1>-- Build started: Project: LyX (applications\LyX\LyX), Configuration: Debug x64 -- 1>Text.cpp 1>C:\lyx\master\src\Text.cpp(5961,19): error C2065: 'uint': undeclared identifier

Biginset branch has landed (sorry for the spam)

2024-04-05 Thread Jean-Marc Lasgouttes
I merged the biginset branch (see #12297 for context) to master. This is the good part. The bad part is that I decided first to rebase it over master, and that resulted in 100+ messages sent to lyx-devel :( We are investigating how to avoid that. What now? Well, testing is welcome when you

Re: Scheduled maintenance of LyX servers (Mar 21, 2024) [done]

2024-04-05 Thread Jean-Marc Lasgouttes
Le 21/03/2024 à 23:42, Pavel Sanda a écrit : - bug tracker (lyx.org/trac) - updated to the most recent version, some UI changes, but it should feel familiar. Few plugins were not ported to new python and do not work anymore - most notable keywords. We allow users to register again,

Re: Subtract value for word/character count

2024-04-05 Thread Jean-Marc Lasgouttes
Le 05/04/2024 à 10:42, Jürgen Spitzmüller a écrit : Am Freitag, dem 05.04.2024 um 09:18 +0200 schrieb Pavel Sanda: I admit I was struggling to find short description. Basically I want to set the baseline from which the counter is subtracted so I get relative number to that baseline ("clamp to

Re: c2248 compile error with qcompare and Qt 6.7.0

2024-04-04 Thread Jean-Marc Lasgouttes
Le 03/04/2024 à 17:03, Yu Jin a écrit : I am not able to compile LyX with the newest Qt (6.7.0), I get these error when compiling factory.cpp: 1>C:\Qt\6.7.0\msvc2019_64\include\QtCore\qcompare.h(228,30): error C2248: 'Qt::partial_ordering::partial_ordering': cannot access private member

Re: [LyX/master] Smarter menu length calculation

2024-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2024 à 16:40, Jürgen Spitzmüller a écrit : Am Mittwoch, dem 03.04.2024 um 11:41 +0200 schrieb Jürgen Spitzmüller: What could be a more clever (?) option, I think, is the possibility to assign shortcut alternatives, as in "Text actions|Txct", and LyX checks the characters in turn until

Re: Errors compiling lyx2.4 with gcc 5.4.0

2024-04-03 Thread Jean-Marc Lasgouttes
to test this code. Riki can you confirm that it makes sense? JMarc From 62d212a2f0c7ff851f03aa4c4fd5c9d138f9b4a1 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 3 Apr 2024 14:49:13 +0200 Subject: [PATCH] Construct tuple explicitly for older compilers gcc < 6 refuses to use {

Re: Errors compiling lyx2.4 with gcc 5.4.0

2024-04-03 Thread Jean-Marc Lasgouttes
Le 02/04/2024 à 14:11, Kornel Benko a écrit : Am Mon, 01 Apr 2024 20:24:10 +0100 schrieb José Matos : What Qt version is available there? This is qt5.4.0. And probably you are right. This one should be fixed in master at 6260689fd552. Please confirm. Riki, this will be candidate for 2.4.0.

Re: Compiling With Qt5

2024-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2024 à 12:27, Pavel Sanda a écrit : On Tue, Apr 02, 2024 at 09:54:22PM -0400, Richard Kimberly Heck wrote: Also, do we want Qt6 to be the default with 2.4.x? In master, that might make sense, but it seems odd to change that now. I would not do that for 2.4 at this stage. I guess we

Re: [LyX/master] Smarter menu length calculation

2024-04-03 Thread Jean-Marc Lasgouttes
Le 03/04/2024 à 09:45, Jürgen Spitzmüller a écrit : Since there are so many combinations I wouldn't be surprised to see more. On the other hand these conflicts are not a catastrophe: you just need one extra press when the cursor toggles between the choices. Should the menu code disable the

Re: Errors compiling lyx2.4 with gcc 5.4.0

2024-04-02 Thread Jean-Marc Lasgouttes
Le 02/04/2024 à 14:12, Kornel Benko a écrit : The first one looks like a matter of old gcc that does not like the {} constructor (don't remember the name). JMarc If so, can something be done here? I can't right now, but basically yes. JMarc -- lyx-devel mailing list

Re: Errors compiling lyx2.4 with gcc 5.4.0

2024-04-01 Thread Jean-Marc Lasgouttes
Le 01/04/2024 à 21:24, José Matos a écrit : On Mon, 2024-04-01 at 20:44 +0200, Kornel Benko wrote: Attached the the errors for src/frontends/qt/GuiRef.cpp and src/frontends/qt/GuiWorkArea.cpp. This is on a debian computer used by my wife, so I am somewhat reluctant to upgrade there. If I

Re: Comment on ticket 12641 regarding handling of some short cuts on macos with qt6.

2024-03-29 Thread Jean-Marc Lasgouttes
Le 28/03/2024 à 23:04, pdv a écrit : I submitted the following bug report https://bugreports.qt.io/browse/QTBUG-123848 pdv Hi Patrick, Thanks for doing that! An alternative idea I had was be to install a global event filter at GuiApplication level that would detect and handle shortcut.

Re: trivial typo in LatexConfig.lyx

2024-03-25 Thread Jean-Marc Lasgouttes
Le 25/03/2024 à 22:17, Peter J. Puchyr a écrit : Hi everyone, There is a typo on line 6490 of LatexConfig.lyx: "appaerance" should be "appearance". Dear Peter, Thanks for noticing that. This is now fixed both in 1.4.0dev and in 2.3.8dev. JMarc -- lyx-devel mailing list

Re: Subtract value for word/character count

2024-03-25 Thread Jean-Marc Lasgouttes
Le 25/03/2024 à 18:31, Jean-Marc Lasgouttes a écrit : Le 25/03/2024 à 17:09, Pavel Sanda a écrit : Hi, evil and external sources sometimes declare that I need to cut my document by certain amount of characters/words :) Mentally tracking the difference (e.g. 4587 - 150 words) while editing

Re: Subtract value for word/character count

2024-03-25 Thread Jean-Marc Lasgouttes
Le 25/03/2024 à 17:09, Pavel Sanda a écrit : Hi, evil and external sources sometimes declare that I need to cut my document by certain amount of characters/words :) Mentally tracking the difference (e.g. 4587 - 150 words) while editing is somewhat annoying. I plan to add possibility for

Re: Scheduled maintenance of LyX servers (Mar 21, 2024)

2024-03-21 Thread Jean-Marc Lasgouttes
Le 20/03/2024 à 10:23, Pavel Sanda a écrit : Dear LyXers, we plan to do the major transition of our web infrastructure soon. Web and wiki were already moved to read-only mode, bug tracker (trac) will be probably inaccesible altogether, probably from Thu morning (all times in CET). The main

Re: Mark utf8x as "deprecated" ?

2024-02-28 Thread Jean-Marc Lasgouttes
Le 28/02/2024 à 02:11, Scott Kostyshak a écrit : That is indeed good to know. I don't think we should remove the support, just signal to the user that it's not recommended anymore. Then "obsolete" might be a better wording (deprecated means to me that we plan to ditch it). JMarc --

Re: -geometry

2024-02-28 Thread Jean-Marc Lasgouttes
Le 21/12/2023 à 03:01, Richard Kimberly Heck a écrit : LyX refuses to start if the -geometry argument is given and QPA_XCB is defined. I would guess we should just issue a warning and continue. Actually, I do not understand why we have QPA_XCB. A same Linux binary should be able to run with

Re: Can't create a macro with 2.4.0~devel

2024-02-28 Thread Jean-Marc Lasgouttes
Le 28/02/2024 à 13:01, JP a écrit : Le 28 février 2024 12:03:58 Jean-Marc Lasgouttes a écrit : Le 28/02/2024 à 11:51, Jean-Pierre Chrétien a écrit : Le 27/02/2024 à 07:51, Jean-Marc Lasgouttes a écrit : Indeed, insetAllowed forbids it for some reason. However the insertion

Re: Can't create a macro with 2.4.0~devel

2024-02-28 Thread Jean-Marc Lasgouttes
Le 27/02/2024 à 18:48, Richard Kimberly Heck a écrit : I can't imagine why one would actually want to do this. Maybe it was too complicated to figure out the macro scope? Let's keep it like that. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org

  1   2   3   4   5   6   7   8   9   10   >