Tk Source Code

View Ticket
Login
Ticket UUID: 2797260
Title: wm attributes -fullscreen conflicts with menu
Type: Bug Version: obsolete: 8.5.7
Submitter: oehhar Created on: 2009-05-27 08:54:16
Subsystem: 68. Win Window Operations Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2018-08-28 09:55:26
Resolution: Fixed Closed By: fvogel
    Closed on: 2018-08-28 09:55:26
Description:
If a toplevel has a menu and is set to full screen, the following issues arise:
- after an update, the window is shown in full screen but this state is not reflected by "wm attribute -fullscreen"
- it is not possible to leave full screen mode

-Test script started with wish fullscreen_error.tcl-
  console show
  . config -menu [menu .m]
  wm attributes . -fullscreen 1
  puts [wm attributes . -fullscreen]
  update
  puts [wm attributes . -fullscreen]
-EOF-
The console output is : 1 0
A manual "wm attributes . -fullscreen 0" will not return to a decorated normal window.

Platform: Windows Vista German SP1 Classic skin
Tcl/Tk 8.5.7, compiled by MS-VC 6, Platform SDK Win2003

This issue does not arise on Linux with Tk 8.5.5
User Comments: fvogel added on 2018-08-28 09:55:26:
Many thanks for your feedback. Another ticket bites the dust!

oehhar added on 2018-08-28 09:07:29:

Typo correction from last post. It is Tk8.5.7, not Tk8.6.7.

Sorry, Harald


oehhar added on 2018-08-28 09:06:23:

To reproduce the ticket, I have remade a 8.5.7 on Win 10 64 bit:

rem setup ms-vc6
VCVARS32.BAT
rem setup PSDK 2003SP1
setenv /RETAIL
cd tcl8.5.7\win
nmake -f makefile.vc release install OPTS=threads INSTALLDIR=c:\test\tcl857 TCLDIR=c:\test\tcl8.5.7
cd tk8.6.7\win
nmake -f makefile.vc release install OPTS=threads INSTALLDIR=c:\test\tcl857 TCLDIR=c:\test\tcl8.5.7
tcl857\bin\wish85t.exe error.tcl

The upper test shows the issue.

Using tcl 8.5.19 or 8.6.8, the bug is not present.

Thus, the ticket may be closed.

Thank you all, Harald


oehhar added on 2018-08-28 07:15:47:

Thank you for caring. I have tried with tcl8.5.19 on Win10 64, no bug. I will try on Vista with my old Laptop probably next week and report here.

Thanks, Harald


fvogel added on 2018-08-27 16:21:16:
I cannot reproduce this on Windows 7 with current core-8-6-branch, and not even with a 8.5.15 version.

The provided test script outputs 1 1 as expected.

Also, a manual "wm attributes . -fullscreen 0" does return to a decorated normal window, as expected.

Can you still reproduce this?

oehhar added on 2009-05-27 15:54:16:

File Added - 328598: fullscreen_error.tcl

Attachments: