Git Product home page Git Product logo

Comments (3)

vodemn avatar vodemn commented on June 2, 2024

The brightest aperture selected is f/1.7, but the brightest shown - f/1.8, even though there is no limitation by the shutter speed for this EV.

Screenshots

from m3_lightmeter.

vodemn avatar vodemn commented on June 2, 2024

Closing, as #111 (comment) is due to f/1.7 being a 1/2 stop value and the displayed values are 1/3 stop. Therefore the next brightest aperture in that case is f/1.6.

from m3_lightmeter.

vodemn avatar vodemn commented on June 2, 2024

Reopening
Exception caught when after hiding equipment profiles picker

  1. Go to settings
  2. Hide equipment profile picker
  3. Go back to the metering screen
Spoiler warning
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building MeteringScreenLayoutFeatureListener(dependencies: [_MeteringScreenLayoutModel], state: _MeteringScreenLayoutFeatureListenerState#e3f1a):
setState() or markNeedsBuild() called during build.

This EquipmentProfileProvider widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.
The widget on which setState() or markNeedsBuild() was called was: EquipmentProfileProvider
    dependencies: [IAPProducts]
    state: EquipmentProfileProviderState#2892e
The widget which was currently being built when the offending call was made was: MeteringScreenLayoutFeatureListener
    dependencies: [_MeteringScreenLayoutModel]
    state: _MeteringScreenLayoutFeatureListenerState#e3f1a
The relevant error-causing widget was
MeteringScreenLayoutFeatureListener
screen_metering.dart:80
When the exception was thrown, this was the stack
#0      Element.markNeedsBuild.<anonymous closure>
framework.dart:4651
#1      Element.markNeedsBuild
framework.dart:4663
#2      State.setState
framework.dart:1159
#3      EquipmentProfileProviderState.setProfile
equipment_profile_provider.dart:70
#4      _InheritedListeners.build.<anonymous closure>
screen_metering.dart:91
#5      _MeteringScreenLayoutFeatureListenerState.didChangeDependencies
listener_metering_layout_feature.dart:40
#6      StatefulElement._firstBuild
framework.dart:5237
#7      ComponentElement.mount
framework.dart:5062
...     Normal element mounting (35 frames)
#42     _InheritedProviderScopeElement.mount
inherited_provider.dart:411

from m3_lightmeter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.