mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Do you feel latency while typing?


Chronological Thread 
  • From: "Richard (Fangjian) Guo" <address@hidden>
  • To: address@hidden
  • Cc: address@hidden, address@hidden
  • Subject: Re: [TeXmacs] Do you feel latency while typing?
  • Date: Sun, 18 Nov 2018 23:20:55 -0800

Just compiled Texmacs on macOS Mojave following steps in https://github.com/texmacs/texmacs/wiki/Build-with-CMake-on-MacOS

The resulting binary seems quite buggy though. For example, the font does not display in the title (or maybe rendered as white); and I cannot even click on the menus with mouse; also, the hotkeys are mapped with Ctrl instead of Cmd; the buttons at the topbar look disproportionally large....

I compiled against Qt 5 from Homebrew. Is there some additional configuration that I am missing?

Thanks,
Richard

On Sun, Nov 18, 2018 at 8:44 AM sadhen <address@hidden> wrote:

Thanks. Max


I will spare some time to improve the CMake build definition using it.


 原始邮件 
发件人: Massimiliano Gubinelli<address@hidden>
收件人: Richard (Fangjian) Guo<address@hidden>
抄送: Zhang Zhen<address@hidden>; texmacs-users<address@hidden>; henrigirard<address@hidden>
发送时间: 2018年11月19日(周一) 00:24
主题: Re: [TeXmacs] Do you feel latency while typing?

I’m using this formula for brew:


works fine on my mac. 

max


On 17. Nov 2018, at 19:19, Richard (Fangjian) Guo <address@hidden> wrote:

Do we have a homebrew formula for macOS users? I tried compiling a while ago without success.

Richard

On Sat, Nov 17, 2018, 8:59 AM Zhang Zhen <address@hidden wrote:
Hi Henri,
Qt4 works for me! Thanks!

Best,
Zhen 

On Nov 17, 2018, at 11:56, Henri Girard <address@hidden> wrote:

Yes.

What I would do is sudo apt purge qt5* (though it should work !) but be careful because if you have other qt soft you risk to uninstalled them ?

Where have you been adviced about -fPIC I never used this command to compile texmacs ? I compiled it for about 10 years time and I think it's one of the easiest to build...

The problem with qt5 on ubuntu it depends a lot on which version you have got ?

I think you can compile git I gave to you, or may be all your qt is obsolete or broken.

Then sudo apt install qt4-default, delete all references to qt5... And it's not sure it will compiled. I tell you this shouldn't happen with xenial (but today I don't know how 16.04 is updated ?

Le 17/11/2018 à 17:11, Zhang Zhen a écrit :
Compiling 1.99.7 has the same issue when using qt5 as following:
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:37:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpointer.h:37,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPointer:1,
                 from Plugins/Qt/qt_widget.hpp:17,
                 from Plugins/Qt/qt_simple_widget.hpp:18,
                 from Edit/editor.hpp:20,
                 from Texmacs/server.hpp:14,
                 from ./Texmacs/Texmacs/texmacs.cpp:25:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1067:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)."
 #  error "You must build your code with position independent code if Qt was built with -reduce-relo
    ^
makefile:345: recipe for target 'Objects/texmacs.o’ failed

Are you using qt4?

To fix the -fPIE problem, I searched the configure file notice CXXFLAGS should has ‘-fPIC’ parameter under GNU Linux system, don’t know what’s going on there.

Best,
Zhen 


On Nov 17, 2018, at 01:29, Darcy Shen <address@hidden> wrote:

Hi Zhen Zhang

I've fixed the bug when I am advertising GNU TeXmacs on V2EX.



Do not use GNU TeXmacs 1.99.8 . Use 1.99.7 or compile it yourself.


---- On Thu, 15 Nov 2018 00:44:42 +0800 Zhang Zhen <address@hidden> wrote ----

do you know how to we debug with this issue? for example profile the program.

BTW do we have slack channel or gitter channel for texmacs?

Best,
Zhen 

On Sat, Nov 10, 2018 at 2:30 AM Henri Girard <address@hidden> wrote:

I have same problem but already for a certain time. Not only with texmacs, I am investigating if it's not a problem with qt , nvidia because one mouse can't be use on my pc (maybe it's not the same origin ?)

Le 10/11/2018 à 05:17, Richard (Fangjian) Guo a écrit :
I have the same issue here as well (on macos). It is annoying although I can bear with it. 

Richard

On Fri, Nov 9, 2018 at 5:55 PM Zhang Zhen <address@hidden> wrote:
Hi,

Do you guys feel some delay while typing in TeXmacs 1.99.8?
I have such feel on both Mac and Linux.
Is there anyway to speed up the TeXmacs rendering process?

Best,
Zhen Zhang








Archive powered by MHonArc 2.6.19.

Top of page