Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

App crashes in selection mode with press & hold #64

Open
myii opened this issue Feb 12, 2019 · 7 comments
Open

App crashes in selection mode with press & hold #64

myii opened this issue Feb 12, 2019 · 7 comments
Labels

Comments

@myii
Copy link

myii commented Feb 12, 2019

Crashes confirmed on two devices:

  • N5 devel: 2019-02-11.
  • OPO rc: 2019-W06.

Not 100% reproducible but do these steps a few times and it will crash:

  1. Press & hold until context menu is displayed.
  2. Hit Select.
  3. Make an arbitrary selection area, doesn't have to involve any text.
  4. Press & hold on the selection area.
  5. Crash occurs upon releasing the selection area.

Here's a GIF showing the crash occurring on the OPO after the second attempt:

out

@wagafo
Copy link
Collaborator

wagafo commented Feb 12, 2019

In a Nexus 5 I cannot reproduce it with your description, but I have a consistent crash with the following sequence:

  1. Press & hold until context menu is displayed.
  2. Press Close in the menu
  3. Crash occurs immediately

@wagafo wagafo added the bug label Feb 12, 2019
@myii
Copy link
Author

myii commented Feb 12, 2019

@wagafo There's a certain skill to making it crash the way I've shown in the GIF above! I'm confident I could make it happen on your device too, if you care to pass it over...!

As for your crash, I'm wondering if that's what the Close actually means (while that's very strange). Perhaps it does mean to close the app, rather than the context menu. But then that really requires clearer wording.

@myii
Copy link
Author

myii commented Feb 12, 2019

@wagafo Well, terminal.finished() suggests that it is supposed to close the app:

Action {
text: i18n.tr("Close")
onTriggered: terminal.finished()
shortcut: settings.shortcutCloseTab
}

@wagafo
Copy link
Collaborator

wagafo commented Feb 12, 2019

OK, it is clear (I should have looked at the source). I'll keep trying to see if I can reproduce your crash.

@wagafo
Copy link
Collaborator

wagafo commented Feb 12, 2019

I have made it crash, but after pressing and holding the selected area, I have to slightly move my finger. If I just release it doesn't crash in my device.

@myii
Copy link
Author

myii commented Feb 12, 2019

@wagafo Yes, more often than not, the "finger wiggle" seemed to be part of the equation. But I was able to reproduce it without it, so I didn't want to muddy the main report with too much noise. Thanks for confirming.

@myii
Copy link
Author

myii commented Feb 12, 2019

OK, it is clear (I should have looked at the source). I'll keep trying to see if I can reproduce your crash.

@wagafo But someone using the terminal doesn't have access to the source code when using it. And that Close option really appears to be for the context menu. I'm sure it could be worded better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants