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

Digitizer form does not respond to „width“ and „height“ #1248

Closed
sylviaobk opened this issue Jul 29, 2020 · 1 comment
Closed

Digitizer form does not respond to „width“ and „height“ #1248

sylviaobk opened this issue Jul 29, 2020 · 1 comment
Labels
Question Someone asking for help

Comments

@sylviaobk
Copy link

Digitizer form does not respond to „width“ and „height“
popup:
title: 'Bitte Fenster an rechter unterer Ecke mit gedrückter linker Maustaste vergrößern.'
width: 480px
height: 580px
resizable: true
showExtendSearchSwitch: false
To reproduce the behavior:

  1. Open Edge and
    https://rio.obk.de/mapbender3084_73/app.php/application/RIO_Test_Sylvia_Digi
  2. Click on Digitizer

image

  1. Click on „Linie erstellen“ – Button

image

  1. Click for the startpoint of the line with the left mouse button into the main map window and doubleclick for the endpoint of the line.
  2. Automatically the digitizer form will open

image

Expected behaviour:
The form should look like:

image

You can resize the form by pulling the right buttom corner with pressed left mouse button

PostgreSQL 9.6.15 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
mapbender3084_73
Edge

Sylvia

Digitizer – Formular reagiert nicht auf konfigurierte Fenstergröße
popup:
title: 'Bitte Fenster an rechter unterer Ecke mit gedrückter linker Maustaste vergrößern.'
width: 480px
height: 580px
resizable: true
showExtendSearchSwitch: false
Um den Fehler nachzustellen:

  1. Öffne den Edge und
    https://rio.obk.de/mapbender3084_73/app.php/application/RIO_Test_Sylvia_Digi
  2. Klicke auf Digitizer

image

  1. Klicke auf „Linie erstellen“

image

  1. Klicke für den Linienanfangspunkt mit der linken Maustaste ins Kartenfenster und doppelklicke für den Linienendpunkt.
  2. Jetzt öffnet sich automatisch das Digitalisierformular

image

Erwartetes Verhalten:
Das Formular sollte größer sein:

image

An der rechten unteren Ecke kann man mit gedrückter linker Maustaste die Fenstergröße ändern.

PostgreSQL 9.6.15 on x86_64-pc-linux-gnu, compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516, 64-bit
mapbender3084_73
Edge

Sylvia

@rschwammborn
Copy link
Collaborator

Hello @sylviaobk ,
I've tried to reproduce your issue with the newest LTS-version of Mapbender (which is 3.0.8.6). I made the following adjustments to your configuration to avoid the styling issues you have (Disclaimer: I didn't use Edge). Nethertheless, there should be several solutions to fix this:

popup:
title: 'Bitte Fenster an rechter unterer Ecke mit gedrückter linker Maustaste vergrößern.'
width: 480px
height: auto
resizable: true
showExtendSearchSwitch: false

Height is automatically adjusted by the browser, probably the preferred fix.

or

popup:
title: 'Bitte Fenster an rechter unterer Ecke mit gedrückter linker Maustaste vergrößern.'
height: 580
width: 480
resizable: true
showExtendSearchSwitch: false

This is how the parameters should be inserted according to:

or

popup:
title: 'Bitte Fenster an rechter unterer Ecke mit gedrückter linker Maustaste vergrößern.'
width: 480px
resizable: true
showExtendSearchSwitch: false

...which would omit the height parameter at all, but the styling should still be fixed.

Please try them all out and see if your problem still occurs afterwards.
I'm closing this issue. If neither of the proposed solutions should work, please check your configuration and/or comment on the issue again. Thanks!

@rschwammborn rschwammborn added the Question Someone asking for help label Jan 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Someone asking for help
Projects
None yet
Development

No branches or pull requests

2 participants