qwat / QWAT

TEKSI Water module (project QWAT) - QGIS project
https://www.teksi.ch
GNU General Public License v2.0
58 stars 31 forks source link

scroll bar locked when opening a form in read-only mode #194

Closed dsavary closed 7 years ago

dsavary commented 7 years ago

For a multiple selection attribute, we cannot see the complete list because de scroll bar is locked. It's only possible to see the values by switching into edit mode.

See the Demo GIF https://share.oslandia.net/public/b40a2c

haubourg commented 7 years ago

raised upstream https://issues.qgis.org/issues/16654

haubourg commented 7 years ago

@pblottiere can you evaluate that issue when you'll start the bugfix work on forms?

ponceta commented 7 years ago

If we follow the other tools logic, it should only display selected values when not in edit mode, thoughts?

pblottiere commented 7 years ago

I found a way to keep the scroll bar activated even if we are not in edit mode.

And @dsavary, what do you think about suggestion of @ponceta?

dsavary commented 7 years ago

@pblottiere It will be a good idea to display only the selected values or to put on the top of the list the selected values. But, now we cannot do this with the current tool/options widget or perhaps I don't know how we can do this.

pblottiere commented 7 years ago

A PR is proposed to keep the scrollbar activated even in read only mode : https://github.com/qgis/QGIS/pull/4905

pblottiere commented 7 years ago

PR has been merged.

pblottiere commented 7 years ago

PR for backport : https://github.com/qgis/QGIS/pull/4925

pblottiere commented 7 years ago

Backport has been merged

dsavary commented 7 years ago

Tested with QGIS 2.18.11 nightly , it's Ok .

pblottiere commented 7 years ago

@haubourg I think this issue can be closed now.