News:

Use the "Forum Search"
It may help you to find anything in the forum ;).

[Android] Chat window does not allow scrolling

Started by Yona-TYT, July 20, 2024, 09:43:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT


The expected behavior is that dragging up or down should move the contents of the window, but this is not happening.

You can get focus when scrolling using the scroll bar, but this is lost when I switch between tabs. If I remember correctly we had already had a similar problem with the scenario window when drag scrolling was implemented.



Screenshot_2024-07-20-17-32-42-189_com.simutrans.jpg

prissi

This is intended, it always jumps to the last entry. Dragging of window content had never worked. Might be an extension request ...

Yona-TYT

Quote from: prissi on July 20, 2024, 11:29:44 PMThis is intended, it always jumps to the last entry. Dragging of window content had never worked. Might be an extension request ...
I was referring to scrolling in touch mode, this is already being implemented, the problem is that it is not responding well to the drag up and down gestures.

prissi

It is only possble if you hit on an element that does not handle clicks. Since most of the chat bubbles handle clicks (to copy the chat message), there are not many places left to drag.

Yona-TYT

Quote from: prissi on July 20, 2024, 11:41:30 PMIt is only possble if you hit on an element that does not handle clicks. Since most of the chat bubbles handle clicks (to copy the chat message), there are not many places left to drag.
Even outside of chat bubbles, you can't get scrolling.

Wouldn't it be better to double click to copy text?.

prissi

I can pan when clicking on the date entry outside the bubbles.

Yona-TYT

#6
Quote from: prissi on July 21, 2024, 04:00:15 AMI can pan when clicking on the date entry outside the bubbles.
It's not working for me I'm afraid, but I'm sure this has happened before, in the scenario window, however I couldn't find the thread on the forum.

Edit.
Here is the discussion of when this was implemented, I hope it is helpful:

https://forum.simutrans.com/index.php?msg=199265

prissi

Ok, it work only having scrolled once with the scrollbar. Also double click was very broken with SDL2. Actually copying only happened when you were hitting the text. Now changed to double click.

Yona-TYT

Quote from: prissi on July 21, 2024, 06:28:26 AMAlso double click was very broken with SDL2.
Broken you say? umm...double clicking to minimize windows in the title bar works surprisingly well for me.

But with the chat I have noticed a small difference in the reaction, for example in some cases I may have to make several attempts for the text to be copied.


Is there any substantial difference between double clicking the title bar and chat bubbles?.

Yona-TYT

Oh, I know what the problem was, it's just that double clicking only works on text so this makes it difficult to copy short texts.

How about if double clicking on the bubble copies the text? That would make it easier to copy short texts on a touch screen.