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 — feat: windows by triniwiz · Pull Request #11272 · NativeScript/NativeScript

Conversation

@triniwiz

@triniwiz triniwiz commented Jun 26, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Adds support for the new windows runtime.

Closes #254 (WinUI3)

Sorry, something went wrong.

Uh oh!

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

etherealHero reacted with rocket emoji
All reactions
  • 🚀 1 reaction
triniwiz added 24 commits May 12, 2026 13:47
@triniwiz
chore: sanitize helper
c206072
@triniwiz
feat(webpack5): support windows
6a1c7e3
@triniwiz
chore(core): windows platform initial support
578b640
@triniwiz
feat(windows): color, timer & text-core
eb05462
@triniwiz
feat(windows): application
bf6aa23
@triniwiz
feat(windows): application-settings
5d2719e
@triniwiz
feat(windows): connectivity
a9d0898
@triniwiz
feat: windows assets
96b3f33
@triniwiz
fix(webpack): windows global
3b5d802
@triniwiz
feat(vite): windows support
b52c36f
@triniwiz
feat(types-minimal): windows
5ff02e4
@triniwiz
chore: windows core updates
03d56f1
@triniwiz
chore: polish windows support
a7f6090
@triniwiz
chore(windows): polish
dc95111
@triniwiz
chore: updates
8a87e28
@triniwiz
chore(windows): updates
b23b481
@triniwiz
chore(windows): polish
96f2d72
@triniwiz
chore: clean up
3342802
@triniwiz
chore(windows): polish
9554dfc
@triniwiz
chore: polish
66e3246
@triniwiz
chore(windows): polish
d3e9ebf
@triniwiz
chore(types-minimal): missing type arrayBufferFromBuffer
ba62845
@triniwiz
fix(windows): density
2bd61ea
@triniwiz
fix(windows): cache density
0900f0c
@nx-cloud

nx-cloud Bot commented Jun 26, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit 4fe2d65

Command Status Duration Result
nx test apps-automated -c=android ✅ Succeeded 3m 33s View ↗
nx run-many --target=test --configuration=ci --... ✅ Succeeded <1s View ↗

💡 Verify your cache is correct by running tasks in a sandbox. Read docs ↗


☁️ Nx Cloud last updated this comment at 2026-11-06 08:04:59 UTC

All reactions

Sorry, something went wrong.

Uh oh!

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

@triniwiz triniwiz mentioned this pull request Jun 26, 2026
Support for desktop OSs (OSX, Windows, Linux) #27
Open
@farfromrefug

farfromrefug commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

@triniwiz we should never write PRs like this. This is impossible to review and the possible regressions are numerous.
You should create small PRs with small steps.
I think it would be much easier for everyone if you did this

triniwiz reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@NathanWalker
NathanWalker marked this pull request as draft July 4, 2026 17:52
@tuga001-sme

tuga001-sme commented Jul 10, 2026

Copy link
Copy Markdown

How to run C#(.net) from js/ts ?

All reactions

Sorry, something went wrong.

Uh oh!

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

@listepo

listepo commented Jul 26, 2026

Copy link
Copy Markdown

@triniwiz can you add an example for c# plugin? it's posible?

All reactions

Sorry, something went wrong.

Uh oh!

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

triniwiz added 18 commits September 27, 2026 04:17
@triniwiz
fix(core): unset css property when its value fails to apply
59f2ab5
A value that throws when applied (e.g. var() resolving to an invalid
color) left the previously applied value in place. Per CSS Values 5,
a declaration invalid at computed-value time computes as unset.

https://drafts.csswg.org/css-values-5/#invalid-substitution
@triniwiz
fix(windows): report native view bounds and raise layoutChanged
bb80ba2
@triniwiz
fix(windows): register NativeScript.Widgets classes under their own i…
54125e1
…n-proc server

NSRegisterWidgetsActivatableClasses took the manifest's first inProcessServer, so when a plugin's
registration ran first (e.g. canvas-media's canvasmedia.node) the Widgets classes were listed under
that plugin's DLL and every widget activation failed with "Package ... not found". Select the
server whose Path is NativeScript.Widgets.dll, as the plugin registrations do.
@triniwiz
Merge remote-tracking branch 'origin/main' into feat/windows
c97e455
Conflict in deps-bundle discovery: main's lazy transitive evaluation reads
each input's format from esbuild's metafile, but a failing build with
metafile set crashes the process on esbuild 0.27, and the windows retry
loop expects failures. The retry loop now probes without metafile, then
one final metafile build runs on the known-resolvable entries.
@triniwiz
fix(vite): windows /@fs ids for workspace-anchored specs
01bbd97
resolveFsAnchoredSpec built /@fsc:/... on windows; add the separator like
the served-module transformer does. Normalize separators in the new specs.
@triniwiz
Merge branch 'main' into feat/windows
ebe8d24
@triniwiz
Merge branch 'main' into feat/windows
58d4d3e
@triniwiz
fix(windows): inset the ActionBar title and back button from the bar …
b90cfc0
…edge
@triniwiz
fix(windows): take the ActionBar spacing from WinUI's TitleBar template
29716fc
@triniwiz
fix(windows): use WinUI's back button for the ActionBar unless a Navi…
3fa38d2
…gationButton sets text or an icon
@triniwiz
Merge branch 'main' into feat/windows
783eb03
@triniwiz
fix(windows): the title bar follows the app's light or dark appearance
6f89f99
WinUI leaves the system title bar light, so a dark app (or one switched with Application.systemAppearanceChanged) kept a light caption. The window's AppWindow title bar is now set when the window opens and on each appearance change: with PreferredTheme on Windows App SDK 1.7+, otherwise with the system's light or dark caption colors. Setting the colors needs a runtime that boxes struct values for IReference<T>.
@triniwiz
feat: export isWindows from @nativescript/core
211fb3e
@triniwiz
fix(windows): views with gestures take the pointer anywhere on their box
5823b14
WinUI only hit-tests a panel where it has a background, so a view with a tap or touch listener and no background got the pointer only over its children, and input went through it to whatever was underneath. A full-screen layer meant to catch taps outside a menu let them reach the page, and the wheel scrolled it. As on Android and iOS, a view with gestures now takes the pointer over its whole box: an unset background becomes transparent.
@triniwiz
fix(windows): touch move only fires while the pointer is in contact
545f99a
@triniwiz
feat(windows): multi-window support
9b7afd9
- Application.openWindow() and a NativeWindow per WinUI Window
- @media measured per window
- App exits once its last window closes (needs @nativescript/windows 1.0.0-beta.13)
@triniwiz
chore(apps): bump @nativescript/windows to 1.0.0-beta.13
d8e08dc
@triniwiz
Merge branch 'main' into feat/windows
86b4407
@triniwiz triniwiz mentioned this pull request Oct 22, 2026
RFC: Windows support NativeScript/rfcs#60
Open
triniwiz added 2 commits October 22, 2026 23:34
@triniwiz
feat(windows): let a parent resolve its children's percentage sizes (#…
f301728
…11468)

* feat(windows): let a parent resolve its children's percentage sizes

View gains _setChildPercentSize(child, horizontal, fraction), which
returns false. A percentage width or height is handed to the parent's;
when it returns true, core leaves the XAML Width/Height unset and skips
its own percent sizing. Setting a length clears it (fraction null).

* feat(windows): view location in window, on screen and relative to a view (#11515)

getLocationInWindow and getLocationRelativeTo transform the element's origin
through XAML; getLocationOnScreen adds the window's client origin, read off its
AppWindow (cached per XamlRoot) by a window-helper util.
@triniwiz
Merge remote-tracking branch 'origin/main' into feat/windows-merge
abae298
# Conflicts:
#	packages/vite/hmr/server/websocket-ns-m-request.ts
#	packages/vite/hmr/shared/vendor/manifest.spec.ts
@NathanWalker NathanWalker mentioned this pull request Oct 23, 2026
tvOS, desktop(Mac, Linux, Win) and watchLS support #6829
Closed
aleclarson and others added 6 commits October 28, 2026 09:38
@aleclarson
fix(windows): break import cycle between view and animation modules (#…
85a23d7
…11581)

[skip ci]
@triniwiz
fix(windows): knownFolders.currentApp() is the package's app folder
56d83bd
The app ships in the package's app\ folder (ms-appx:///app/), but
getCurrentAppPath() returned the InstalledLocation itself, so every ~/ path
resolved through currentApp() (fonts, sounds, CSS imports, web-view and
tab-view sources) pointed one folder too high and failed to open.

currentApp() is now InstalledLocation\app, as on iOS (<bundle>/app) and
Android (files/app). getLogicalRootPath() stays the package root, like the
bundle root on iOS and files/ on Android.
@triniwiz
fix(windows): make file-system members wait for their WinRT operations
097ece1
Delete, rename, folder listing, size, last-modified and the sync
read/write members called .done() (not part of the projection) or
invoked methods on the pending IAsyncOperation instead of its result.
Sync members now block on the operation, async members chain it, and
failures surface the operation's HRESULT through onError/rejection.

Also: writes create the file, append no longer overwrites, the
appendBuffer members exist, folders never report an extension, and
getFileExtension is implemented.

Refs #11613
@triniwiz
fix(windows): use the IMap members of LocalSettings.Values
5513b7f
Values[key] reads and writes do not reach the IPropertySet on every
engine; call HasKey/Lookup/Insert explicitly. remove() no longer throws
for a missing key.

Refs #11614
@triniwiz
Merge remote-tracking branch 'origin/main' into feat/windows
298c76d
# Conflicts:
#	packages/core/ui/core/properties/css-variable-expression.spec.ts
#	packages/core/ui/core/properties/index.ts
#	packages/core/ui/styling/style-scope.spec.ts
#	packages/core/ui/styling/style-scope.ts
@triniwiz
fix(windows): close modals on light dismiss
4fe2d65
The modal Popup's Closed handler was attached with
AddHandler(Popup.ClosedEvent, ...), but Popup.Closed is a plain event,
not a routed one: Popup.ClosedEvent is undefined, the call threw and
the empty catch hid it. Clicking outside a cancelable modal closed the
Popup without running the modal's close logic, so the view kept its
modal state and the close callback never fired. The handler is now
assigned to popup.Closed and cleared with null on close.

Also corrects the TextField comment: AddHandler(KeyDownEvent, handler,
true) works with a runtime that boxes JS delegates for Object
parameters (NativeScript/windows#41); the KeyDown event stays as the
fallback for runtimes that can't.
This was referenced Nov 10, 2026
[windows] awaiting UserConsentVerifier async ops via NSWinRT.toPromise panics the process (cross-isolate PinnedRef) #11627
Closed
[windows] File.readTextSync / File.writeTextSync are stubs — reads yield "undefined", writes silently no-op #11630
Open

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Windows support (UWP)

Uh oh!

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

6 participants

@triniwiz @farfromrefug @tuga001-sme @listepo @nove1398 @aleclarson
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 01402503 — 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.