René's URL Explorer Experiment


Title: Changing font-size / display-size in combination with BottomNavigation causes crash · Issue #8104 · NativeScript/NativeScript · GitHub

Open Graph Title: Changing font-size / display-size in combination with BottomNavigation causes crash · Issue #8104 · NativeScript/NativeScript

X Title: Changing font-size / display-size in combination with BottomNavigation causes crash · Issue #8104 · NativeScript/NativeScript

Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2.0 Cross-platform modules: tns-android: ...

Open Graph Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2...

X Description: Environment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2...

Opengraph URL: https://github.com/NativeScript/NativeScript/issues/8104

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Changing font-size / display-size in combination with BottomNavigation causes crash","articleBody":"**Environment**\r\nProvide version numbers for the following components (information can be retrieved by running `tns info` in your project folder or by inspecting the `package.json` of the project):\r\n - CLI: 6.2.0\r\n - Cross-platform modules:\r\n    - tns-android: 6.2.0\r\n - Android Runtime:\r\n    - Devices with Android 8, 9, and 10.\r\n\r\n**Describe the bug**\r\n\u003c!-- A clear and concise description of what the bug is. Please, explain whether it's a build time error or a runtime error. More detailed logs can be easily obtained by following the instructions in this guide: https://docs.nativescript.org/get-support#how-to-obtain-diagnostic-reports. --\u003e\r\nChanging accessibility font-size within the context of a BottomNavigation causes a runtime error. \r\n\r\n```bash\r\nSystem.err: An uncaught Exception occurred on \"main\" thread.\r\nSystem.err: Calling js method onStart failed\r\nSystem.err: Error: java.lang.IllegalArgumentException: No view found for id 0x2 (unknown) for fragment FragmentBase_vendor_15352_26_TabFragmentImplementation{54a9e51 #1 id=0x2 android:bottomnavigation:2:1}\r\nSystem.err: \r\nSystem.err: StackTrace:\r\nSystem.err: BottomNavigation.commitCurrentTransaction(file:///node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.js:347:37)\r\nSystem.err:     at BottomNavigation.changeTab(file:///node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.js:361:13)\r\nSystem.err:     at BottomNavigation.onLoaded(file:///node_modules/@nativescript/core/ui/bottom-navigation/bottom-navigation.js:289:13)\r\nSystem.err:     at (file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:312:89)\r\nSystem.err:     at ViewBase.callFunctionWithSuper(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:305:8)\r\nSystem.err:     at ViewBase.callLoaded(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:312:13)\r\nSystem.err:     at ViewBase.loadView(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:440:17)\r\nSystem.err:     at (file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:234:18)\r\nSystem.err:     at ContentView.eachChildView(file:///node_modules/@nativescript/core/ui/content-view/content-view.js:70:12)\r\nSystem.err:     at PageBase.eachChildView(file:///node_modules/@nativescript/core/ui/page/page-common.js:126:39)\r\nSystem.err:     at ViewCommon.eachChild(file:///node_modules/@nativescript/core/ui/core/view/view-common.js:1010:13)\r\nSystem.err:     at ViewBase.onLoaded(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:233:13)\r\nSystem.err:     at View.onLoaded(file:///node_modules/@nativescript/core/ui/core/view/view.js:247:34)\r\nSystem.err:     at Page.onLoaded(file:///node_modules/@nativescript/core/ui/page/page.js:43:34)\r\nSystem.err:     at (file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:312:89)\r\nSystem.err:     at ViewBase.callFunctionWithSuper(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:305:8)\r\nSystem.err:     at ViewBase.callLoaded(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:312:13)\r\nSystem.err:     at ViewBase.loadView(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:440:17)\r\nSystem.err:     at (file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:234:18)\r\nSystem.err:     at FrameBase.eachChildView(file:///node_modules/@nativescript/core/ui/frame/frame-common.js:422:12)\r\nSystem.err:     at ViewCommon.eachChild(file:///node_modules/@nativescript/core/ui/core/view/view-common.js:1010:13)\r\nSystem.err:     at ViewBase.onLoaded(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:233:13)\r\nSystem.err:     at View.onLoaded(file:///node_modules/@nativescript/core/ui/core/view/view.js:247:34)\r\nSystem.err:     at FrameBase.onLoaded(file:///node_modules/@nativescript/core/ui/frame/frame-common.js:87:34)\r\nSystem.err:     at (file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:312:89)\r\nSystem.err:     at ViewBase.callFunctionWithSuper(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:305:8)\r\nSystem.err:     at ViewBase.callLoaded(file:///node_modules/@nativescript/core/ui/core/view-base/view-base.js:312:13)\r\nSystem.err:     at ActivityCallbacksImplementation.onStart(file:///node_modules/@nativescript/core/ui/frame/frame.js:872:21)\r\nSystem.err:     at NativeScriptActivity.onStart(file:///node_modules/@nativescript/core/ui/frame/activity.js:29:24)\r\nSystem.err:     at com.tns.Runtime.callJSMethodNative(Native Method)\r\nSystem.err:     at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1286)\r\nSystem.err:     at com.tns.Runtime.callJSMethodImpl(Runtime.java:1173)\r\nSystem.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1160)\r\nSystem.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1138)\r\nSystem.err:     at com.tns.Runtime.callJSMethod(Runtime.java:1134)\r\nSystem.err:     at com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:29)\r\nSystem.err:     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1514)\r\nSystem.err:     at android.app.Activity.performStart(Activity.java:7838)\r\nSystem.err:     at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3398)\r\nSystem.err:     at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)\r\nSystem.err:     at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)\r\nSystem.err:     at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)\r\nSystem.err:     at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)\r\nSystem.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2109)\r\nSystem.err:     at android.os.Handler.dispatchMessage(Handler.java:107)\r\nSystem.err:     at android.os.Looper.loop(Looper.java:214)\r\nSystem.err:     at android.app.ActivityThread.main(ActivityThread.java:7682)\r\nSystem.err:     at java.lang.reflect.Method.invoke(Native Method)\r\nSystem.err:     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)\r\nSystem.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)\r\nSystem.err: Caused by: java.lang.IllegalArgumentException: No view found for id 0x2 (unknown) for fragment FragmentBase_vendor_15352_26_TabFragmentImplementation{54a9e51 #1 id=0x2 android:bottomnavigation:2:1}\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1454)\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1784)\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManager.java:1852)\r\nSystem.err:     at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:802)\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManager.java:2625)\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2411)\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2366)\r\nSystem.err:     at androidx.fragment.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:2243)\r\nSystem.err:     at androidx.fragment.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:654)\r\nSystem.err:     ... 21 more\r\n```\r\n\r\n**To Reproduce**\r\n\u003c!-- Add commands used or steps taken to reproduce the behaviour. --\u003e\r\n1. Download the sample-project zip.\r\n2. Unzip and install dependencies\r\n3. run: `tns debug android`\r\n4. Tap press \"tap to login\" and get navigated to the actual tab-navigation.\r\n5. Switch to any tab\r\n6. Change font-size either from Settings or use adb command: adb shell settings put system font_scale 1.5\r\n7. Go to desktop or another app and return\r\n8. Observe crash\r\n\r\n**Expected behavior**\r\nApplication should resize the text and not crash afterwards.\r\n\r\n**Sample project**\r\n\u003c!-- If possible, provide a link from the [Playground](https://play.nativescript.org) with reproduction of the problem. If not, consider attaching a sample project or link to a repository with such project. --\u003e\r\n[my-app-name.zip](https://github.com/NativeScript/NativeScript/files/3851831/my-app-name.zip)\r\n\r\n**Additional context**\r\n\u003c!-- Add any other context about the problem here. --\u003e\r\nThe bug was first issued to `@nota/nativescript-accessibility-ext` plugin but the author @m-abs  of the plugin found logs pointing towards NativeScript upstream\r\nhttps://github.com/Notalib/nativescript-accessibility-ext/issues/40","author":{"url":"https://github.com/oslc15","@type":"Person","name":"oslc15"},"datePublished":"2019-11-15T14:22:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/8104/NativeScript/issues/8104"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9fae948e-f14f-e9fb-de8a-4f2961810495
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE8FA:2A6262:251E45A:2FE13FD:6974BC26
html-safe-nonce297f44e27a4d36b91c7932e7a6c0ada2d09b9552897faff5c3bd578e0a2ece45
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEZBOjJBNjI2MjoyNTFFNDVBOjJGRTEzRkQ6Njk3NEJDMjYiLCJ2aXNpdG9yX2lkIjoiMTI1NjY0NzcxMTA1ODYwNzE0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf2385b312e41903f8d3cbe6e04e36e5c2ab85fdb9e1b07afd851a01a022e7444
hovercard-subject-tagissue:523497645
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/NativeScript/8104/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4ed066478c1340d983783d9887f963b238e17f8652f60fde81464ed52cc9ed98/NativeScript/NativeScript/issues/8104
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ed066478c1340d983783d9887f963b238e17f8652f60fde81464ed52cc9ed98/NativeScript/NativeScript/issues/8104
og:image:altEnvironment Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project): CLI: 6.2...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameoslc15
hostnamegithub.com
expected-hostnamegithub.com
None4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f
turbo-cache-controlno-preview
go-importgithub.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id31492490
octolytics-dimension-repository_nwoNativeScript/NativeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31492490
octolytics-dimension-repository_network_root_nwoNativeScript/NativeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release488b30e96dfd057fbbe44c6665ccbc030b729dde
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/NativeScript/issues/8104#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F8104
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2FNativeScript%2Fissues%2F8104
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=NativeScript%2FNativeScript
Reloadhttps://github.com/NativeScript/NativeScript/issues/8104
Reloadhttps://github.com/NativeScript/NativeScript/issues/8104
Reloadhttps://github.com/NativeScript/NativeScript/issues/8104
NativeScript https://github.com/NativeScript
NativeScripthttps://github.com/NativeScript/NativeScript
Please reload this pagehttps://github.com/NativeScript/NativeScript/issues/8104
Notifications https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Fork 1.7k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Star 25.4k https://github.com/login?return_to=%2FNativeScript%2FNativeScript
Code https://github.com/NativeScript/NativeScript
Issues 869 https://github.com/NativeScript/NativeScript/issues
Pull requests 58 https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects 0 https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security 0 https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
Code https://github.com/NativeScript/NativeScript
Issues https://github.com/NativeScript/NativeScript/issues
Pull requests https://github.com/NativeScript/NativeScript/pulls
Discussions https://github.com/NativeScript/NativeScript/discussions
Actions https://github.com/NativeScript/NativeScript/actions
Projects https://github.com/NativeScript/NativeScript/projects
Wiki https://github.com/NativeScript/NativeScript/wiki
Security https://github.com/NativeScript/NativeScript/security
Insights https://github.com/NativeScript/NativeScript/pulse
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/8104
New issuehttps://github.com/login?return_to=https://github.com/NativeScript/NativeScript/issues/8104
Changing font-size / display-size in combination with BottomNavigation causes crashhttps://github.com/NativeScript/NativeScript/issues/8104#top
https://github.com/tsonevn
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
https://github.com/oslc15
https://github.com/oslc15
oslc15https://github.com/oslc15
on Nov 15, 2019https://github.com/NativeScript/NativeScript/issues/8104#issue-523497645
my-app-name.ziphttps://github.com/NativeScript/NativeScript/files/3851831/my-app-name.zip
@m-abshttps://github.com/m-abs
Notalib/nativescript-accessibility-ext#40https://github.com/Notalib/nativescript-accessibility-ext/issues/40
tsonevnhttps://github.com/tsonevn
os: androidhttps://github.com/NativeScript/NativeScript/issues?q=state%3Aopen%20label%3A%22os%3A%20android%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.