Hi Yakov

Maybe one way to get started is to find out more about how Firefox decides
how much to scroll when the cursor down key is pressed. An initial
hypothesis might be that there's something about the sequence of steps
you've identified that causes that algorithm to behave unexpectedly: in
particular, that the cursor down behaviour is tied to the position of the
element with the keyboard focus.

Another line of investigation would be the fact that we're seeing the
problem on both TWC and TW5. Given that the implementation is so different
between the two, it suggests that the bug/issue is triggered by something
quite gross (eg deleting the element that has the keyboard focus, as
happens eventually when one uses control-enter to stop editing a tiddler).

Maybe a "minimal test case" could be constructed by duplicating the
behaviour that is common between TW5 and TWC.

Best wishes

Jeremy




On Thu, Dec 4, 2014 at 3:43 PM, Yakov <[email protected]>
wrote:

> Hi Jeremy,
>
> the problem is, for now I have no idea how to track this. I mean, when the
> issue is about some variable value, or an exception in a function, then
> it's ok, there's debugger, possibility to hijack and insert different
> console.log stuff, but this looks like some "bad event handler" (on key
> down?), and I don't understand how can I track an event handler which
> source is unknown, code is not available and I even don't know to which DOM
> element it is attached (if it is).. Do you have any idea how to do this?
>
> Best regards,
> Yakov.
>
> среда, 3 декабря 2014 г., 20:42:33 UTC+3 пользователь Jeremy Ruston
> написал:
>>
>> Hi Yakov
>>
>> I can confirm that I see the same problem with the latest Firefox 33 on
>> Mac OS X, but not in Chrome or Safari. I think therefore that it is a
>> Firefox bug. If we can track the problem down we may be able to work around
>> it.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>>
>> On Sat, Nov 29, 2014 at 4:40 PM, Yakov <[email protected]> wrote:
>>
>>> Hello guys,
>>>
>>> recently I use FireFox with TW more and more, and I've noticed an
>>> annoying bug in TWc. As it's rather misterious to track, I tried it in TW5,
>>> and it is there as well!
>>>
>>> How to reproduce:
>>> 1. open several tiddlers (at least 2, make sure that they take occupy 2+
>>> screen heights)
>>> 2. open the one on the top into the edit mode
>>> 3. press ctrl+enter to save
>>> 4. press "↓"
>>>
>>> What happens: the screen is scrolled down much more than usually, I'd
>>> say it "jumps" -- sometimes to the bottom of the tiddlerDisplay,
>>> sometimes not that deep, but much lower than when "↓" is pressed in a
>>> "usual" state.
>>>
>>> Notes:
>>> * this is true for any tiddler, not only for the top one. Pressing "↓"
>>> causes a "jump" down, pressing "↑" -- up.
>>> * I haven't studied yet to which point it jumps exactly
>>> * I'm on Win7 x64, FireFox 33.1 (the issue were at least in FF 33 as
>>> well)
>>>
>>> Any ideas how to find out what's happening or how to find out? I'm going
>>> to create a ticket, but if this is a FireFox bug, then this wouldn't be a
>>> reasonable thing to do.
>>>
>>> Best regards,
>>> Yakov.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWikiDev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at http://groups.google.com/group/tiddlywikidev.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Jeremy Ruston
>> mailto:[email protected]
>>
>


-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to