Description of problem: If you give a user a line edit to enter a file path, don't give them: - a dialog to select a file, they are expecting to type - a browse button if you go with the line edit selector It's not very usable. Version-Release number of selected component (if applicable): Dev How reproducible: Easy always Steps to Reproduce: 1. Go to Projects->Select a Project->select a Version 2. Press Source Documents, Upload Document 3. Click on the Upload dialog line edit Actual results: A dialog appears Expected results: Nothing, I should be allowed to type here Additional info: There seems to be a horrid focus battle at play here too - WebDriver can happily enter the text a user cannot, but the text from the linedit is ignored anyway and the exception of bug990373 occurs.
Edit: scratch the additional info - it's a different exception!
This is the standard file upload element provided by the browser, so will differ a bit from browser to browser. Overriding the behaviour and style of this particluar element is somewhat hacky and is not straightforward, but would be nice to do if we find a stable and maintainable way to do so.
Switched to an RFE - make nice upload thingy
Invalidated by https://github.com/zanata/zanata-server/commit/5b76932142d18da8ab16a5d4a08acbd58d72ed37