teksi / wastewater

[DEV] Future TEKSI wastewater module, adapted data model to fit VSA-DSS 2020 new standard
https://teksi.github.io/wastewater
GNU General Public License v3.0
2 stars 5 forks source link

Organisation drop-down lists in TEKSI are hidden #490

Open drioeagel opened 1 week ago

drioeagel commented 1 week ago

Describe the bug The dropdown lists for "Datenherr" and "Datenlieferant," as well as all fields related to the organizational list, seem to be obscured, making it difficult to select options.

To Reproduce Steps to reproduce the behavior: Open the Tekis tool in QGIS. Attempt to record data for Abwasserbauwerk and Haltung with Teksi Wizard. Scroll to the fields "Datenherr" and "Datenlieferant" (or any fields tied to the organizational list). Observe that the dropdown lists are hidden or inaccessible.

Expected behavior The dropdown lists for "Datenherr" and "Datenlieferant" should be fully visible and accessible for easy selection.

Screenshots / Data grafik grafik Example data set grafik

Desktop (please complete the following information): TWW Version: 2024.0.3 QGIS Version: 3.34.10-Prizren OS: Windows 11

Additional Context I am using Tekis in QGIS to record data on Schächte and Haltungen. It appears that the organizational dropdown lists, particularly "Datenherr" and "Datenlieferant," are obscured, preventing proper selection. This issue disrupts the workflow and affects data accuracy.

ponceta commented 1 week ago

@drioeagel could you show us the widget configuration of these fields? (layer properties / forms)

It looks like something that shouldn't be translated has been translated

The actual config should be like this :

image

drioeagel commented 1 week ago

I used the QGIS project from the project-translations.zip. 2024.0.3

grafik

urskaufmann commented 1 week ago

I have the same effect. If I change the style (to another style, that is not translated -> #481 ), then it works. If I set the widget configuration of the field again in the translated style, it works also in a translated style (but you see no differences in the widget configuration). Very strange!

ponceta commented 1 week ago

Can you give it a try with this freshly translated project : https://github.com/teksi/wastewater/actions/runs/11699995743/artifacts/2151015353

I reverted some alias translations to see if it fixes this bug at least temporary :

context:alias text:identifier

image

drioeagel commented 1 week ago

Even with the updated project, the list is not displayed grafik

drioeagel commented 1 week ago

i have made the following changes and now they are displayed grafik grafik

ponceta commented 1 week ago

The widget is now missing the identifier attribute selection :

image

When you set it manually it will work but we now have to understand why is the identifier field not set by the translated field.