Skip to content

Commit 9aa26a3

Browse files
authored
Fix for AmazonQ on Linux input focus problem (#4133)
Fix for the issue #4100 Implemented according to IntelliJ IDEA guideline: - https://youtrack.jetbrains.com/issue/IDEA-241671/JCEF-focus-issues - https://youtrack.jetbrains.com/issue/JBR-5083
1 parent 6d5832b commit 9aa26a3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix for AmazonQ on Linux input focus problem (#4100)"
4+
}

jetbrains-core/src/software/aws/toolkits/jetbrains/services/amazonq/util/JcefBrowserUtil.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ fun createBrowser(parent: Disposable): JBCefBrowserBase {
1616

1717
return JBCefBrowserBuilder()
1818
.setClient(client)
19-
// Setting OSR to false fixes multiple rendering and focus bugs with the browser
20-
.setOffScreenRendering(false)
19+
.setOffScreenRendering(true)
2120
.build()
2221
}

0 commit comments

Comments
 (0)