Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double titlebar #377

Closed
spdegabrielle opened this issue May 6, 2020 · 18 comments
Closed

double titlebar #377

spdegabrielle opened this issue May 6, 2020 · 18 comments

Comments

@spdegabrielle
Copy link
Sponsor Member

Double toolbar effect

image

macOS catalina, DrRacket CS 7.7

actions taken:

  • removed all other racket installs
  • removed plugins/packages
  • reset/deleted preferences
  • removed /Users/spdegabrielle/Library/Racket (renamed to Racket-old)
@rfindler
Copy link
Member

rfindler commented May 6, 2020

How does it look if you create a second tab?

@spdegabrielle
Copy link
Sponsor Member Author

image

@mflatt
Copy link
Member

mflatt commented May 6, 2020

@rfindler It's much weirder than that. Even

#lang racket/gui

(send (new frame%
           [label "Test"]
           [width 300]
           [height 300])
      show #t)

apparently has the extra title line when run in DrRacket. (I haven't yet replicated the problem, but I'm updating my Catalina installation.)

@spdegabrielle
Copy link
Sponsor Member Author

image
affects gui programs run in DrRacket , but not when run from command line with gracket.

@mfelleisen
Copy link
Contributor

I am on Catalina (just updated to the last patch) and head of Racket (built from source last night), and I don't seethes.

@mflatt
Copy link
Member

mflatt commented May 6, 2020

I was not able to provoke this behavior by updating, either.

@spdegabrielle
Copy link
Sponsor Member Author

I’m not sure what else to purge. I was messing with DrRacket/framework following the instructions in the how to contribute to racket blog post, but I have deleted everything.(see earlier comment)

@samth
Copy link
Sponsor Member

samth commented May 6, 2020

Can you download a whole new installation of Racket 7.7, and see if the problem re-appears there? (But don't delete the broken install.)

@spdegabrielle
Copy link
Sponsor Member Author

Renamed the broken instance folder
downloaded 7.7 bc
image
same behaviour

@spdegabrielle
Copy link
Sponsor Member Author

tried 7.4 too. I think I can close this as not a racket bug, but rather a configuration quirk with my machine. Apologies for taking up your time.
image

@sorawee
Copy link
Contributor

sorawee commented May 6, 2020

https://quality.livecode.com/show_bug.cgi?id=21190 seems to have the exact same problem (see the attached screenshot there). It looks like your "Dock -> Prefer Tabs when opening documents" is set to Always, and DrRacket doesn't support this option well.

@spdegabrielle
Copy link
Sponsor Member Author

My apologies to all who helped.

@sorawee
Copy link
Contributor

sorawee commented May 6, 2020

Well, I do think it's a DrRacket bug. It should handle this configuration better. Here's how Chromium fixes the problem: https://chromium.googlesource.com/chromium/src/+/5788338a8a54e230ef868e66c4ab309bb76dfd65%5E%21/#F1

@spdegabrielle spdegabrielle reopened this May 6, 2020
@spdegabrielle
Copy link
Sponsor Member Author

OK I'm happy with re-opening.

mflatt added a commit to racket/gui that referenced this issue May 6, 2020
Possibly, changing the system Dock preference to "Prefer tabs when
opening documents" to "Always" causes double titles in some Racket
windows. I couldn't replicate that behavior, but see links in
racket/drracket#377.
@mflatt
Copy link
Member

mflatt commented May 6, 2020

Although I couldn't replicate the behavior, I pushed a change to disable allowsAutomaticWindowTabbing.

@spdegabrielle
Copy link
Sponsor Member Author

I think I must have triggered it by using shift-command-T at some point when aspell keybinding was inactive. I was looking at the colorer using 7.7nightly to inspect a cloned drracket in 7.6

@spdegabrielle
Copy link
Sponsor Member Author

spdegabrielle commented May 6, 2020

I pushed a change to disable allowsAutomaticWindowTabbing.

Thanks you. I'll try the nightly tomorrow.

@spdegabrielle
Copy link
Sponsor Member Author

resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants