Repository navigation
Closed
Labels
Description
Describe the bug
Observations:
- The partition size seems proportional to window size, resizing the window changes the panel size
- Issue happens with and without the new UI enabled
To Reproduce
- Install pycharm 2024.1
- Install material UI
- Profit
Expected behavior
Line numbers panel is the correct size.
Material Theme Version
v9.1.0
IDE
PyCharm
System Info
Ubuntu 23.10
PyCharm 2024.1 (Professional Edition)
Build #PY-241.14494.241, built on March 28, 2024
Licensed to [ ... ]
Runtime version: 17.0.10+8-b1207.12 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.2.0-37-generic
GC: G1 Young Generation, G1 Old Generation
Memory: 3974M
Cores: 8
Registry:
ide.balloon.shadow.size=0
editor.distraction.free.mode=true
debugger.new.tool.window.layout=true
ide.new.editor.tabs.vertical.borders=true
ide.linux.hide.native.title=false
ide.experimental.ui=true
ide.editor.tab.selection.animation=true
Non-Bundled Plugins:
io.github.fstaudt.helm (0.8.2)
net.sjrx.intellij.plugins.systemdunitfiles (223.240127.136)
com.mnr.java.intellij.idea.plugin.base64helper (3.0.0)
ru.sadv1r.ansible-vault-editor-idea-plugin (1.21)
org.intellij.plugins.hcl (241.14494.150)
de.netnexus.camelcaseplugin (3.0.12)
lermitage.intellij.ilovedevtoys (1.10.2)
org.jetbrains.plugins.go-template (241.14494.150)
codes.rudolph.idea.cfg (0.3.1)
com.intellij.ideolog (222.3.2.0)
name.kropp.intellij.makefile (241.14494.150)
ir.msdehghan.plugins.ansible (0.92)
dev.meanmail.plugin.nginx-intellij-plugin (2022.1.1)
indent-rainbow.indent-rainbow (2.2.0)
com.intellij.kubernetes (241.14494.150)
net.seesharpsoft.intellij.plugins.csv (3.3.0-241)
com.intellij.ml.llm (241.14494.240)
izhangzhihao.rainbow.brackets (2024.2.2-241)
net.ashald.envfile (3.4.2)
ru.adelf.idea.dotenv (2024.1)
com.chrisrm.idea.MaterialThemeUI (9.1.0)
com.fapiko.jetbrains.plugins.better_direnv (1.2.2)
com.mallowigi (95.0.0)
mobi.hsz.idea.gitignore (4.5.2)
com.github.blarc.gitlab-template-lint-plugin (1.13.2)
Current Desktop: swayLogs/Screenshots
No response


Activity
mallowigi commentedon Apr 4, 2024
Settings > Centered Editor
[-][Bug]: Large line numbers panel after 2024.1 upgrade[/-][+][SOLVED]: Large line numbers panel after 2024.1 upgrade[/+]luispabon commentedon Apr 4, 2024
That did the trick 👍🏽 I don't recall enabling that setting at any point though, perhaps a bad default for this version of intellij?
mallowigi commentedon Apr 4, 2024
No. It's a new feature of the Material Theme UI. It's enabled by default for all users.
I need to write an article about this but bottomline, this centers the editor rather than pin it to the left. This is especially great when the tool windows are collapsed, mimicking the behavior of websites such as Reddit, Medium and so on.
I encourage you to give it a shot, alongside enabling the "Undock Tool Windows" action.
luispabon commentedon Apr 4, 2024
The problem with it is that it eats nearly half of the viewport for that particular file to display what's basically empty space
mallowigi commentedon Apr 4, 2024
Well, so is with the feature disabled. You get all the empty space on the right, rather than half the empty space on both sides.
Check how it looks like with the tool windows collapsed:
luispabon commentedon Apr 4, 2024
vs

The former produces a predictable place for your eyes to start scanning the file, as the margin is always the same. I personally think it's not a good default and hurts ergonomy and especially for those of us already accustomed to intellij's default, but other people might disagree clearly, 100% personal pref.
mallowigi commentedon Apr 4, 2024
It challenges the habits, that's for sure. But it's the same as when the IntelliJ new UI was introduced, a lot of people were disappointed, but they left the setting as the default for users to "catch on the trend". Obviously, I'm not pushing it without a way to revert to the old behavior.
Think of it this way: in most websites nowadays, the content is often centered in the middle. So why not while coding?
In fact, VScode already introduced that setting (though, it's not the default, I agree with that):

AndraxDev commentedon Apr 4, 2024
How to disable this feature? Where can I find "Undock Tool Windows" action?
26 remaining items
XuBoZhangQvQ commentedon Apr 8, 2024
@mallowigi hi,there,I have found the root cause of the problem
In the new version, simply adjusting the settings of Material Theme Ul will open the Distraction Free Mode which should be a bug in the new version
After adjusting the settings, just manually turn off the Distraction Free Mode
mallowigi commentedon Apr 8, 2024
It's not a bug, did you read the thread at all?
Vorta commentedon Apr 8, 2024
Who in their right mind thought that this option should be on by default?
XuBoZhangQvQ commentedon Apr 8, 2024
sorry,I really didn't see all of this thread,But on my monitor, it does seem strange to have this feature enabled by default(4K 27 inches 3008×1692)
mallowigi commentedon Apr 8, 2024
Changed the default to false. Gave up on challenging habits.
mallowigi commentedon Apr 8, 2024
Material Theme UI-9.2.0.zip
Is the default gone with this version?
apb-hello-world commentedon Apr 8, 2024
I do not see the option for this under settings > features anymore. I actually like the centered editor.
mallowigi commentedon Apr 8, 2024
I didn't remove the feature, it should still be inside the settings. Have you checked in all sections of the Features settings page?
apb-hello-world commentedon Apr 8, 2024
I don't see the features page where it used to be under the main Material Theme UI dropdown, only the
Featurestab in settings, and nothing in there about the centered editor.Edit: When I open the IDE the editor is centered for a few seconds, and then moves back to the left side.
Edit2: The option is only missing for me in Rider. It is there in Webstorm and working great.
mallowigi commentedon Apr 8, 2024
You are still using the version 8.13
apb-hello-world commentedon Apr 8, 2024
Should Rider be showing a newer version? I see it's 9.1.0 in webstorm, 8.13.2 in Rider.
mallowigi commentedon Apr 8, 2024
Only if you have 2024.X