keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
390 stars 108 forks source link

bug(developer): Clicking on a hyperlink in CSS opens the link in a popup, leaving code window unresponsive. #9849

Closed MattGyverLee closed 11 months ago

MattGyverLee commented 11 months ago

Describe the bug

I just noticed the handy Ctrl + click to follow link to follow a link from my CSS code (I had referenced an issue in github referencing why I had that code).

image

So, I clicked it. The website opens in a new window, and the code window goes blank. After closing the website, the CSS window never reactivates (even clicking on other panels and coming back) until I close the KMN and return.

Reproduce the bug

  1. Open a project with a link in the CSS. My https://github.com/keymanapp/keyboards/blob/master/release/sil/sil_cameroon_azerty/source/sil_cameroon_azerty.css has a link, but I separated the trailing star with a space before clicking and taking screenshots.

  2. Click the link.

  3. Read the site that opens.

    • The CSS panel goes white and unresponsive. image
  4. Close the site.

    • The CSS panel stays white and unresponsive.
  5. Try clicking on icon or on-screen and coming back.

    • The CSS panel stays white and unresponsive.
  6. Close and reopen the .kmn file to reset it.

  7. The CSS Panel works.

Expected behavior

Open the site in a default browser (opening it in a Keyman window seems unnecessarily dangerous). CSS window should remain visible and responsive.

Related issues

No response

Keyman apps

Keyman version

16.0.141

Operating system

Windows 11

Device

Windows Laptop

Target application

No response

Browser

KMD Integrated Browser

Keyboard name

sil_cameroon_qwerty

Keyboard version

6.0.9

Language name

No response

Additional context

No response

MattGyverLee commented 11 months ago

I can confirm that this bug exists in α17.0.198.