Resizing improvement : option to lock aspect ratio

Bug #45697 reported by Trouilliez vincent
10
Affects Status Importance Assigned to Milestone
Metacity
Fix Released
Low
XawTV
New
Undecided
Unassigned
xawtv (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

When I watch television on my computer, with XawTV or TVtime for example, I often end up resizing the window, usually because they always start with a given size, that never suits me. But it's impossible to resize it without messing the aspect ratio, so it always take some "fine tuning" with the mouse, to make it "just right" again, so that there is no black borders around the pic.

What would be cool, for example, would be that XawTV could say to metacity:

"if the window is not maximized, always keep the aspect ratio locked to 4:3 (for example) )."

This would make it much more convenient to resize the picture.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

This: http://bugzilla.gnome.org/show_bug.cgi?id=149867 leads me to believe there is already a way to do this. Anyways, this should be fixed upstream.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

I installed gnome and gave it a try, but couldn't find the option to lock the aspect ratio on a window. Assigned to the tracker bug for metacity, please file a specific bug in gnome bugzilla and reassign to that.

Changed in metacity:
status: Unconfirmed → Rejected
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Interesting. So I guess I should file the bug against Xawtv and Tvtime instead, then. But since XawTv and tvtime aren't native gnome programs, they can't rely on metacity features, not knowing what window manager that might used with.
A workaround could be, that metacity allows the user to force the aspect ratio when resizing, for example by holding the "Alt" or "Control" keys. This way you can keep the aspect ratio constant, even when the program doesn't handle it.
I will file a new wishlist bug about this...

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

I thought that's what you were asking for in the first place?

Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

Yes and no... in this bug I was thinking of a way for the program (say Xawtv) to communicate with metacity.
But it now appears that it's not the best way, and the new bug is about letting the user, not the program, to control the aspect ratio.

The first issue has already been addressed, as you pointed out, however the second isn't (to the best of my knowledge), so putting both issues in the same report would have been a bit confusing I though. But if you feel this isn't so, please mark the second report as a duplicate of this one, I don't mind ;-)

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

I don't see how I pointed out that anything has been addressed, but that's alright. I don't know if xawtv and tvtime have their own BTS, but I think you should suggest to them that they implement a way to lock the window's aspect ratio, as well as file a bug upstream for metacity as I mentioned earlier (the one you filed as another bug here).

Changed in metacity:
status: Rejected → Unconfirmed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :
Revision history for this message
Trouilliez vincent (vincent-trouilliez-modulonet) wrote :

> I don't see how I pointed out that anything has been addressed

The upstream bug you pointed me to, impled that metacity already had a way to let a program control teh azspect ratio. Which was exactly the point of my bug :-)

> This bug in tvtime:

Thanks. I don't need to file that one then. I will file one against xawtv, unless you can come up with that bug too ;-)

Changed in metacity:
status: Unknown → Unconfirmed
Revision history for this message
Chris Rose (chris-vault5) wrote :

Upstream bug was incorrect, reassigned to the correct (I think) upstream bug which is actually fixed.

Revision history for this message
Chris Rose (chris-vault5) wrote :

XawTV should set the aspect ratio window hints for metacity (or other) window manager to pick up on. This still needs to go upstream, but I can't find a bug tracker for xawtv. Probably it should be raised on the video4linux list but I'm not sure.

Changed in xawtv:
status: Unconfirmed → Confirmed
Changed in metacity:
status: Unknown → Fix Released
Changed in metacity:
importance: Unknown → Low
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.