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

Oculars: ignoring 'Binocular' setting in Eyepieces tab, showing wrong UI texts #1738

Closed
joberreiter opened this issue Jun 12, 2021 · 9 comments
Assignees
Labels
bug Something likely wrong in the code state: confirmed A developer can reproduce the issue
Milestone

Comments

@joberreiter
Copy link

When the first entry of the eyepieces tab is of 'Binocular' type, the Oculars plugin shows wrong UI texts.

Expected Behaviour

On opening the settings dialog within Oculars and selecting the eyepieces tab, I would expect this for binoculars:
snap0195

Actual Behaviour

On opening the settings dialog within Oculars and selecting the eyepieces tab, there is:
snap0194

Steps to reproduce

  • Activate Oculars (Ctrl-O)
  • Click on the settings icon to bring up the settings dialog
  • At the eyepieces tab, at the first entry, check the 'Binocular' setting. If there is no entry, create it (values don't matter), and check the 'binocular' type.
  • Close and restart Stellarium (not sure if that is necessary!)
  • Activate Oculars (Ctrl-O)
  • Click on the settings icon to bring up the settings dialog
  • Click on the 'Eyepieces' tab to show the eyepieces list

System

  • Stellarium version: stellarium-0.21.0-win64.exe
  • Operating system: MS Windows 7 SP1 (= v6.1) , 64bit, language german, region "de-de"
  • Graphics Card: NVIDIA GeForce GTX 760, driver 466.11-desktop-win8-win7-64bit-international-whql.exe
  • Screen type (if applicable): 2x 23" 16:10 @ 3360x1050px (32:10)

Logfile

log.txt

@github-actions
Copy link

Thanks for adding your first issue to Stellarium. If you have questions, please do not hesitate to contact us.

@joberreiter joberreiter changed the title Oculars: ignoring 'Binocular' setting Oculars: ignoring 'Binocular' setting in settings dialog Jun 12, 2021
@joberreiter joberreiter changed the title Oculars: ignoring 'Binocular' setting in settings dialog Oculars: ignoring 'Binocular' setting in Eyepieces tab, showing wrong UI texts Jun 12, 2021
@alex-w
Copy link
Member

alex-w commented Jun 12, 2021

I cannot reproduce the issue

@alex-w
Copy link
Member

alex-w commented Jun 12, 2021

Please share your oculars.ini file

@joberreiter
Copy link
Author

Of course:
ocular.ini.txt

I have to rename it, because github is configured not to allow to upload *.ini files.

@joberreiter
Copy link
Author

joberreiter commented Jun 12, 2021

May it be that the sequence of the ini-file entries starting with "<number>\" does matter?
And if the numbered lines are not perfectly sorted (by number), the read out of the ini-entries fails (and the settings get their default values)?
Like:

0\name=Oly 8x42 EXPS1
0\afov=6.5
0\efl=8
0\fieldstop=42
0\permanentCrosshair=false
0\reticlePath=
1\name=Nikon Aculon 10-22x50 @ 10
1\afov=36.7
1\efl=10
1\fieldstop=50
1\permanentCrosshair=false
1\reticlePath=
0\binoculars=true     # <-- Note this line!
1\binoculars=true

Maybe it is then related to #1684 ?

@gzotti
Copy link
Member

gzotti commented Jun 12, 2021

The Oculars plugin currently undergoes a major revision. Hopefully this will be then solved.

@alex-w alex-w added bug Something likely wrong in the code state: confirmed A developer can reproduce the issue labels Jun 12, 2021
@github-actions
Copy link

Hello @joberreiter! OK, developers can reproduce the issue. Thanks for the report!

@alex-w alex-w added this to the 0.21.1 milestone Jun 12, 2021
@alex-w alex-w self-assigned this Jun 12, 2021
@alex-w alex-w closed this as completed in 445fb01 Jun 12, 2021
@github-actions
Copy link

Hello @joberreiter! Please check the fresh version (development snapshot) of Stellarium:
https://github.com/Stellarium/stellarium-data/releases/tag/weekly-snapshot

@github-actions
Copy link

Hello @joberreiter! Please check the latest stable version of Stellarium:
https://github.com/Stellarium/stellarium/releases/latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something likely wrong in the code state: confirmed A developer can reproduce the issue
Development

No branches or pull requests

4 participants