SShortSingh.
Back to feed

Codename One Now Lets Dialogs Open as Native Desktop OS Windows

0
·55 views

Codename One, an open-source framework for building cross-platform apps from a single Java or Kotlin codebase, has released a fix via PR #5624 that allows dialogs to appear as real modal desktop operating-system windows. The update addresses a bug where Dialog.show() was incorrectly targeting the wrong surface when multiple native windows were open. Developers can enable this behavior app-wide using Dialog.setDefaultNativeWindowMode(true) or on a per-instance basis, while ports without native window support automatically fall back to lightweight dialogs. The fix also corrects several components — including Dialog, ComboBox, and ToastBar — that previously conflated 'top level' with 'form', causing incorrect behavior in multi-window environments. Native-window mode is recommended when a dialog needs to participate in desktop window ordering or task switching, while lightweight mode remains the default for simpler prompts.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Linnix uses eBPF and kernel pressure metrics to pinpoint Linux performance stalls

Linnix is an open-source Linux observability project that aims to identify which process or pod is causing performance stalls, rather than merely which one uses the most CPU. It relies on eBPF collectors, the kernel's PSI pressure counters, and an optional language model that can write incident explanations. The project exposes attribution data as Prometheus metrics, showing pressure suffered by victim pods and stall time blamed on offenders. Its documentation frames results as attribution rather than proven causality, and the reviewer notes the project is young, with a licence mismatch between the diagram and the repository. The AI analysis layer is optional and off by default, so it must be enabled explicitly.

0
ProgrammingDEV Community ·

Redict Deprecated: Migrating to Valkey and Handling Rejected RDB Dumps

Redict has been declared deprecated, with its 7.3.6 release from October 2025 described as the final version and no further security patches planned. Users and distro packagers are advised to migrate, with Valkey recommended as the replacement and Redis discouraged due to its contributor licence agreement. Valkey may refuse existing Redict dump.rdb files because Redict's RDB version number differs from what Valkey accepts, though a config option called rdb-version-check can relax this check. The article compares licensing, governance, security support, and managed hosting across Redict, Valkey, and Redis 8, noting Valkey's cloud pricing advantages. It also outlines three migration approaches: copying the RDB file, replication, and Docker Compose.

0
ProgrammingDEV Community ·

Job postings peak midweek, and half of openings close within 33 days

An analysis of 324,634 open jobs from 10,630 companies using Greenhouse, Lever or Ashby found that most new postings appear between Tuesday and Thursday, while weekends see very few. Based on closure data, half of the jobs tracked were removed within 33 days, and about a third closed within two weeks. The authors suggest applying in the first few days a posting is live, since recruiters often screen early applicants more closely. The data is drawn from company career pages checked daily and is refreshed monthly.

0
ProgrammingDEV Community ·

Regex Masking of a Secrets File Leaked a Private Key Body Into Agent Output

While building the Since project, a developer asked a coding agent to list the variable names in a production env file without exposing values. The agent used a line-by-line regex to replace text after each equals sign with asterisks. Because the private key spanned several lines in quoted form, the regex only masked the first line, and the rest of the key was printed in plain view. The same failure recurred on a later date when a different agent, unaware of the earlier lesson, used a similar line-based command on the same file. The key was rotated afterward, and the author notes that a grep-based command that prints only key names is a safer alternative.