[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 574: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 630: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 494: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 113: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5348: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3937)
Russian Progress User Group • Вызов немодальных окон
Страница 1 из 1

Вызов немодальных окон

Добавлено: 24 окт 2013, 12:49
RN3anv
В приложении, построенном на ADM2, есть окно с главным меню (ГМ) типа SmartWindow, из которого могут вызываться другие окна тоже типа SmartWindow. Между открытыми немодальными окнами можно перемещаться.

Обнаружилась непонятная штука.

Из ГМ вызываем окно 1, потом окно 2. Если закрыть их в обратном порядке – сначала окно 2, а потом окно 1, то всё нормально. А вот если сначала закрыть окно 1, а потом окно 2, то окно 1 из ГМ больше не открывается. Ошибок никаких не выдаётся, в логах чисто.

После перезапуска приложения доступность всех вызовов возобновляется до очередного перекрёстного закрытия. Только в списке коннектов к базе остаётся зависшая сессия.

Подозревал, что шалят неименованные WIDGET-POOL’ы, контексты которых теоретически могли пересекаться. Сделал их именными, не помогло.

Окна рисовал штатными средствами AppBuilder, версия 10.2B07.
Может кто сталкивался с такой проблемой? Как полечить?

пример программы вот тут:
https://drive.google.com/file/d/0B3M5aP ... sp=sharing

Re: Вызов немодальных окон

Добавлено: 24 окт 2013, 13:47
dmi

Re: Вызов немодальных окон

Добавлено: 24 окт 2013, 14:23
RN3anv
Во как! Даже кнопка вызова не обрабатывается! Не ожидал такого....

Добавил RUN ApplyEntry (?) в InitializeObject. Не помогло (((

Re: Вызов немодальных окон

Добавлено: 24 окт 2013, 14:29
dmi

Re: Вызов немодальных окон

Добавлено: 24 окт 2013, 15:11
RN3anv
В приведённом примере никак не управляю, просто создал окно, накидал кнопок, в них написал вызовы других окон. И всё.

Re: Вызов немодальных окон

Добавлено: 24 окт 2013, 15:27
Dilettante_Pro
Такой же точно эффект наблюдается и в простых Window, не Smart
И в версии 11.1

Re: Вызов немодальных окон

Добавлено: 24 окт 2013, 20:03
dmi

Re: Вызов немодальных окон

Добавлено: 25 окт 2013, 09:30
RN3anv
В реальном приложении, как и в приведённом примере, нет необходимости управлять хендлом родителя.
Используются только внутренние механизмы ADM2.

Чтобы избежать подобных коллизий, прошу пользователей не открывать много окон и гасить их в обратном порядке.
Но это же ненормально (((

Re: Вызов немодальных окон

Добавлено: 25 окт 2013, 10:53
dmi

Re: Вызов немодальных окон

Добавлено: 25 окт 2013, 16:35
Dilettante_Pro