| Summary: | [api] automatically validate when pressing finish on repository setting page | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Steffen Pingel <steffen.pingel> | ||||||||||||||||
| Component: | Mylyn | Assignee: | Frank Becker <eclipse> | ||||||||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||||||||
| Severity: | enhancement | ||||||||||||||||||
| Priority: | P2 | CC: | eclipse | ||||||||||||||||
| Version: | unspecified | ||||||||||||||||||
| Target Milestone: | 3.7 | ||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||
| OS: | Linux | ||||||||||||||||||
| Whiteboard: | |||||||||||||||||||
| Bug Depends on: | 373851, 373877 | ||||||||||||||||||
| Bug Blocks: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
|
Description
Steffen Pingel
Create review http://review.mylyn.org/304 Created attachment 211229 [details]
mylyn/context/zip
Create Patchset 2 based on the comments Created attachment 211232 [details]
mylyn/context/zip
Create Patchset 3 based on the comments Created attachment 211238 [details]
mylyn/context/zip
Fix for failing TracTests is now in Patchset 5 Created attachment 211361 [details]
screenshot
Changes look good to me. I have put this on the agenda for the next meeting to do a UI review. One suggestion that came up on the UI review was to move the "Validate on Finish" button next to the validate button but there may not be enough horizontal space when the page is embedded in a multi-page wizard that has previous/next buttons. Shawn raised a concern that if the page had a scroll bar the "Validate on Finish" may not be visible and users may not understand how to exit the wizard. Overall we decided to leave the current UI design for now. Code from review is now in HEAD so we can close this. Created attachment 211592 [details]
mylyn/context/zip
I noticed that the Finish button is still enabled on Gtk during automatic validation (see screenshot). Created attachment 212322 [details]
enabled finish button
(In reply to comment #13) > I noticed that the Finish button is still enabled on Gtk during automatic > validation (see screenshot). This was not only on Gtk. I creat review http://review.mylyn.org/363 Created attachment 212354 [details]
mylyn/context/zip
Frank, can you reliably reproduce the problem? We can apply a work-around similar to what you have suggested but I would prefer if we fixed the actual enablement of the button. Alternative proposal for a fix: http://review.mylyn.org/366. I have committed the fix proposed in comment 18. (In reply to comment #19) > I have committed the fix proposed in comment 18. Steffen, I did not see how this can fix the problem. WizardDialog.updateButton set the finish button enable/disable with the result from wizard.canFinish(). wizard.canFinish() call EditRepositoryWizard.canFinish() call BugzillaRepositorySettingPage.isPageComplete() That was the reason for my change. When I use your review http://review.mylyn.org/366 I get an enabled Finish button during validate on my MacBook Pro Thanks for clarifying. The fix does not address the enabled finish button but it avoids the problem of running the Finish job in parallel several times. I have opened bug 373877 to fix the button enablement. |