Re: slow cursor speed

2023-11-15 Thread Isaac Oscar Gariano
Sorry for randomly chiming in,
But I noticed your version of LyX is using Qt5, I wonder if a QT6 version would 
behave differently?

(Unfortunately, I'm not a Mac person, so I don't know how to compile such a lyx)

— Isaac Oscar Gariano

From: lyx-users  on behalf of Tim Garrett 

Sent: Wednesday, November 15, 2023 5:00:31 AM
To: Scott Kostyshak 
Cc: LyX-Users 
Subject: Re: slow cursor speed

Hi Scott,

Saving and reopening doesn’t change anything in behavior.

Version 2.4.0~beta5 (August 31, 2023)
Qt Version (run-time): 5.15.10 on platform cocoa
Qt Version (compile-time): 5.15.10
OS Version (run-time): macOS 12.4
Python detected: python3 -tt

Thanks

Tim

On 14 Nov 2023, at 8:47, Scott Kostyshak wrote:

> On Tue, Nov 14, 2023 at 08:38:54AM -0700, Tim Garrett wrote:
>> Hi Scott,
>>
>> Here’s a video showing how it slows down
>> https://www.dropbox.com/scl/fi/jtfm92l11orb9254xsz5z/Screen-Recording-2023-11-14-at-7.50.08-AM.mov?rlkey=fzk7aaycqabgul55ipun4ste5=0
>>
>> I don’t experience this issue on any other application, including Word or 
>> Overleaf.
>>
>> Thanks again
>>
>> Tim
>
> Thanks, that screencast is very helpful.
>
> Another follow-up question. If you save the document and reopen it, then
> are things faster (at the beginning before the problem is triggered
> again)? I'm trying to figure out whether the problem is due to the
> number of characters you've typed versus the number of characters
> present in the document.
>
> Also, can you copy/paste the information in LyX > About ?
>
> Scott
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Python (was Shortcuts under MacOs Sonoma)

2023-11-09 Thread Isaac Oscar Gariano
Interestingly I've never had this problem on windows as LyX comes with a python 
in it's installation directory. Perhaps the MacOS version should do the same, 
or at the very least give a very clear error message.  It might be worth 
opening a bug report for this. (I've also had LyX tell me it can't find the a 
LaTeX class, when I definitely had LaTeX installed properly; I can't remember 
what the cause of it was though, probably my fault for not building LyX 
properly).
— Isaac Oscar Gariano​

From: lyx-users  on behalf of Daniel CLEMENT 
via lyx-users 
Sent: Thursday, 9 November 2023 11:13 PM
To: Dr Eberhard W Lisse 
Cc: LyX 
Subject: Re: Python (was Shortcuts under MacOs Sonoma)

Yes, I had seen this thread and I had reviewed it.

What I didn’t expect, was that the upgrade would suppress something!

I don’t know how Python was present before the upgrade (builtin?) However, I 
have installed the Python3 pkg from the official Python website before I could 
read your advice.

Let’s see if that persists across the next upgrades!

BR - Daniel

> Le 8 nov. 2023 à 19:16, Dr Eberhard W Lisse  a écrit :
>
> This has been discussed here a number of times in the not so
> distant past.
>
> I think you need to install the X-Code command line tools to
> get /usr/bin/python3 again but I use Homebrew's python and
> that survives OS Upgrades.
>
> greetings, el
>
>
>
> On 07/11/2023 15:12, Daniel CLEMENT via lyx-users wrote:
>> Thanks for your reply Isaac.
>>
>> The user directory is: ~/Library/Application Support/LyX-2.3/
>>
>> That sounded correct.
>>
>> So I investigated a bit more on the Python side.  It was
>> definitely a Python issue.
>>
>> I still can hardly believe it, but it seems that the upgrade
>> had completely stripped my system of any Python.  I
>> (re)installed it from the official site, and all the LyX
>> shortcuts got working again.  And the reconfigure function,
>> too.
>>
>> So, problem solved for now. BR, Daniel
> [...]
>
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users

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


Re: Debian 12 and Lyx 2.3.7-1

2023-11-06 Thread Isaac Oscar Gariano
Dear Peter and Folsk,
Although I was able to reproduce the issue with LyX 2.3.7 (the version on the 
debian repos), I was unable to reproduce the issue with the current LyX 2.4 
beta.
My guess is this is because LyX 2.3.7 uses Qt5 but LyX 2.4 uses Qt6.
As there's no issue with the current development version and it only seems to 
be happening on fluxbox, I don't think this problem is a top priority for the 
developers.

To use LyX 2.4, it seems you will need to compile it yourself, but I wrote a 
simple sh script that should do everything for and install lyx to 
/usr/local/bin/lyx (v 2.3.7 will still be accesable at /usr/bin/lyx):

su -c 'apt-get install libhunspell-dev libenchant-2-dev libaspell-dev bc 
gettext libmagic-dev make qt6-base-private-dev qt6-base-dev qt6-svg-dev g++'
wget https://lyx.mirror.garr.it/devel/lyx-2.4/lyx-2.4.0~beta5.tar.xz
tar -xvf 'lyx-2.4.0~beta5.tar.xz'
cd 'lyx-2.4.0~beta5'
mkdir build
cd build
export CXXFLAGS='-Wno-deprecated-declarations -Wno-c++20-compat -Wall -O2  
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables 
-fasynchronous-unwind-tables -fstack-clash-protection -flto=auto'
export LDFLAGS='-flto=auto'
../configure --enable-qt6 --without-included-boost --with-aspell 
--with-hunspell --with-enchant --enable-build-type=rel
make
make install

