On Thu, 18 Aug 2005 22:58:06 +1000 Daniel Kasak <[EMAIL PROTECTED]> babbled:
> Firstly, I'm reposting this, as my previous email hasn't appeared in the > past 12 hours. Appologies if it rocks up later :) > > After much mucking around with deleting config files and things, I've > discovered that it wan't a 'lock' setting on any of my apps that was > causing my maximizing issue. It seems to be an issue when creating a > window, and maximizing it directly after. > > I have exited E17, deleted my entire .e folder, and started again. Then, > without *any* modification at all, I've run this code: and an excellent bug report. with examples of how to reproduce it... thanks. fixed now in cvs. :) > --- > > #!/usr/bin/perl > > use Gtk2 -init; > > sub startup { > > $window = Gtk2::Window->new; > $window->signal_connect( destroy => sub { Gtk2->main_quit; } ); > $window->set_border_width(10); > > my $button = Gtk2::Button->new("Hello World"); > $window->add($button); > $button->show; > > $window->show; > $window->maximize; > > } > > { > startup; > Gtk2->main; > } > > --- > > This demonstrates my problem. For me, the app starts with a small window > in the top-left corner of the screen. The button thinks it's parent has > been maximized, and only a very small portion of it is visible. At this > point, the windows can't be resized ALT middle-click dragging ... as if > it's already maximized. Clicking the maximize / restore button ( I'm not > sure which one it's representing in this state ) makes all the window > buttons ( ie minimize, restore, close ) disappear, and gives slight > graphical corruption along the bottom & right edges of the window. At > this point, ALT middle-click dragging can be used to resize the window, > and once you make an adjustment, the window buttons return, and the > window behaves normally. > > However, I've found that if I modify the above code so that the > $window->maximize line is immediately *before* the $window->show line, > everything works perfectly. I will of course change all my code to > maximize first and show later. > > I have seen behaviour like this ( show window first, then maximize > ... with the same result under E17 ) coming from other apps, > particularly things like visualisation plugins for xmms, xine, video > players, and other cool graphical things. > > > -- > BEGIN-ANTISPAM-VOTING-LINKS > ------------------------------------------------------If you are not the > CanIt administrator and you think this message is spam, please give the id > 5639 and magic value a0a1df9f3c68 to [EMAIL PROTECTED] to be > marked as spam. > > Teach CanIt if this mail (ID 5639) is spam: > Spam: > http://entropy.homelinux.org/canit/b.php?c=s&i=5639&m=a0a1df9f3c68 Not > spam: http://entropy.homelinux.org/canit/b.php?c=n&i=5639&m=a0a1df9f3c68 > Forget vote: > http://entropy.homelinux.org/canit/b.php?c=f&i=5639&m=a0a1df9f3c68 > ------------------------------------------------------ > END-ANTISPAM-VOTING-LINKS > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [EMAIL PROTECTED] 裸好多 [EMAIL PROTECTED] Tokyo, Japan (東京 日本) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel