Re: [LyX/master] Allow compiling with Qt6

2021-03-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.03.2021 um 15:30 +0100 schrieb Jean-Marc Lasgouttes: > Needed, I do not know. I think it still works with Qt4.5 and we had > one user at some time, but nobody knows whether it still compiles. In > any case, it would be easy to fix if we got a report of broken LyX > with 4.5

Re: [LyX/master] Yet another deprecation fix (this is the last one I am aware of)

2021-03-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.03.2021 um 16:16 -0500 schrieb Scott Kostyshak: > Thanks for the work on backporting. I'll bump the email where I > proposed backporting the relevant Qt commits. I'm not sure what > remains. I can take a look at 27ba830b8ef51 and anything else at some > point next week. I think

Re: [LyX/master] Yet another deprecation fix (this is the last one I am aware of)

2021-03-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.03.2021 um 09:12 +0100 schrieb Jürgen Spitzmüller: > Am Freitag, dem 12.03.2021 um 14:07 -0500 schrieb Richard Kimberly > Heck: > > I assume these are harmless, yes? If so, then it's fine with me. > > Some of them. I'll go with the straightforward ones and wai

Re: [LyX/master] Yet another deprecation fix (this is the last one I am aware of)

2021-03-13 Thread Jürgen Spitzmüller
Am Freitag, dem 12.03.2021 um 14:07 -0500 schrieb Richard Kimberly Heck: > I assume these are harmless, yes? If so, then it's fine with me. Some of them. I'll go with the straightforward ones and wait with the other ones. Jürgen signature.asc Description: This is a digitally signed message

Re: Compile Problems After Updating to Qt6

2021-03-12 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 16:05 +0100 schrieb Christoph Schmitz: > I also tried to downgrade to Qt5, but this also did not solve the > problem. I have noticed that Qt5 is not installed in the folder "qt" > anymore (this is now the place, where Qt6 is installed), but in a > folder with the

Re: [LyX/master] Adjust bookmark position when inserting/deleting from paragraph

2021-03-12 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 15:56 +0100 schrieb Jean-Marc Lasgouttes: > commit 86bfa10abb57a0af7bbddc3af2c7cdb891c77203 > Author: Jean-Marc Lasgouttes > Date:   Thu Mar 11 15:57:06 2021 +0100 > >     Adjust bookmark position when inserting/deleting from paragraph >     >     Without this,

Re: Zoom factor does not show up correctly initially

2021-03-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.03.2021 um 15:03 + schrieb José Abílio Matos: > Breeze Dark Thanks. Fixed. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: Zoom factor does not show up correctly initially

2021-03-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.03.2021 um 11:24 + schrieb José Abílio Matos: > I am not sure if this is already reported. > > When LyX launches the zoom factor "100%" is not seen initially as it > can be > seen in the attached figure. The reason is probably the arrow you have (it's normally not drawn

Re: slider compilation problem

2021-03-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.03.2021 um 10:36 +0100 schrieb Pavel Sanda: > the third line in this following block does not compile with qt4. > > act_zoom_in_ = new QAction(qt_("Zoom "), this); > act_zoom_out_ = new QAction(qt_("Zoom "), this); > act_zoom_show_ = new QAction(qt_("Show zoom slider")); > >

Re: Compile Problems After Updating to Qt6

2021-03-12 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 18:56 +0100 schrieb Kornel Benko: > The guide is lengthy and I did not find QDateTime mentioned there. https://doc.qt.io/qt-5/qdatetime-obsolete.html > Yes, we should postpone. This one was straightforward and should be fixed. Jürgen signature.asc

Re: Compile Problems After Updating to Qt6

2021-03-11 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 12:27 -0500 schrieb Richard Kimberly Heck: > This will take some work. There's some info here: > > https://doc.qt.io/qt-6/portingguide.html > > Maybe we should make this a post 2.4 priority, though of course work > on it could start now in a branch. That's

Re: [LyX/master] Add +/- buttons to zoom slider

2021-03-11 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 16:29 +0100 schrieb Jürgen Spitzmüller: > I'll implement a context menu. Done. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Add +/- buttons to zoom slider

2021-03-11 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 16:26 +0100 schrieb Jean-Marc Lasgouttes: > Yes, but we need a way to reset zoom to default. I'll implement a context menu. The ticks were not really helpful in this case anyway (as the slider did not snap at the ticks). Jürgen signature.asc Description: This

Re: Bookmark Marker Weirdness

2021-03-11 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 16:26 +0100 schrieb Jürgen Spitzmüller: > BTW while you are at it, do you have an idea how the cursor can enter > insets when navigating to bookmarks? > https://www.lyx.org/trac/ticket/11604 Can you read my thoughts? Jürgen signature.asc De

Re: Bookmark Marker Weirdness

2021-03-11 Thread Jürgen Spitzmüller
Am Donnerstag, dem 11.03.2021 um 16:03 +0100 schrieb Jean-Marc Lasgouttes: > I tried that at 86bfa10abb57a0. Thanks! > > I think inline was too distracting, margin probably works. It would > > still be better to fix the bookmarks at the core (and re-introduce > > inline). > > Do you lean that

Re: [LyX/master] Add +/- buttons to zoom slider

2021-03-11 Thread Jürgen Spitzmüller
Am Dienstag, dem 09.03.2021 um 14:50 +0100 schrieb Jürgen Spitzmüller: > Am Di., 9. März 2021 um 14:48 Uhr schrieb Jean-Marc Lasgouttes < > lasgout...@lyx.org>: > > The slider is still not aligned, but the status bar is taller :( > > > > > OK, reverted.

Re: [LyX/master] Add +/- buttons to zoom slider

2021-03-09 Thread Jürgen Spitzmüller
Am Di., 9. März 2021 um 14:48 Uhr schrieb Jean-Marc Lasgouttes < lasgout...@lyx.org>: > The slider is still not aligned, but the status bar is taller :( > OK, reverted. Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel

Re: [LyX/master] Add +/- buttons to zoom slider

2021-03-09 Thread Jürgen Spitzmüller
Am Di., 9. März 2021 um 12:45 Uhr schrieb Pavel Sanda : > - Plus sign is now enabled even when no document is loaded (and causes > crash > if triggered in such scenario). > Cut and paste error. Should be fixed. > - Both signs are not verticaly aligned with the slider and thus are > somewhat

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-08 Thread Jürgen Spitzmüller
Am Mo., 8. März 2021 um 14:34 Uhr schrieb Pavel Sanda : > So "Ignore all" has now different schematics? > Yes, "Ignore" and "Ignore All" have changed semantics, as the ignorance will now persist beyind session. "Skip" is old "Ignore" (just skip this match without actually ignoring it), "Skip

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 20:55 +0100 schrieb Stephan Witt: > To reproduce I > > 1. Open the Help -> Intro. > 2. Boom. Is it related to the darkmode runtime switch we recently added? You backtrace points towards that code region. In any case, you can try bisecting. Jürgen signature.asc

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 18:58 +0100 schrieb Stephan Witt: > From the dictionary. Thanks. Cannot reproduce. Can you try to dig in deeper? Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 18:48 +0100 schrieb Stephan Witt: > To reproduce I do: > > 1. Open the attached document. > 2. Remove the second unrrund. > 3. Navigate and type some text. Boom. What do you mean by "remove"? Remove from the dictionary or delete the word in the document? Jürgen

Re: [LyX/master] Show zoom value in statusbar

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 17:48 +0100 schrieb Kornel Benko: > Status bar shows it OK, but the slider is not updating if changing > zoom with the mouse. Fixed. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 17:55 +0100 schrieb Jürgen Spitzmüller: > But I'll implement another lfun along this way. Done. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 17:56 +0100 schrieb Stephan Witt: > Or add it to LFUN_SPELLING_REMOVE implementation? I would rather keep the diverse dictionaries separated. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 17:47 +0100 schrieb Stephan Witt: > Yes, there is LFUN_SPELLING_REMOVE already. I find this rather odd, as you have to know a word is in the dictionary in order to remove it. But I'll implement another lfun along this way. Jürgen signature.asc Description: This

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 17:51 +0100 schrieb Stephan Witt: > > It did not come yet AFAIR. > > Yes, it was not announced yet. So we are not in feature freeze. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 17:32 +0100 schrieb Stephan Witt: > > Are we? I must have missed the announcement. Can you point me to > > it? > > https://wiki.lyx.org/Devel/Meeting2021-01-11 This only says "A feature and format freeze is coming soon." It did not come yet AFAIR. Jürgen

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 16:53 +0100 schrieb Stephan Witt: > No I don’t want to enhance it *now*. We are in feature-freeze IMO. Are we? I must have missed the announcement. Can you point me to it? (I agree that we should enter feature freeze soon, though). > > > > > > > I see. Can you try

Re: [LyX/master] Zoom slider

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 13:53 +0100 schrieb Jean-Marc Lasgouttes: > In libreoffice I see two difference that are IMO very useful: > 1/ the zoom value is shown beside the slider. Seeing the zoom is very > useful. At the very least, the tool tip should show the value instead > of > explaining

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 14:04 +0100 schrieb Stephan Witt: > > I can't follow you here. Sure it is. > > IMO it is a new feature. Where did I claim it isn't? If you want to enhance it: be invited. > > > > Also, as you say it is marked correctly after context menu > > > > action, > > > >

Re: [LyX/master] Zoom slider

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 14:18 +0100 schrieb Kornel Benko: > I get > > > ---/usr2/src/lyx/lyx-git/src/frontends/qt/GuiView.cpp:633:31: > > error: > ‘const class > > QFontMetrics’ has no member named ‘horizontalAdvance’ >   zoomslider->setFixedWidth(fm.horizontalAdvance('x') * 15); Fixed.

Re: [LyX/master] Zoom slider

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 13:53 +0100 schrieb Jean-Marc Lasgouttes: > Looks like nothing is stopping you! I thought we were supposed to > calm down on features... Sorry about that. I'll stop it now. > In libreoffice I see two difference that are IMO very useful: > useful. At the very least,

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 13:45 +0100 schrieb Stephan Witt: > I see more than one problem. > > 1. The spell checker on Mac is an OS service and there is support for > document scope too. Probably this collides with our implementation in > LyX. Why is this a problem? The implementation I have

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 13:24 +0100 schrieb Stephan Witt: > The first document has „unrrund“ in local dictionary and therefore it > shouldn’t > marked as mis-spelled. On Mac the spellchecker doesn’t check words - > it checks > paragraphs and so it misses the entries in local dictionary. > >

Re: [LyX/master] Meet per-document spelling dictionaries (fixes #86 [sic!])

2021-03-07 Thread Jürgen Spitzmüller
Am Sonntag, dem 07.03.2021 um 11:24 +0100 schrieb Stephan Witt: > On Mac it doesn’t work well. > > 1. Mark a word as ignored per-document. > 2. Save it. > 3. Close it. > 4. Reopen it. > 5. The ignored word is misspelled. > 6. Open context-menu w/o doing any action and close it. > 7. Word is not

Re: tex2lyx roundtrip tests broken on master

2021-03-06 Thread Jürgen Spitzmüller
Am Samstag, dem 06.03.2021 um 14:28 -0500 schrieb Scott Kostyshak: > The tex2lyx roundtrip tests are broken on master. Fixed. As so often, forgot to update the tests after file format bump. Jürgen > > Scott signature.asc Description: This is a digitally signed message part -- lyx-devel

Re: Changing the background color in math menus

2021-03-04 Thread Jürgen Spitzmüller
Am Donnerstag, dem 04.03.2021 um 11:52 +0100 schrieb Stephan Witt: > Yes it works. Thank you. Great. > While thinking about the change: wouldn’t it be better to move > clear() > into fill()? > > Like the attached. In practice it’s the same probably. In theory it > looks more safe. I don't

Re: Changing the background color in math menus

2021-03-04 Thread Jürgen Spitzmüller
Am Donnerstag, dem 04.03.2021 um 07:40 +0100 schrieb Stephan Witt: > I think it’s caused by the different dark mode switch.  > On Mac I can switch to dark mode after LyX start… > > > … or use it as my normal user desktop setting and then it’s probably > fine. > > > The switch at runtime should

Re: Changing the background color in math menus

2021-03-04 Thread Jürgen Spitzmüller
Am Donnerstag, dem 04.03.2021 um 08:24 +0100 schrieb Jürgen Spitzmüller: > Ah, that's this issue. We discussed this already. I remember you > mentioned some signal that is emitted on the Mac when the switch > happens and that you intended to investigate how dark mode in LyX can >

Re: Bookmark Marker Weirdness

2021-03-03 Thread Jürgen Spitzmüller
Am Dienstag, dem 02.03.2021 um 19:39 +0100 schrieb Jean-Marc Lasgouttes: > I think that the new code only makes the shortcomings of bookmarks > obvious.  Yes, definitely! I did not mean to suggest this was something introduced by the new code > I am not sure how to fix thel though. Me neither.

Re: [RFC] Simple Search to Bottom Dock

2021-02-28 Thread Jürgen Spitzmüller
Am Sonntag, dem 28.02.2021 um 15:28 +0100 schrieb Enrico Forestieri: > > Ctrl-F actually toggles. > > It was toggling, but apparently not anymore with latest master. No, I have been pushed (and convinced) to remove that. But Esc works (as in the other dock widgets) Jürgen signature.asc

Re: Bookmark Marker Weirdness

2021-02-28 Thread Jürgen Spitzmüller
Am Samstag, dem 27.02.2021 um 20:40 -0500 schrieb Richard Kimberly Heck: > Yes, better, but the markers do not appear when they are in section > headings. > > The other problem I reported is still there: If the marker is in a > footnote, then it appears not on the line where the footnote is but >

Re: Find dialog button labels in 2.4.0 Alpha 3

2021-02-25 Thread Jürgen Spitzmüller
Thanks, this has been fixed already in master. Jürgen Paul A. Rubin schrieb am Mi., 24. Feb. 2021, 23:09: > The attached screenshot shows the find/replace dialog in Alpha 3 (on > Linux Mint, using Liv's packaged version). Note that the label "Replace" > in the replace next button is mostly off

Re: Use dashes (vertically centered) for Beamer's pause LabelString?

2021-02-23 Thread Jürgen Spitzmüller
Am Dienstag, dem 23.02.2021 um 09:50 -0500 schrieb Scott Kostyshak: > Yes, I think it looked good, but it gives me errors when I do a fresh > compile: You can use hyphens in the layout file and translate it to dashes in en.po Jürgen signature.asc Description: This is a digitally signed

Re: Use dashes (vertically centered) for Beamer's pause LabelString?

2021-02-23 Thread Jürgen Spitzmüller
Am Montag, dem 22.02.2021 um 23:26 -0500 schrieb Scott Kostyshak: > I think I would most prefer something like an em-dash but I > don't think we use unicode in the LabelString. Did you try? Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list

Re: Feature Request for tex2lyx

2021-02-21 Thread Jürgen Spitzmüller
Am Sonntag, dem 21.02.2021 um 18:42 +0200 schrieb Dr Eberhard W Lisse: > Enclosed the input and output from > > tex2lyx -c scrartcl mwe.tex > > mwe.lyx shows language "English" which in Babel terms is "british" > whereas I would rather be able to set it to produce "English (USA)" > which

Re: Feature Request for tex2lyx

2021-02-20 Thread Jürgen Spitzmüller
Am Samstag, dem 20.02.2021 um 18:16 +0200 schrieb Dr Eberhard W Lisse: > I do everything in US English, but even a MWE LaTeX will be in UK > English when tex2lyx is done with it. Really, UK English (i.e., babel "british")? Note that babel "english" is euqivalent to "american" (not "british").

Re: Bookmark Marker Weirdness

2021-02-19 Thread Jürgen Spitzmüller
Am Freitag, dem 19.02.2021 um 16:05 -0500 schrieb Richard Kimberly Heck: > If you put a bookmark into the middle of a paragraph, then the marker > for it moves if you enter new material ahead of it. This is of course > because the bookmark is keyed to paragraph and position, but it is > very >

Re: [PATCH] Some fixes

2021-02-19 Thread Jürgen Spitzmüller
Am Donnerstag, dem 18.02.2021 um 15:49 +0200 schrieb Yuriy Skalko: > Please review two attached patches: > > 1. Now setting of math matrix size by dragging mouse is imprecise due > to > Qt limit on min cell size. The patch fixes this. > > 2. Now Beamer columns have fixed margin size determined

Re: Feature Request for tex2lyx

2021-02-19 Thread Jürgen Spitzmüller
Am Freitag, dem 19.02.2021 um 14:55 +0200 schrieb Dr Eberhard Lisse: > That I can do, but it adds additional steps (which are difficult for > some) The problem with automatism is: if you have multilingual documents, what should tex2lyx do if languages are switched? Replace the main language with

Re: Feature Request for tex2lyx

2021-02-18 Thread Jürgen Spitzmüller
Am Donnerstag, dem 18.02.2021 um 22:30 +0200 schrieb Dr Eberhard W Lisse: > can we add an option to tex2lyx allowing to select the language? > > I use the writer2latex in LibreOffice a bit and can't export to > other than standard (English) whereas I use US English in Lyx/LaTeX. > > Would such a

Re: [RFC] Simple Search to Bottom Dock

2021-02-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.02.2021 um 14:50 +0100 schrieb Pavel Sanda: > Misunderstanding. It seemed I am pushing my agenda too far without > anyone much interested in this direction. > Do you want me to revert to original version or the command-sequence > improvement? I prefer to have to original

Re: [RFC] Simple Search to Bottom Dock

2021-02-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.02.2021 um 13:54 +0100 schrieb Pavel Sanda: > I see. I reverted the CTRL+F3 binding and will keep the changes for > F3 privately. But why did you revert the binding? I think I want it as well. Jürgen signature.asc Description: This is a digitally signed message part --

Re: [LyX/master] Add support for search/replace within selection (#2548)

2021-02-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.02.2021 um 11:38 +0100 schrieb Kornel Benko: > Are you aware of following scenario? > 1.) Select a whole paragraph containing words you want to find > 2.) Open quick find dialog > G ... remove preselected data > 3.) enter a string to be found (there should be more

Re: [RFC] Simple Search to Bottom Dock

2021-02-16 Thread Jürgen Spitzmüller
Am Dienstag, dem 16.02.2021 um 08:53 +0100 schrieb Pavel Sanda: > Strange, fixed now. Pavel I misread. I though "enter something with the numpad (e.g., numbers)", not "using the enter key". Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 21:51 +0100 schrieb Pavel Sanda: > Next weird issue - enter on my numeric keypad stopped to work with > the new > UI. Can you reproduce? No. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list

Re: Citation UI Regression

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 12:17 -0500 schrieb Richard Kimberly Heck: > If I have multiple citations, then changing their order does not > activate the OK and Apply buttons, and it does not update the display > in > the lower part of the dialog, either. Worse, even if I do something > else >

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 15:09 +0100 schrieb Enrico Forestieri: > Thanks. Another glitch is the fact that the search dialog can only be > dismissed by the X-close button (the toolbar button does not toggle). > However, when the dialog is minimized, the close button is not > available and one

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 22:04 +0100 schrieb Jean-Marc Lasgouttes: > 2/ when the dialog "would you like to start from start" is shown, the > focus is not in the dock anymore and it not possible to use Enter to > search next. I just learned that we have a 10 year old ticket to this:

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 13:10 +0100 schrieb Pavel Sanda: > Thinking aloud, it might not be even necessary to have new shortcut > at all. > > What if we enhanced current word-find so that it always uses > currently selected > text for the search? > Then F3 would by default use GuiSearch

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 11:49 +0100 schrieb Jean-Marc Lasgouttes: > Not that bad ;) A problem though: > > +   if (instant) > +   // re-query current match > +   dispatch(FuncRequest(LFUN_WORD_BACKWARD)); > > The search string is not necessarily a word. Instead of

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 13:00 +0100 schrieb Pavel Sanda: > Oops, I clearly misunderstood the Big Mac Way ;) > What I thought as cool is in current state of affairs "command- > sequence search-string-set; word-find". > Would you mind if I changed CTRL+F3 in cua bind to this? No. This differs

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 12:45 +0100 schrieb Pavel Sanda: > Don't know if intended, I still see the dialog even if performed by > GuiSearch and wrap is off. Yes, that's intended. Give the user a signal that end/begin has been reached. Jürgen signature.asc Description: This is a digitally

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 09:09 +0100 schrieb Pavel Sanda: > Maybe we could ditch this dialog and have check box whether to loop > from begining? Done. We still have the dialog for searches not performed by GuiSearch. Jürgen signature.asc Description: This is a digitally signed message part

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 23:40 +0100 schrieb Jean-Marc Lasgouttes: > 'find as you type'. Proof of concept (as I understood it) in master. Please check. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list lyx-devel@lists.lyx.org

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 22:04 +0100 schrieb Jean-Marc Lasgouttes: > 2/ when the dialog "would you like to start from start" is shown, the > focus is not in the dock anymore and it not possible to use Enter to > search next.  Question back to you: Can we prevent the workarea to take focus

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 10:25 +0100 schrieb Kornel Benko: > Yes. Backward search is alike, but with Ctrl-R. But I don't see how we can have both (without having back the direction shortcut we just so eagerly ditched). Jürgen signature.asc Description: This is a digitally signed message

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 10:09 +0100 schrieb Jürgen Spitzmüller: > Am Montag, dem 15.02.2021 um 09:59 +0100 schrieb Jean-Marc > Lasgouttes: > >  What's that? Perform search while you edit the search string? > > > > Yes, like emacs does with Ctrl-S. > > And this

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 10:08 +0100 schrieb Stephan Witt: > Do you think we should have both patches? > > I think so, because then the LFUN_WORD_FIND doesn’t rely on internal > defaults. I am not sure whether it's not a feature to use the previous options. Jürgen signature.asc

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 09:59 +0100 schrieb Jean-Marc Lasgouttes: >  What's that? Perform search while you edit the search string? > > Yes, like emacs does with Ctrl-S. And this always searches forward, right? Jürgen signature.asc Description: This is a digitally signed message part --

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 09:52 +0100 schrieb Stephan Witt: > I don’t understand. The direction isn’t stored in > setSearchRequestCache(). > The direction is stripped. Probably that causes the trouble. It turned out the problem was the parsing of the search argument set forward to false by

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 22:54 +0100 schrieb Pavel Sanda: > Another glitch: F3 in search pane goes forward, F3 in edit area goes > backward. Should be fixed. Please verify. Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Montag, dem 15.02.2021 um 09:09 +0100 schrieb Pavel Sanda: > On Sun, Feb 14, 2021 at 10:04:00PM +0100, Jean-Marc Lasgouttes wrote: > > 2/ when the dialog "would you like to start from start" is shown, > > the focus > > is not in the dock anymore and it not possible to use Enter to > > search

Re: [RFC] Simple Search to Bottom Dock

2021-02-15 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 22:54 +0100 schrieb Pavel Sanda: > Another glitch: F3 in search pane goes forward, F3 in edit area goes > backward. This looks like an (unintended?) consequence of Stephan's work: word- find now uses cached search information _including_ direction. Stephan is this

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 22:13 +0100 schrieb Enrico Forestieri: > There's something strange on Windows, too. I see 2 Find and 2 Replace > perfectly equal buttons. See attached. This (and Scott's and Pavel's woes) should be fixed now. Jürgen signature.asc Description: This is a digitally

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 23:40 +0100 schrieb Jean-Marc Lasgouttes: > If now is the good time for the Christmas shopping list, then I would > like 'find as you type'. What's that? Perform search while you edit the search string? Jürgen > > JMarc signature.asc Description: This is a

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 22:13 +0100 schrieb Enrico Forestieri: > There's something strange on Windows, too. I see 2 Find and 2 Replace > perfectly equal buttons. See attached. Hm, maybe we just forget about the icons and use plain old < >. Strange Qt still does not get this right in 2021.

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 21:33 +0100 schrieb Pavel Sanda: > Apart from some UI glitch with two buttons (see attached preview how > they look on my screen) this is really nice piece of work :) Is this Qt theme dependent? Jürgen signature.asc Description: This is a digitally signed message

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 19:39 -0500 schrieb Scott Kostyshak: > Not sure how to change themes.  E.g., "lyx -style fusion" > I can look into that. I can also test > on a newer Qt version when I have time. Thanks. Apparently Pavel has the same issue. Jürgen signature.asc Description:

Re: [LyX/master] Transform simple search dialog to dock widget (#2625)

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 12:49 -0500 schrieb Richard Kimberly Heck: > > > after this change LyX gets a crash on processing Command-F here. > > The crash is in GuiSearchWidget::findChanged because of bv_ is not > > initialized and not a nullptr. > > I think you can go ahead. Yes, thanks.

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 12:20 -0500 schrieb Scott Kostyshak: > Good points. From an interface perspective, I like the idea of > getting rid of the non-advanced find "replace". I agree the > implementation in advanced find is a big step backward for simple > find/replace, but I think this

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 11:54 -0500 schrieb Richard Kimberly Heck: > I banged my head against it a while ago. Stack Exchange to the rescue > this time. I figured a frame (rather than a GroupBox) is more suitable as it takes less space (if shown). Jürgen signature.asc Description: This

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 11:41 -0500 schrieb Richard Kimberly Heck: > I have seen this problem before and never quite figured out what to > do. > I think I fixed it this time. The problem is that the horizontal > layout that had the check boxes is still there, even though they are > hidden.

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 11:14 -0500 schrieb Richard Kimberly Heck: > > I am completely opposed to this. I use Advanced F only when I > > have to > > and use simple replace a lot. > > I think Advanced is quite a bit slower, too. Yes, it is slower, and it is generally more clumsy. Advanced

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 08:43 +0100 schrieb Jürgen Spitzmüller: > Am Samstag, dem 13.02.2021 um 20:35 +0100 schrieb Pavel Sanda: > > I do replace once a month while find 5xtimes a day, so the extra > > click for replace does not really hurt. > > ... does not really hurt

Re: [RFC] Simple Search to Bottom Dock

2021-02-14 Thread Jürgen Spitzmüller
Am Sonntag, dem 14.02.2021 um 15:46 +0200 schrieb Yuriy Skalko: > The only minor issue for me is the button captions that differ only > by icons. Is it possible to use something like "Find Previous" "Find > Next" This gets too long, particularly since "Replace" would need to be "Replace and Find

Re: [RFC] Simple Search to Bottom Dock

2021-02-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.02.2021 um 20:35 +0100 schrieb Pavel Sanda: > I do replace once a month while find 5xtimes a day, so the extra > click for replace does not really hurt. ... does not really hurt _you_. Anyway I am working on something. Jürgen signature.asc Description: This is a digitally

Re: [RFC] Simple Search to Bottom Dock

2021-02-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.02.2021 um 16:48 -0500 schrieb Scott Kostyshak: > What if we get rid of the non-advanced replace? That is, if users > want so use replace, they need to go to Edit > Find & Replace > (Advanced). I am completely opposed to this. I use Advanced F only when I have to and use simple

Re: [RFC] Simple Search to Bottom Dock

2021-02-13 Thread Jürgen Spitzmüller
Am Samstag, dem 13.02.2021 um 17:19 +0100 schrieb Pavel Sanda: > The hope of the switching to bar was to minimize space in a way like > firefox does, i.e. basically one-liner.  Firefox only has find, not replace. > So any switch which would collapse this dialog > into way smaller beast would be

Re: Issue with find next in 2.4 Alpha 2

2021-02-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.02.2021 um 14:54 -0500 schrieb Paul A. Rubin: > With 2.4 Alpha 2, typing Alt+N toggles between highlighting the > search term and selecting the Find Next button in the dialog. (These > happened simultaneously in 2.3.6.1.) Importantly, the first > occurrence of the search term in

Re: PDF View Problems with 2.4dev

2021-02-12 Thread Jürgen Spitzmüller
Am Freitag, dem 12.02.2021 um 01:14 -0500 schrieb Richard Kimberly Heck: > Hi, all, > > I've been using current master for work lately, and I'm getting > frequent > errors when viewing a fairly simple master-child document. The > structure is: > > TITLE ETC > INCLUDE CHILD, which has most of the

Re: [LyX/master] Use SVG icons in itemize bullet selector

2021-02-09 Thread Jürgen Spitzmüller
Am Dienstag, dem 09.02.2021 um 10:30 +0100 schrieb Juergen Spitzmueller: > commit 11b7714fc15475a2bb385943ece7b98273283114 > Author: Juergen Spitzmueller > Date:   Tue Feb 9 10:32:16 2021 +0100 > >     Use SVG icons in itemize bullet selector Kornel, please check whether I did CMake right.

Re: Paragraph spacing problem

2021-02-09 Thread Jürgen Spitzmüller
Am Dienstag, dem 09.02.2021 um 02:26 -0500 schrieb Richard Kimberly Heck: > See attached file. This is in both master and 2.3.x. You are talking about the workarea, not output, right? Jürgen signature.asc Description: This is a digitally signed message part -- lyx-devel mailing list

Re: LyX 2.4 Alpha 2

2021-02-05 Thread Jürgen Spitzmüller
Am Freitag, dem 05.02.2021 um 17:24 -0500 schrieb Richard Kimberly Heck: > Hi, all, > > I've put tarballs for Alpha 2, built from f4003593, here: > > http://ftp.lyx.org/ftp/pub/lyx/devel/lyx-2.4/ > > This includes the latest epub export stuff. If I didn't miss it, though, these new docbook

Re: [LyX/master] tex2lyx: improve module support

2021-02-04 Thread Jürgen Spitzmüller
Am Dienstag, dem 02.02.2021 um 00:47 -0500 schrieb Scott Kostyshak: > The fix seems like nice feature, so the small increase in time might > be worth it. Also, tex2lyx is not usually a feature that a user uses > repeatedly, so in my opinion a delay is fine. Nonetheless, I note the > increased time

Re: [LyX/master] Copy/paste error in BranchList::setColors

2021-01-30 Thread Jürgen Spitzmüller
Am Freitag, dem 29.01.2021 um 19:19 +0100 schrieb Jean-Marc Lasgouttes: > commit 536c831b6ad726e848a60d738b57ec8b0501 > Author: Jean-Marc Lasgouttes > Date:   Fri Jan 29 18:51:19 2021 +0100 > >     Copy/paste error in BranchList::setColors >     >     Spotted by coverity. Looks good.

Re: [LyX/master] No need to set background color of a newly created branch.

2021-01-30 Thread Jürgen Spitzmüller
Am Freitag, dem 29.01.2021 um 18:28 +0100 schrieb Jean-Marc Lasgouttes: > commit 5145694cd067e221a661e0d6c7dce4ed5ca22e37 > Author: Jean-Marc Lasgouttes > Date:   Fri Jan 29 18:29:55 2021 +0100 > >     No need to set background color of a newly created branch. >     >     Fixes a null pointer

Re: Issue in LyX 2.3.6.1 with \maketitle and \uppertitleback

2021-01-29 Thread Jürgen Spitzmüller
Am Freitag, dem 29.01.2021 um 14:15 +0100 schrieb Michael Ruder: > Hi, > > I just upgraded to LyX 2.3.6.1 and have an issue with \uppertitleback > and > multiple \maketitle. This issue did not exist in LyX 2.3.5 and > before. > > Attached is a small sample file. I could reproduce with scrartcl

Re: Issue in LyX 2.3.6.1 with \maketitle and \uppertitleback

2021-01-29 Thread Jürgen Spitzmüller
Am Freitag, dem 29.01.2021 um 14:15 +0100 schrieb Michael Ruder: > I just upgraded to LyX 2.3.6.1 and have an issue with \uppertitleback > and > multiple \maketitle. This issue did not exist in LyX 2.3.5 and > before. > > Attached is a small sample file. I could reproduce with scrartcl with >

<    4   5   6   7   8   9   10   11   12   13   >