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

cannot remove (or update) builds #3795

Open
rdieter opened this issue Nov 22, 2019 · 3 comments
Open

cannot remove (or update) builds #3795

rdieter opened this issue Nov 22, 2019 · 3 comments
Labels
WebUI Issues pertaining to Bodhi's web interface

Comments

@rdieter
Copy link

rdieter commented Nov 22, 2019

Example update,
https://bodhi.fedoraproject.org/updates/FEDORA-2019-8468f362c4

I've tried multiple times to remove/update a build, I uncheck
kf5-kirigami2-5.64.0-1.fc31
and add
kf5-kirigami2-5.64.1-1.fc31
and always receive error:
Builds : Multiple kf5-kirigami2 builds specified in F31

Also, tried just removing
kf5-kirigami2-5.64.0-1.fc31
by itself, but that ended up not doing anything (the edited update still listed the removed item).

@mattiaverga
Copy link
Contributor

That happens because if the "search and add builds" input textbox isn't visible on the page, clicking the remove button on a build will just cause the row to be selected and the page to scroll to the input box, but the build isn't removed (if you scroll the page up again, you can see the build still in the list and selected, if you click again on the remove button it will be removed).
See selectize/selectize.js#987

@rdieter
Copy link
Author

rdieter commented Nov 23, 2019

Ah, you describe what's happening alright... mostly. I've tried clicking remove button many times, it always moves focus to the search box, and never actually removes anything. :(

Knowing that, I zoomed browser out to make text really small, so that the search textbox was still visible on the screen... then I was able to do it.

@mattiaverga
Copy link
Contributor

Ah, you describe what's happening alright... mostly. I've tried clicking remove button many times, it always moves focus to the search box, and never actually removes anything. :(

I think that's because after the first click and the page scrolls down you then click on something else (maybe the scrollbar). Doing so, the field looses focus and when you click a second time on the remove button the procedure restarts... I scroll the page through the mousewheel, so that didn't happen to me :-(

As a temporary workaround, it is possible to click on the build you want to remove and then (even if the page scrolls down and the input field gets focus) hit the backspace: that should remove the selected build from the list.

@ryanlerch ryanlerch added the WebUI Issues pertaining to Bodhi's web interface label Nov 28, 2019
@ryanlerch ryanlerch self-assigned this Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebUI Issues pertaining to Bodhi's web interface
Projects
None yet
Development

No branches or pull requests

3 participants