racket / drracket

DrRacket, IDE for Racket
http://www.racket-lang.org/
Other
454 stars 93 forks source link

double titlebar #377

Closed spdegabrielle closed 4 years ago

spdegabrielle commented 4 years ago

Double toolbar effect

image

macOS catalina, DrRacket CS 7.7

actions taken:

rfindler commented 4 years ago

How does it look if you create a second tab?

spdegabrielle commented 4 years ago

image

mflatt commented 4 years ago

@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 commented 4 years ago

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

mfelleisen commented 4 years ago

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 commented 4 years ago

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

spdegabrielle commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

Renamed the broken instance folder downloaded 7.7 bc image same behaviour

spdegabrielle commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

My apologies to all who helped.

sorawee commented 4 years ago

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 commented 4 years ago

OK I'm happy with re-opening.

mflatt commented 4 years ago

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

spdegabrielle commented 4 years ago

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 commented 4 years ago

I pushed a change to disable allowsAutomaticWindowTabbing.

Thanks you. I'll try the nightly tomorrow.

spdegabrielle commented 4 years ago

resolved!