Skip to content
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

Fixed the IconDuplicates lint #1787

Merged
merged 1 commit into from
Jan 22, 2018
Merged

Conversation

grzesiek2010
Copy link
Member

What has been done to verify that this works as intended?

I tested sorting and confirmed everything looks like before.

Why is this the best possible solution? Were any other approaches considered?

I just removed duplicated icons, they were identical so I don't know why we added two different files with the same image.

Are there any risks to merging this code? If so, what are they?

No.

Do we need any specific form for testing your changes? If so, please attach one.

No.

@grzesiek2010 grzesiek2010 changed the title Fixed IconDuplicates lint Fixed the IconDuplicates lint Jan 15, 2018
@shobhitagarwal1612
Copy link
Contributor

Regression noticed: The tint color of the previously selected item is not removed in some cases

Steps to reproduce:

  1. Click on Fill Blank Form
  2. Click on sort icon located in the toolbar
  3. The first item Name A-Z is selected (both the icon and text are blue) by default
  4. Click on the second item Name Z-A
  5. Reopen the sort menu by clicking on the sort icon again
  6. User notices that the first icon is still blue in color

@grzesiek2010
Copy link
Member Author

@shobhitagarwal1612
Thanks but I can't reproduce the issue. Could you provide more info about your device? Are you sure it's regression?

@shobhitagarwal1612
Copy link
Contributor

I tested it on Redmi Note 4 - Android 7.0

@lognaturel
Copy link
Member

@shobhitagarwal1612 Thanks for noticing this! Do you also see the problem on master? If so it might be best to file as a separate issue.

@kkrawczyk123
Copy link
Contributor

I reproduced issue mentioned by @shobhitagarwal1612 on Androids: 4.1, 4.2, 4.4, 7.0 and 8.0 (Screenshot 1) I couldn’t obtain it on master, only on branch so I guess this is regression. On Android 7 I also was able to select two sorting option simultaneously (Screenshot 2) and after choosing it “Sort by” module did not minimize but it wasn’t 100% reproducible. Additionally, I wasn’t able to reproduce that issue on androids 5.1 and 6.0.
screenshot1
screenshot2

@kkrawczyk123
Copy link
Contributor

@opendatakit-bot unlabel "needs testing"

@grzesiek2010
Copy link
Member Author

grzesiek2010 commented Jan 16, 2018

Ok, thanks for the confirmation. I'll try to figure out why it works in this way when I'm free.

I'm pretty sure it's a bug that was bypassed using different files.

@grzesiek2010
Copy link
Member Author

I created a separate issue #1791 since I'm almost sure it's a different bug.

@lognaturel
Copy link
Member

Let's fix #1791 first and make sure this works before merging.

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

Successfully merging this pull request may close these issues.

5 participants