Menu

#1688 WinTk:winfo screenwidth, etc,don't respect resolution change

obsolete: 8.4.6
closed-fixed
5
2004-09-27
2004-04-01
No

When I change the resolution on my Windows XP machine,
the result of 'winfo screenwidth .' doesn't change.
So, there's no way a Tk application can learn that the
screen it's operating on is now a different size.

Discussion

  • Donal K. Fellows

    Logged In: YES
    user_id=79902

    Currently that information is only read inside TkpOpenDisplay.

     
  • Vince Darley

    Vince Darley - 2004-06-03
    • summary: winfo screenwidth, etc, don't respect resolution changes --> WinTk:winfo screenwidth, etc,don't respect resolution change
     
  • Vince Darley

    Vince Darley - 2004-09-27
    • assigned_to: chengyemao --> hobbs
     
  • Vince Darley

    Vince Darley - 2004-09-27

    Logged In: YES
    user_id=32170

    Jeff,

    I believe your recent patch fixes this. Can you confirm?

     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-09-27
    • status: open --> closed-fixed
     
  • Jeffrey Hobbs

    Jeffrey Hobbs - 2004-09-27

    Logged In: YES
    user_id=72656

    This has been fixed in the HEAD and core-8-4-branch (8.4.8).
    We probably want a callback or event as well, but it does
    recognize the change now.