Skip Menu |

This queue is for tickets about the Prima CPAN distribution.

Report information
The Basics
Id: 83015
Status: resolved
Priority: 0/
Queue: Prima

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: window maximize/restore under fvwm
Date: Tue, 29 Jan 2013 08:11:25 +1100
To: bug-Prima [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Under recent debian i386 fvwm 2.5.30, doing a $main->maximize and then $main->restore in prima doesn't restore the previous window size. Run foo.pl below, click on maximize, then click on restore. The window is restored to its original position, but its size is still the full screen size extending off the right and bottom edges of the screen. fvwm has, or is supposed to have, _NET_WM maximize things.
use strict; use Prima; use Prima::Buttons; use Prima 'Application'; my $main = Prima::MainWindow->new (size => [100,100]); $main->insert ('Button', text => 'Maximize', pack => { side => 'top' }, onClick => sub { my ($button) = @_; print "maximize\n"; $main->maximize; }); $main->insert ('Button', text => 'Restore', pack => { side => 'top' }, onClick => sub { my ($button) = @_; print "restore\n"; $main->restore; }); Prima->run; exit 0;
I think I found the problem. Can you possibly check out the latest git version and see if it is still actual? Thank you!
Subject: Re: [rt.cpan.org #83015] window maximize/restore under fvwm
Date: Sat, 02 Feb 2013 08:16:21 +1100
To: bug-Prima [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"KARASIK via RT" <bug-Prima@rt.cpan.org> writes: Show quoted text
> > Can you possibly check out the latest git > version and see if it is still actual?
Works for me :). -- Food jargon elucidated for the layman: "Gourmet selection" -- twice the price.
great, closing!