instance.SetWindowSize does not work with chrome

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
the window size is wrong when using chrome and instance.SetWindowSize has not effect
works well with firefox...
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113
That works in Chrome!)
 

Вложения

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
Please try this modified version, I just tried it and 2 out of 10 times at least it was not the right dimensions
 

Вложения

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
Thank you for your answer, could please let me know which values are not correct ?
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
I did not set those values, I input those arguments: --enable-viewport --enable-touchview --touch-events --show-taps --pull-to-refresh
set dedicated process and OS (Android and iOs) and platform: phone

that's it

please see the dimensions displayed during the executions I tried:

53394


I believe that 50505 is another bug I think I read in the russian forum
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113
I did not set those values, I input those arguments: --enable-viewport --enable-touchview --touch-events --show-taps --pull-to-refresh
set dedicated process and OS (Android and iOs) and platform: phone

that's it

please see the dimensions displayed during the executions I tried:

Посмотреть вложение 53394

I believe that 50505 is another bug I think I read in the russian forum
If you change size without all these settings, does it work?
 

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
it seems to work, so it might be related to one of the settings or a combination
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28
I activate the option to show the window and I can see that it is not set to the right dimensions, sometimes it is in landscape mode when the dimensions show that the height is actually larger than the width
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28

Yann

Client
Регистрация
22.04.2017
Сообщения
207
Благодарностей
30
Баллы
28

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 189
Благодарностей
5 830
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)