Fixed
Status Update
Comments
pe...@google.com <pe...@google.com>
kv...@gmail.com <kv...@gmail.com> #2
THIS IS A BLOCKER ON HIDPI LINUX!!!!!
I've POINTED EXACT LINES OF CODE!!!
Both Android Studio and IntelliJ IDEA are affected!!!
I've POINTED EXACT LINES OF CODE!!!
Both Android Studio and IntelliJ IDEA are affected!!!
ry...@paroz.io <ry...@paroz.io> #3
Reminder to all that need this fixed that we should star the issue to ensure that we are known.
kv...@gmail.com <kv...@gmail.com> #4
Fixed in IntelliJ Idea plugin: https://youtrack.jetbrains.com/issue/IDEA-241731
NOT FIXED in latest stable, beta and canary builds of Android Studio.
:/
NOT FIXED in latest stable, beta and canary builds of Android Studio.
:/
kv...@gmail.com <kv...@gmail.com> #5
Any news ?
di...@google.com <di...@google.com>
ju...@google.com <ju...@google.com> #6
I'll get this in 4.1
Description
Build #AI-193.6494.35.40.6220182, built on February 19, 2020
Runtime version: 1.8.0_212-release-1586-b4-5784211 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 5.5.2-gentoo-r1
GC: ParNew, ConcurrentMarkSweep
Memory: 1902M
Cores: 12
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: BashSupport, Lombook Plugin, com.intellij.plugins.watcher, com.jetbrains.upsource, mobi.hsz.idea.gitignore, org.intellij.RegexpTester, org.intellij.plugins.markdown
OS: Gentoo Linux
Steps to reproduce
1. You need hidpi 4k screen. Mine is 3840x2160 on Dell XPS 7590. Android Studio will scale all icons 2x on this screen.
2. Run Android Studio
3. Create new android studio project with all defaults.
4. Observe exceptions in log and absense of action bar.
After investigation I found that problem is here (idea.log is also attached):
File: com.android.tools.idea.run.deployment.DeviceAndSnapshotComboBoxAction.java
Function: createCustomComponent
Code:
Group horizontalGroup = layout.createSequentialGroup()
.addComponent(button, 0, JBUI.scale(GroupLayout.DEFAULT_SIZE), JBUI.scale(Short.MAX_VALUE))
.addGap(JBUI.scale(3));
DEFAULT_SIZE and MAX_VALUE should be not wrapped with JBUI.scale - it leads to plugin crash on hidpi (4k) screens.