Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Ensure correct screen size is set before widget bounds are calculated. #95

Closed
kalyankondapally opened this issue Oct 1, 2013 · 2 comments

Comments

@kalyankondapally
Copy link
Contributor

Chrome needs the screen size quite early for calculating widget bounds. Chrome does this calculation even before GPU Process is forked. Thus, Forcing IPC communication between GPU process and Browser process at a early stage doesn't help here.

Possible solutions:
1)Have a env variable like Ozone does.
2)Read from weston.ini file or from same place wayland gets this information?
3)Create a temporary wayland client connection on browser process side, get screen output and close it ? As this is an issue only at start up.

@tiagovignatti
Copy link
Contributor

Both 1. and 2. are not robust enough for output hotplug cases, i.e. automatically getting new displays configuration dynamically. And I think that 3. does the intended best here. I'll be exploring this idea further soon.

@kalyankondapally
Copy link
Contributor Author

fixed: 40fa0f2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants