Skip Menu |

This queue is for tickets about the Tk CPAN distribution.

Report information
The Basics
Id: 60986
Status: open
Priority: 0/
Queue: Tk

People
Owner: Nobody in particular
Requestors: stefanos [...] cpan.org
Cc:
AdminCc:

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



Subject: tk::browseentry using multiple monitors with dropdownmenus
are there known issues with perl tk using multiple monitors like using software (GUI) that got moved to monitor 2 or 3 causes dropdownmenus (example Modul Tk-BrowseEntry, see picture, move the window to screen 2 and click on dropdown, the list is on screen1 not screen2) to open on monitor1 or similiar behavior? see https://rt.cpan.org/Ticket/Display.html?id=60968 too for screenshot example code: #!perl use Tk; use Tk::BrowseEntry; my $mw = MainWindow->new; $mw->title("Dropdowntest"); my $var; use Tk::BrowseEntry; $b = $mw->BrowseEntry(-label => "Label", -variable => \$var); $b->insert("end", "opt1"); $b->insert("end", "opt2"); $b->insert("end", "opt3"); $b->pack; MainLoop;
On 2010-09-02 10:00:55, STEFANOS wrote: Show quoted text
> are there known issues with perl tk using multiple monitors like using > software (GUI) that got moved to monitor 2 or 3 causes dropdownmenus > (example Modul Tk-BrowseEntry, see picture, move the window to screen
2 Show quoted text
> and click on dropdown, the list is on screen1 not screen2) to open on > monitor1 or similiar behavior? > > see https://rt.cpan.org/Ticket/Display.html?id=60968 too for
screenshot Show quoted text
> > > example code:
Sorry, no idea. I am not a user of multi-screen displays. BrowseEntry is creating quite early a Toplevel widget for the popdown, and immediately withdraws it from the screen. So probably the windowing system does not notice that the browseentry widget moved, and leaves the withdrawn toplevel on the old screen. How is the multi-screen display implemented? Are there different DISPLAY variables available for the screens, e.g. ":0.0" and ":0.1"? Regards, Slaven