parameter to assign default window width and height size

Bug #1443960 reported by Rex Tsai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app (Ubuntu)
New
Undecided
Unassigned

Bug Description

WebApp developer will need the parameter to set the default window size for Desktop, default 800x600 does not fit for all apps.

Tags: windows
Revision history for this message
Olivier Tilloy (osomon) wrote :

A default, hardcoded size sounds like a bad idea, as it won’t work on all screens. Would it be enough if the window dimensions were saved and restored across runs? I.e. the window would initially be 800×600 for the first run, and if the user resizes it, the new dimensions would be retained next time the app is started.

Olivier Tilloy (osomon)
summary: - parameter to assign default window width and hegiht size
+ parameter to assign default window width and height size
Revision history for this message
Rex Tsai (chihchun) wrote :

I think the developer need a parameter like the following is enough

$ webapp-container --geometry=80x50 http://www.google.com

Since they can not control the window size from javascript.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Rex, could you please comment on use cases for this? Also, you didn’t answer my suggestion in comment #1. Wouldn’t that be acceptable?

Revision history for this message
Rex Tsai (chihchun) wrote :

The use case is one of the developer like to run facebook messager or a small web radio in webapp-container, and the default hardcoded 800x600 does not work for every app.

So
1. The developer like to set a good size as the web site has been designed.
2. Yes, the user will love to have the window size been remembered.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Regarding 1. : Websites designed for a specific screen resolution are a thing from the past.

Regarding 2. : Good news then, Riccardo is already working on this: https://code.launchpad.net/~rpadovani/webbrowser-app/remember-height-width-destkop/+merge/256004

Olivier Tilloy (osomon)
no longer affects: webbrowser-app
Olivier Tilloy (osomon)
tags: added: windows
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.