After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 697954 - AV-CP: Weird sizing on multi-monitor setup
AV-CP: Weird sizing on multi-monitor setup
Status: RESOLVED FIXED
Product: gupnp-tools
Classification: Other
Component: General
unspecified
Other Linux
: Normal minor
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
: 747476 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-04-13 14:49 UTC by Jens Georg
Modified: 2019-02-22 05:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
av-cp: Fix default resolution (1.58 KB, patch)
2015-11-24 21:54 UTC, Jens Georg
committed Details | Review

Description Jens Georg 2013-04-13 14:49:52 UTC
av-cp uses gdk_screen_width and gdk_screen_height to calculate the starting size of av-cp in relation to the current screen size, however in multi-monitor non-mirroring setup this is the bounding rectangle of both monitors which makes it look slightly awkwardly shaped on a side-by-side setup.

https://git.gnome.org/browse/gupnp-tools/tree/src/av-cp/gui.c#n113
Comment 1 Jens Georg 2015-06-24 11:32:03 UTC
*** Bug 747476 has been marked as a duplicate of this bug. ***
Comment 2 Jens Georg 2015-11-24 21:54:02 UTC
Created attachment 316203 [details] [review]
av-cp: Fix default resolution

Scale to 40% of screen size, but keep aspect ratio of 5/4.

Signed-off-by: Jens Georg <mail@jensge.org>
Comment 3 Jens Georg 2015-11-24 21:54:27 UTC
Attachment 316203 [details] pushed as e852337 - av-cp: Fix default resolution