GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(mobile): text no longer clips in Android desktop windows on external displays by satchlj · Pull Request #19064 · pingdotgg/t3code

fix(mobile): text no longer clips in Android desktop windows on external displays #19064

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.

Sign up for GitHub

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

Merged
juliusmarminge merged 8 commits into pingdotgg:main from satchlj:fix/android-desktop-display-density
Nov 9, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

fix(mobile): text no longer clips in Android desktop windows on external displays #19064

Changes from 1 commit
Commits
Show all changes
8 commits
Select commit Hold shift + click to select a range
3b69498
fix(mobile): text no longer clips in Android desktop windows on exter…
satchlj Oct 13, 2026
088866a
fix(mobile): anchor the display-metrics bind on the onConfigurationCh…
satchlj Oct 13, 2026
de398f8
Merge remote-tracking branch 'origin/main' into fix/android-desktop-d…
juliusmarminge Oct 19, 2026
617bb1d
fix(mobile): verify Android window density lifecycle generation
juliusmarminge Oct 19, 2026
f0d728e
Merge remote-tracking branch 'github/main' into takeover-19064
maria-rcks Oct 26, 2026
651f15f
fix(mobile): reuse react native activity display metrics
maria-rcks Oct 26, 2026
362bdde
Merge origin/main into fix/android-desktop-display-density
satchlj Oct 27, 2026
7357670
Merge remote-tracking branch 'origin/main' into fix/android-desktop-d…
satchlj Nov 6, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view
Prev Previous commit
Next Next commit
fix(mobile): anchor the display-metrics bind on the onConfigurationCh…
…anged override

Look for the full override signature before inserting after its super call,
so a matching string elsewhere in MainActivity can't receive the bind call.
The generated MainActivity is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
  • Loading branch information

Uh oh!

There was an error while loading. Please reload this page.

@satchlj @claude
satchlj and claude committed Oct 13, 2026
commit 088866a8185d875be1dbd1d4e9c5cb2b41db4fcf

There are no files selected for viewing

20 changes: 13 additions & 7 deletions 20 apps/mobile/plugins/withAndroidWindowDisplayMetrics.cjs
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ const SET_CONTENT_VIEW_METHOD = `
}
`;

const CONFIGURATION_CHANGED_SIGNATURE =
"override fun onConfigurationChanged(newConfig: Configuration) {";

const BIND_CALL = `
bindWindowDisplayMetrics()`;

Expand Down Expand Up @@ -94,13 +97,16 @@ module.exports = function withAndroidWindowDisplayMetrics(config) {
);
// Another plugin (withAndroidTabletOrientation) may already override
// onConfigurationChanged; extend it rather than declaring a second override.
if (contents.includes("super.onConfigurationChanged(newConfig)")) {
contents = insertAfter(
contents,
"super.onConfigurationChanged(newConfig)",
BIND_CALL,
"the super.onConfigurationChanged call",
);
const overrideStart = contents.indexOf(CONFIGURATION_CHANGED_SIGNATURE);
if (overrideStart !== -1) {
contents =
contents.slice(0, overrideStart) +
insertAfter(
contents.slice(overrideStart),
"super.onConfigurationChanged(newConfig)",
BIND_CALL,
"the super call in the onConfigurationChanged override",
);
} else {
contents = addImport(contents, "import android.content.res.Configuration");
contents = insertAfter(
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.