Skip to content

Inspector permanently broken (until DB file removed) if you click on Font in the Elements tab #534

@JohnKlenk

Description

@JohnKlenk

In the inspector, go to the Elements tab and click on Font on the right side (you may need to first open the "styles" panel by clicking the icon that looks like a square with a vertical line near its right side).

Bug: The inspector crashes with:

TypeError:​ null is not an object (evaluating 'axis.match(WI.FontStyles.SettingPattern)​')​ (at FontStyles.js:​254:​46)​
    _parseFontFeatureOrVariationSettings @ FontStyles.js:​254:​46
    _calculateFontVariationAxes @ FontStyles.js:​223:​91
    _calculateFontProperties @ FontStyles.js:​166:​63
    refresh @ FontStyles.js:​153:​38
    FontStyles @ FontStyles.js:​47:​21
    layout @ FontDetailsPanel.js:​131:​45
    _layoutSubtree @ View.js:​304:​20
    _layoutSubtree @ View.js:​315:​32
    _layoutSubtree @ View.js:​315:​32
    _visitViewTreeForLayout @ View.js:​383:​36

It will then crash every time you use it, until you delete file__0.localstorage (or possibly sometimes file__00.localstorage) in %AppData%\<company>\<app>\default.

The problem does not happen with the WebCore "minibrowser.exe".

(Testing with UL 1.4.0.1b4b800 on Win 10.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions