Double click select doesn't drag properly

Steps to reproduce

Write anything, but make sure it has multiple words
Double click the last word so it highlights, keep mouse down
Drag to the left, the highlight on the first word is lost
This works in Gmail
It works in this bug comment field Iā€™m typing in right now :wink:
This is a ā€˜deepā€™ mouse behavior that is unsettling when it fails
I hope itā€™s a simple bug fixā€¦

Expected result

What do you expect to see after carrying out the steps above?
When you drag, the selection keeps the original word

This is how I select all of my text (well, I usually drag right but sometimes I drag left)

Actual result

Instead of the expected result, what happened?

Environment

Which operating system are you using? Which browser are you using? If youā€™re using a desktop or mobile app, whatā€™s the version number of Dynalist?


Additional information

Anything else you think would help our investigation, like a screenshot or a log file? You can drag and drop screenshots to this box. For large amount of text, try putting them into something like Pastebin.


Additional comments

3 Likes

Iā€™m not sure, what is ā€œcomment fieldā€. It doesnā€™t work in note for me.

Normal behavior:

Peek%202019-01-21%2001-29

Actual behavior:

Peek%202019-01-21%2001-30

Thanks, Iā€™ve edited my original question to be more clear. I meant that in this bug comment field Iā€™m typing in right now, I see the correct behavior. The stronger point is that everywhere in all browser based text editing, you get the correct double-click drag behavior. Only in Dynalist do you get this bug.

Thanks for the two gifs! They make the point well.

Yeahā€¦ This is a product of how we handle markdown text editing.
Itā€™s not exactly a simple ā€œfixā€.

Weā€™ll put it on the back burner for now.

Thatā€™s disappointing. Every single web-app on the planet does it right. This is something that affects me every day. I get you have priorities and canā€™t get at it right away. I just wish you didnā€™t brush my concerns away with a simple ā€œitā€™s hard, not gonna happenā€ (with a strongly implied never)

Iā€™ve got a partial fix for this: As long as you keep the cursor within the item, it now works as expected.

I canā€™t seem to get the general case to work. When the mouse leaves the item, your selection now becomes a multi-item selection, which hides the original text box you were selecting, which makes the browser stop the cursor-selection action (and forget that you were in double-click-drag mode). When your mouse come back, it will be a fresh new selection.

But at least if the mouse were always inside the item (which is most of the time), it would work as expected now.

Iā€™ll have the fix deployed within a few days!

Thank you, I really appreciate the effort. Given that (Iā€™m guessing) the majority of dynalist items donā€™t use markup, is there any chance that just for ā€˜markupless itemsā€™ this would behave normally?. It could be a cheap win.

I believe it used to be like that years ago, but having the simple text behave differently caused a ton of problems because of the inconsistencies between elements on the page. It was then modified in favor of the simpler approach that was much less error-prone.

OK, itā€™s great that you understand this bug is a significant problem (as you said, behaving two ways depending on markup caused big problems)

However, the issue isnā€™t inconsistency between items, its inconsistency with everything else on the planet. Dynalist is the ONLY product I know that selects text like this.

If itā€™s too hard to fix, thatā€™s entirely your call. You are a small team with HUGE features to tackle. I understand that. Iā€™m just trying to politely let you know that some us notice this problem on a daily basis and itā€™s frustrating.

Iā€™ve already worked out a fix. It should be out in a few days.

This fix does not seem to be working as of March 18. The current dbl-click behavior changes the selection chunk from word to character as soon as you move a few pixels from original position, even if you stay within the same word. FWIW, this is my #1 frustration with Dynalist at this point. I run into it almost every time I do any editing of any item.

I know itā€™s a small thing, itā€™s just selecting text, but thatā€™s exactly why itā€™s a problem. Itā€™s such a common thing that I bump into it everyā€¦ singleā€¦ timeā€¦

What platform are you using? It seems to work for me on the web version right now.

I remember the fix had been out pretty soon after my last post.

Well, Iā€™m sorry, itā€™s working perfectly well now. I have no idea what happened. But itā€™s great. Again, sorry for my snarky comment. Great to see this working!

No worries!

Strange. Itā€™s been working well on the web page but when I open my Dynalist app on a Mac, it shows the old behavior. Is there some way to force a refresh?

Restarting the app should update it. The latest version is 1.1.16 right now.