[idempiere/idempiere] 7d4840: IDEMPIERE-7093 Prevent popup-dialog windows from e...

2 views
Skip to first unread message

mbozem

unread,
Sep 7, 2026, 3:38:46 PM (14 days ago) Sep 7
to idempi...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/idempiere/idempiere
Commit: 7d4840b1e4d61388f6f606ab8037b428f6b0fb09
https://github.com/idempiere/idempiere/commit/7d4840b1e4d61388f6f606ab8037b428f6b0fb09
Author: mbozem <mbo...@bozem.de>
Date: 2026-09-07 (Mon, 07 Sep 2026)

Changed paths:
M org.idempiere.zk.iceblue_c.theme/src/metainfo/zk/lang-addon.xml
M org.idempiere.zk.iceblue_c.theme/src/web/theme/iceblue_c/css/fragment/window-size.css.dsp

Log Message:
-----------
IDEMPIERE-7093 Prevent popup-dialog windows from exceeding the viewport on narrow screens (#3350)

* IDEMPIERE-7093 Prevent popup-dialog windows from exceeding the viewport on narrow screens

Add max-width: calc(100% - 10px) to the .popup-dialog CSS class in the
iceblue_c theme. This ensures that all popup-dialog windows (WMediaOptions,
WReportExportDialog, ExportAction, FileImportAction, CSVImportAction,
InfoPAttributeInstancePanel, and any future dialogs using this class) never
extend beyond the visible viewport, keeping the close icon accessible on
mobile and narrow screens.

Root cause: WMediaOptions (and similar dialogs) are created with
ZKUpdateUtil.setWindowWidthX(this, 400) which only clamps the width to
100% when ClientInfo.get().desktopWidth is reliably detected. When the
desktop width is not correctly reported (e.g. desktopWidth == 0 on
mobile), the dialog keeps a fixed width that exceeds the viewport.

* IDEMPIERE-7093 Update iceblue_c theme version timestamp after CSS change

* IDEMPIERE-7093 Use consistent popup dialog maximum width



To unsubscribe from these emails, change your notification settings at https://github.com/idempiere/idempiere/settings/notifications
Reply all
Reply to author
Forward
0 new messages