Notice: strange key sequence behavior on Qt-TeXmacs

View: New views
3 Messages — Rating Filter:   Alert me  

Notice: strange key sequence behavior on Qt-TeXmacs

by Norbert Nemec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi there,

I just noticed a strangeness on Qt-TeXmacs that may have been introduced
by my own patches:

Sometimes sequences like Alt-Shift-"&" do not work. In that case
"sometimes" meaning: in each session of TeXmacs, it either works or does
not work at all (with a ~50% chance and no recognizable pattern).

I never observed this behavior before my recently reworked and committed
patch, so some strange connection is likely. I have not yet managed to
track down the problem, but I will work on it as soon as I can.
Meanwhile, if you encounter the same problem with the current SVN
version, revert the patch titled "fixes for keyboard handling (by
Norbert Nemec)".

Greetings,
Norbert


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Re: Notice: strange key sequence behavior on Qt-TeXmacs

by Massimiliano Gubinelli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I added a patch yesterday evening. It was due to the handling of  
delayed messages in qt. Apparently the should respect some order.  
Please check yourself that the problem actually is gone. Best


Max

On 10 oct. 2009, at 10:37, Norbert Nemec <Norbert.Nemec.list@...>  
wrote:

> Hi there,
>
> I just noticed a strangeness on Qt-TeXmacs that may have been  
> introduced by my own patches:
>
> Sometimes sequences like Alt-Shift-"&" do not work. In that case  
> "sometimes" meaning: in each session of TeXmacs, it either works or  
> does not work at all (with a ~50% chance and no recognizable pattern).
>
> I never observed this behavior before my recently reworked and  
> committed patch, so some strange connection is likely. I have not  
> yet managed to track down the problem, but I will work on it as soon  
> as I can. Meanwhile, if you encounter the same problem with the  
> current SVN version, revert the patch titled "fixes for keyboard  
> handling (by Norbert Nemec)".
>
> Greetings,
> Norbert
>
>
> _______________________________________________
> Texmacs-dev mailing list
> Texmacs-dev@...
> http://lists.gnu.org/mailman/listinfo/texmacs-dev


_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev

Re: Notice: strange key sequence behavior on Qt-TeXmacs

by Norbert Nemec :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Max,

after quite some work, I managed to track down the problem to the commit
introducing the native Qt runloop. Rolling back and applying my own
patches instead does not show the problem, so it must be somewhere in
the changes that you did on top of my patches.

Most notably is indeed the delayed message handling. However, your
latest fix does not solve the problem. Maybe there is something else.

Unfortunately, I still cannot reproduce in any predictable way.
Sometimes, the Alt key works for the whole session, sometimes it does
not work at all for the whole session. This seems to depend very
delicately on when I press the Alt key for the first time and what keys
I press along with it. I have not managed to figure this out in detail. :-(

Greetings,
Norbert





Massimiliano Gubinelli wrote:

> I added a patch yesterday evening. It was due to the handling of
> delayed messages in qt. Apparently the should respect some order.
> Please check yourself that the problem actually is gone. Best
>
>
> Max
>
> On 10 oct. 2009, at 10:37, Norbert Nemec <Norbert.Nemec.list@...>
> wrote:
>
>> Hi there,
>>
>> I just noticed a strangeness on Qt-TeXmacs that may have been
>> introduced by my own patches:
>>
>> Sometimes sequences like Alt-Shift-"&" do not work. In that case
>> "sometimes" meaning: in each session of TeXmacs, it either works or
>> does not work at all (with a ~50% chance and no recognizable pattern).
>>
>> I never observed this behavior before my recently reworked and
>> committed patch, so some strange connection is likely. I have not yet
>> managed to track down the problem, but I will work on it as soon as I
>> can. Meanwhile, if you encounter the same problem with the current
>> SVN version, revert the patch titled "fixes for keyboard handling (by
>> Norbert Nemec)".
>>
>> Greetings,
>> Norbert
>>
>>
>> _______________________________________________
>> Texmacs-dev mailing list
>> Texmacs-dev@...
>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>
>
> _______________________________________________
> Texmacs-dev mailing list
> Texmacs-dev@...
> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>



_______________________________________________
Texmacs-dev mailing list
Texmacs-dev@...
http://lists.gnu.org/mailman/listinfo/texmacs-dev