— Isaac Oscar Gariano​

From: lyx-users  on behalf of Peter 

Sent: Tuesday, 7 November 2023 9:04 AM
To: lyx-users@lists.lyx.org 
Subject: Re: Debian 12 and Lyx 2.3.7-1

OK, created a new Virtual Box VM, Debian 12.2.  Installed none of the desktops 
or WMs or display managers, just the base system.  Then installed xorg, fluxbox 
and lyx. Started xorg with startx and this entered fluxbox which seemed to be 
behaving normally.  Then started lyx from a terminal. Same thing, it doesn't 
manage to start, similar long scrolling list of error messages.

Then installed ICEWM into this VM, just to make sure, started it with 'startx 
icewm' and lyx started fine from a terminal.

So that's it for me now.  I'll try contacting the developers list.

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


Re: Shortcuts under MacOs Sonoma

2023-11-06 Thread Isaac Oscar Gariano
Dear Daniel,
I personally am not familiar with MacOS, but it sounds like LyX isn't finding 
your files correctly.
If you go to Help → About LyX, it will list a folder as "User directory",
Does that folder contain the bind/user.bind​ file you want to use?

— Isaac Oscar Gariano​

From: lyx-users  on behalf of Daniel CLEMENT 
via lyx-users 
Sent: Tuesday, 7 November 2023 6:49 AM
To: LyX 
Subject: Shortcuts under MacOs Sonoma

Dear list members,

I have recently upgraded my MacBook to MacOs 14 “Sonoma” last week (right from 
12).

LyX (2.3.7) was one of the main apps that I have tested; it appeared to work 
well at first glance. But only today I have noticed a couple of issues, mainly 
shortcuts, but possibly related:

1) I’ve lost my shortcuts (sigh!) My shortcut file is still there. I have 
reloaded it for good measure, but no luck. So, no Cmd-O to open a file, Cmd-D 
for displayed maths and so on… (-> “unknown function” in the taskbar).

2) Then I tried to reconfigure, but I got an error message like: “reconfigure 
failed - implicit classes will be used but maybe LyX won’t work normally”.

3) I happened to try and open a file coming from LyX 2.1, but I got: 
“ comes from an old LyX version, but the LyX2LyX script could not 
convert it”.

Doesn’t all this look like a Python issue? I don’t want to rush into any 
hazardous workaround… What would you suggest?

Thanks a lot in advance for any advice - best regards, Daniel

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


Re: Debian 12 and Lyx 2.3.7-1

2023-10-31 Thread Isaac Oscar Gariano

That's not good, Linux GUI problems are often very hard to debug...

I'm guessing the xcb issue might be because you are a different user, but you 
can try using "QT_DEBUG_PLUGINS=1 lyx" to
get some more information.

You said you got lots of error messages, perhaps if you run `lyx -x lyx-quit` 
lyx will survive long enough to give error messages but not long enough to 
completely crash you're computer?

You can also try using SSH and X-Forwarding to yourself with 'ssh -X localhost 
lyx' I've had to use that due to GUI problems before. But if you haven't 
already got SSH set up it's a bit involved to do so.

Do other QT applications have problems, or is it just LyX? You could also try 
the beta for 2.4 which uses Qt6 (see https://ftp.lip6.fr/pub/lyx/devel/lyx-2.4/)

From: lyx-users  on behalf of Peter 

Sent: Tuesday, 31 October 2023 10:31 PM
To: lyx-users@lists.lyx.org 
Subject: Debian 12 and Lyx 2.3.7-1

Hi, I have just upgraded to Debian 12 and find Lyx will not load.  In addition, 
trying to load it seems to crash xorg, so the only way out is to reboot.  I was 
going to post the slew of error messages from the terminal, but as soon as I 
opened Claws the display became unusable.  Moving the cursor led to a broad 
black line across the display, and clicking no longer worked.

I have tried starting Lyx from the terminal as a different user, and I get this:

[different user]:~$ lyx
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even
though it was found. This application failed to start because no Qt
platform plugin could be initialized. Reinstalling the application may
fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl,
offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl,
wayland-xcomposite-glx, xcb.

I have checked, and xcb is installed.

Any suggestions?  Should I try to revert to an earlier version, which worked 
just fine under Debian 11, and if so how would one do that?  I have tried 
reinstalling as suggested above, but it makes no difference.

What happens on launch is that a large window with no borders comes up.  The 
Lyx starting logo is in the middle.  But there is no toolbar, neither right nor 
left clicks work either.

This is Debian 12 with fluxbox.

Any help gratefully received.  I can try running debug if anyone knows what 
flags to use and what to look for.

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


Maths Autocorrect With More Than Two Characters

2019-01-25 Thread Isaac Oscar Gariano
Dear LyX Users,

Do you know if its possible to have (arbitrary) custom maths autocorrections in 
LyX. For example, if I type ‘-->’ I would like lyx to automatically replace it 
with ‘⟶’. LyX does support this, but only if the input sequence is two 
characters, for example ‘=>’ will be replaced by ‘⇒’.

(I did find a file ‘C:\Program Files (x86)\LyX 2.3\Resources\autocorrect’ but 
I’m not sure as the best way of modifying it).

It would also be nice if I could get this working in normal text mode as well, 
I noticed that LyX replaces ‘--’ with ‘–’, but I was unable to find a way of 
adding extra completions.

If none of these features are present in LyX, would it be OK and not too 
difficult if I tried to implement these myself?

— Isaac Oscar Gariano​