[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] Re: Possible temporary solution to the repaint bug.
From: |
Gubinelli Massimiliano |
Subject: |
Re: [Texmacs-dev] Re: Possible temporary solution to the repaint bug. |
Date: |
Thu, 2 Dec 2010 22:16:15 +0100 |
It would help me if you can tell wheter the X11 backend feels different or not.
thanks
max
On 2 déc. 2010, at 20:34, Alvaro Tejero Cantero wrote:
> * The scroll is somewhat slow (I am using Help - The graphical user interface)
> ** with the mouse it is slow
> ** when moving the caret with the keyboard, repaints are triggered --
> I just discovered that they happen when the cursor changes
> environment: i.e. going inside verbatim, a section heading, etc.
> * Partial repaints occur when resizing the window: bits of the upper
> and lower paragraphs flash for as long as the border of the window is
> dragged.
>
> Maybe the environment-transition repaints have to do with the new
> (fantastic) contextual menu?
>
> If it is of use, I could compile the X version as well for comparison.
>
> -á.
>
>
>
> On Thu, Dec 2, 2010 at 11:05, Gubinelli Massimiliano
> <address@hidden> wrote:
>> Hi Alvaro,
>>
>> On 1 déc. 10, at 22:49, Alvaro Tejero Cantero wrote:
>>
>>> Dear Max,
>>>
>>> the problem is gone and one can work very well, although TeXmacs still
>>> produces some spurious refreshes that were also present before. But
>>> that is fine-tuning.
>>>
>>
>> Could you describe better what you mean by "spurious refreshes". I would
>> like to have this settled once and for all.
>>
>> best
>> max
>>
>>
>>> Thanks,
>>>
>>> -á.
>>>
>>>
>>>
>>> On Wed, Dec 1, 2010 at 16:39, Gubinelli Massimiliano
>>> <address@hidden> wrote:
>>>>
>>>> Thanks to Alvaro and Miguel for studying this issue. I've committed a
>>>> patch (along the proposed lines). Could you confirm that the problem has
>>>> disappeared?
>>>>
>>>> best
>>>> max
>>>>
>>>>
>>>>
>>>> On 27 nov. 2010, at 11:57, Alvaro Tejero Cantero wrote:
>>>>
>>>>> Pending more extensive testing, it works! The documents load and
>>>>> scroll much smoother!
>>>>>
>>>>> -á.
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Nov 27, 2010 at 02:21, Miguel de Benito Delgado
>>>>> <address@hidden> wrote:
>>>>>>
>>>>>> An alternative solution to a possibly unrewarding constant tinkering of
>>>>>> the
>>>>>> constant...
>>>>>>
>>>>>> Same file, but now in function qt_gui_rep::check_event, Change lines
>>>>>> 795 and
>>>>>> 796 to read:
>>>>>>
>>>>>> interrupted= (N(waiting_events) > 0);
>>>>>>
>>>>>> //interrupted= true;
>>>>>>
>>>>>> That is, uncomment the first line, comment the second. And you can
>>>>>> leave
>>>>>> the time_credit set to its default value.
>>>>>> Regards,
>>>>>> ________________
>>>>>> Miguel de Benito.
>>>>>>
>>>>>>
>>>>>> On Sat, Nov 27, 2010 at 00:35, Miguel de Benito Delgado
>>>>>> <address@hidden> wrote:
>>>>>>>
>>>>>>> Hi,
>>>>>>> I was trying to post this to the users list but the confirmation of
>>>>>>> my
>>>>>>> subscription never came, so I'm sending it here for those who read
>>>>>>> both
>>>>>>> lists. You are anyway the only ones likely to try the hack at all so
>>>>>>> here it
>>>>>>> goes
>>>>>>> There's been some trouble with the repaint bug, and after seeing it
>>>>>>> myself on Álvaro's computer and reading Sam's reports I noticed that
>>>>>>> changing a constant in src/Plugins/Qt/qt_gui.cpp, namely time_credit,
>>>>>>> to one
>>>>>>> tenth its value, I also experienced the problem when opening large
>>>>>>> files. So
>>>>>>> those of you suffering from the bug can try to set it to, say, 1000
>>>>>>> (ten
>>>>>>> times its default value) and see if it does the trick. This will
>>>>>>> probably
>>>>>>> decrease responsiveness but it's a tradeoff you might be willing to
>>>>>>> accept
>>>>>>> until proper fixing is done.
>>>>>>> Regards,
>>>>>>> ________________
>>>>>>> Miguel de Benito.
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Texmacs-dev mailing list
>>>>>> address@hidden
>>>>>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Texmacs-dev mailing list
>>>>> address@hidden
>>>>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>>>>
>>>>
>>>> _______________________________________________
>>>> Texmacs-dev mailing list
>>>> address@hidden
>>>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>>>>
>>>
>>> _______________________________________________
>>> Texmacs-dev mailing list
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>>
>>
>> _______________________________________________
>> Texmacs-dev mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/texmacs-dev
>>
>
> _______________________________________________
> Texmacs-dev mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/texmacs-dev