-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in Card Browser, the multi-select mode: Edit => change the card type #6432
Comments
Hello! 👋 Thanks for logging this issue. Please remember we are all volunteers here, so some patience may be required before we can get to the issue. Also remember that the fastest way to get resolution on an issue is to propose a change directly, https://github.com/ankidroid/Anki-Android/wiki/Contributing |
Guys, your program is great! The issue is, obviously, not pressing at all: my main goal has been to contribute a tiny bit via reporting this. Thank you! |
Hey @dymky - thanks for logging this! I think this is an unexpected side-effect of #6243 - the idea with that one was that even in multi-select mode we could enable edit note but just have it affect the first card. That use case should not crash at minimum, but if it gives people the impression they can change the card type and it will affect multiple notes, that's not correct Then at the same time, changing multiple card types at once is a popular feature (and something I'd love myself) I think #6243 might need a revert now that I think about it - there may be other note-related things that would confuse people if they thought it would apply to all the selected notes but it really just affects one, and the feature of changing note type for multiple notes at once is still on the wish list |
In upstream, for the change note type, it instead checks whether all selected card have same note type. It would be a really easy change here. At least as far as we only apply simple rules such as "field 1 goes to field 1"... |
@dymky when you say «it crashed», do you mean the program actually stop, or only that it did not do what is expected ? |
It was #6243. Apologies. To note: #6243 was intended to only show the "edit note" dialog if all selected cards are on the same note. It should not have appeared when multiple notes were selected. This is an issue between changing the note type while we are in multiselect mode. Stack Trace
Data flow:
|
Hi, Thank you! By crash I mean program crashing. I have not submitted a crash report, but before starting this thread I had tried it on a freshly created "toy example" (as described above) and it crashed right away: so it must be really straightforward to reproduce (and most likely related to the recent change, as suggested above). Indeed, changing the type for multiple cards at once would take your great program to yet another level of usability (for me, at least): I keep adjusting my own "generic" card type to my needs, and from time to time it happens that I "split" a previous "general-purpose" field into several more specific ones: in such cases it would be great to be able to convert many cards at once to the new type mechanically. Maybe in the meanwhile you could add some most basic option for that? Say, if I delete a non-empty card type, the program might offer to convert all its cards to some other type by performing the most trivial field-mapping action? With this simple operation what I usually need would be achievable (even if via some intermediate steps). |
Reproduction Steps
Expected Result
If you could allow there some sort of batch type reassignment via the default field mapping, that would be perfect!
Actual Result
It crashes, only the first card is affected by the change.
Debug info
Refer to the support page if you are unsure where to get the "debug info".
Research
Enter an [x] character to confirm the points below:
--- I've reported it via the play.google.com, your representative there suggested that I report it here.
The text was updated successfully, but these errors were encountered: