Skip to content

[SOLVED]: Large gutter after 2024.1 upgrade #476

Description

@luispabon

Describe the bug

Material UI disabled:
image

Material UI enabled:
image

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

  1. Install pycharm 2024.1
  2. Install material UI
  3. 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: sway

Logs/Screenshots

No response

Activity

  1. mallowigi commented on Apr 4, 2024

    @mallowigi
    Collaborator

    Settings > Centered Editor

  2. changed the title [-][Bug]: Large line numbers panel after 2024.1 upgrade[/-] [+][SOLVED]: Large line numbers panel after 2024.1 upgrade[/+] on Apr 4, 2024
  3. pinned this issue on Apr 4, 2024
  4. luispabon commented on Apr 4, 2024

    @luispabon
    Author

    That did the trick 👍🏽 I don't recall enabling that setting at any point though, perhaps a bad default for this version of intellij?

  5. mallowigi commented on Apr 4, 2024

    @mallowigi
    Collaborator

    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.

  6. luispabon commented on Apr 4, 2024

    @luispabon
    Author

    The problem with it is that it eats nearly half of the viewport for that particular file to display what's basically empty space

  7. mallowigi commented on Apr 4, 2024

    @mallowigi
    Collaborator

    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:

    CleanShot 2024-04-04 at 16 04 40@2x

  8. luispabon commented on Apr 4, 2024

    @luispabon
    Author

    image

    vs
    image

    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.

  9. mallowigi commented on Apr 4, 2024

    @mallowigi
    Collaborator

    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):
    CleanShot 2024-04-04 at 16 18 07@2x

  10. AndraxDev commented on Apr 4, 2024

    @AndraxDev

    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.

    How to disable this feature? Where can I find "Undock Tool Windows" action?

  11. 26 remaining items

  12. XuBoZhangQvQ commented on Apr 8, 2024

    @XuBoZhangQvQ

    @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

    image
  13. mallowigi commented on Apr 8, 2024

    @mallowigi
    Collaborator

    @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

    image

    It's not a bug, did you read the thread at all?

  14. Vorta commented on Apr 8, 2024

    @Vorta

    Who in their right mind thought that this option should be on by default?

  15. XuBoZhangQvQ commented on Apr 8, 2024

    @XuBoZhangQvQ

    @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
    image

    It's not a bug, did you read the thread at all?

    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)

    image
  16. mallowigi commented on Apr 8, 2024

    @mallowigi
    Collaborator

    Changed the default to false. Gave up on challenging habits.

  17. mallowigi commented on Apr 8, 2024

    @mallowigi
    Collaborator

    Material Theme UI-9.2.0.zip

    Is the default gone with this version?

  18. apb-hello-world commented on Apr 8, 2024

    @apb-hello-world

    I do not see the option for this under settings > features anymore. I actually like the centered editor.

  19. mallowigi commented on Apr 8, 2024

    @mallowigi
    Collaborator

    I didn't remove the feature, it should still be inside the settings. Have you checked in all sections of the Features settings page?

  20. apb-hello-world commented on Apr 8, 2024

    @apb-hello-world

    I didn't remove the feature, it should still be inside the settings. Have you checked in all sections of the Features settings page?

    image

    I don't see the features page where it used to be under the main Material Theme UI dropdown, only the Features tab 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.

  21. mallowigi commented on Apr 8, 2024

    @mallowigi
    Collaborator

    You are still using the version 8.13

  22. apb-hello-world commented on Apr 8, 2024

    @apb-hello-world

    You are still using the version 8.13

    Should Rider be showing a newer version? I see it's 9.1.0 in webstorm, 8.13.2 in Rider.

  23. mallowigi commented on Apr 8, 2024

    @mallowigi
    Collaborator

    Only if you have 2024.X

  24. locked and limited conversation to collaborators on Apr 8, 2024
  25. converted this issue into a discussion #489 on Apr 8, 2024
  26. unpinned this issue on Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions