Skip to content

[Bug] Cloud JavaScript page title stays "Codename One JavaScript Port" instead of the app name #5911

Description

@jsfan3

Summary

My new Initializr application's JavaScript page is titled Codename One JavaScript Port instead of MyAppName. The generic title appears in browser tabs and bookmarks and provides no application identity in the document title used for indexing.

Minimal reproducer

Generate any new project with the web Initializr and build its JavaScript port using the Codename One cloud build server.

My example: https://routinote.hopto.me/scrolling-test/. I added only one SpanLabel to the generated Hello World screen and published the downloaded ZIP unchanged. JavaScript compilation ran on the cloud build server, not offline.

Steps to reproduce

  1. Generate a new Initializr project with an application name, such as MyAppName.
  2. Build JavaScript through the CN1 cloud build server and serve the returned files.
  3. Open the page and compare its browser title with the configured application name.

Expected and observed behavior

Expected: the generated page title uses the application name, here MyAppName.

Observed: both the browser title and the generated HTML use Codename One JavaScript Port.

Codename One version

7.0.273 (core and Maven plugin).

JDK version

Microsoft OpenJDK 17.0.19.

Target environment

JavaScript port; Firefox 156.0.1 on macOS 15.8 (24H23).

Last known working version

Unknown.

Logs and diagnostics

Project setting:
codename1.displayName=MyAppName

Generated index.html:
<title>Codename One JavaScript Port</title>

Screenshots or recordings

See the live example and generated HTML above.

Report checks

  • I searched existing issues and discussions for this behavior.
  • The reproducer contains no credentials, signing keys, or private customer data.
  • I understand that triage is not a commitment to a fix date.

Activity

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

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