2011-04-24 08:18:06 |
Cameron Hart |
bug |
|
|
added bug |
2011-04-24 08:18:06 |
Cameron Hart |
attachment added |
|
test.cpp https://bugs.launchpad.net/bugs/769781/+attachment/2085855/+files/test.cpp |
|
2011-04-24 08:18:25 |
Cameron Hart |
attachment added |
|
Makefile https://bugs.launchpad.net/unity/+bug/769781/+attachment/2085856/+files/Makefile |
|
2011-04-24 08:38:15 |
Launchpad Janitor |
branch linked |
|
lp:~bitshifternz/unity/fix-for-bug-769781 |
|
2011-04-24 09:14:31 |
Bilal Akhtar |
unity: status |
New |
Confirmed |
|
2011-04-24 09:14:47 |
Bilal Akhtar |
bug task added |
|
unity (Ubuntu) |
|
2011-04-24 09:17:27 |
Bilal Akhtar |
unity (Ubuntu): status |
New |
Confirmed |
|
2011-04-24 10:46:45 |
Cameron Hart |
unity: assignee |
|
Cameron Hart (bitshifternz) |
|
2011-05-26 12:07:49 |
Didier Roche-Tolomelli |
unity: status |
Confirmed |
Fix Committed |
|
2011-05-26 12:07:52 |
Didier Roche-Tolomelli |
unity (Ubuntu): status |
Confirmed |
Fix Committed |
|
2011-05-26 12:08:31 |
Didier Roche-Tolomelli |
nominated for series |
|
Ubuntu Natty |
|
2011-05-26 12:08:31 |
Didier Roche-Tolomelli |
bug task added |
|
unity (Ubuntu Natty) |
|
2011-05-26 12:10:10 |
Didier Roche-Tolomelli |
unity: milestone |
|
3.8.14 |
|
2011-05-26 13:00:55 |
Launchpad Janitor |
branch linked |
|
lp:unity/3.0 |
|
2011-05-26 15:58:13 |
Neil J. Patel |
description |
Unity automatically maximizes application windows that take up more that 75% of the screen when they are launched. It doesn't check the maximum size of the window when doing this. This means the window is undecorated but remains at its original size.
This is a problem for applications that don't support resizing like SDL windows if the SDL_RESIZABLE flag is not set.
Attached is a sample SDL program which demonstrates the problem.
I also found a memory leak in PluginAdapter::MaximizeIfBigEnough() when tracking this issue. win_wmclass is not freed if the method exits early. |
Install unity 3.8.14 from natty-proposed. Then logout and login again in the session
Test case:
- Compile the attached test program
- Run the program with the following $ values replaced with values for your screen: ./test $width_of_screen $height_of_screen
-> Window should not maximise automatically as it has a maximium size set that is lower than the size it would be if it were maximised by unity
Unity automatically maximizes application windows that take up more that 75% of the screen when they are launched. It doesn't check the maximum size of the window when doing this. This means the window is undecorated but remains at its original size.
This is a problem for applications that don't support resizing like SDL windows if the SDL_RESIZABLE flag is not set.
Attached is a sample SDL program which demonstrates the problem.
I also found a memory leak in PluginAdapter::MaximizeIfBigEnough() when tracking this issue. win_wmclass is not freed if the method exits early. |
|
2011-05-26 16:02:06 |
Didier Roche-Tolomelli |
unity: status |
Fix Committed |
Fix Released |
|
2011-05-26 16:02:15 |
Didier Roche-Tolomelli |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-05-26 16:16:26 |
Launchpad Janitor |
branch linked |
|
lp:~ubuntu-desktop/unity/ubuntu |
|
2011-05-26 16:20:12 |
Launchpad Janitor |
unity (Ubuntu): status |
Fix Committed |
Fix Released |
|
2011-05-26 17:13:22 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/unity |
|
2011-05-30 05:58:34 |
Martin Pitt |
unity (Ubuntu Natty): status |
New |
Fix Committed |
|
2011-05-30 05:58:36 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2011-05-30 05:58:40 |
Martin Pitt |
tags |
|
verification-needed |
|
2011-05-30 06:20:48 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-proposed/unity |
|
2011-06-08 19:38:52 |
Pedro Villavicencio |
tags |
verification-needed |
verification-done |
|
2011-06-09 05:54:23 |
Launchpad Janitor |
unity (Ubuntu Natty): status |
Fix Committed |
Fix Released |
|