Skip to content

[Feature]: Support saving size of "Definition" dialog #657

Description

@nadia-tarashkevich

Describe the feature

If you resize a native editor popup in IntelliJ (for example, enlarge Cmd+B popup), on the next show, the popup will reuse a saved size.

This doesn't work for "Definition" Material UI popup (Cmd+Shift+P) because setDimensionServiceKey method was not called on the JBPopup builder when popup was created in the code.

Use Cases

No response

Examples/Mockups

No response

Material Theme Version

v 12.1.0

IDE

IntelliJ IDEA

System Info

IntelliJ IDEA 2026.2.1
Build #IU-262.9437.185, built on August 8, 2026
Source revision: 5ced7b0cd2861
Licensed to JetBrains Team

Runtime version: 25.0.3+9-b508.16 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 26.5.2
Exception reporter ID: 070525245e8aaf4-2e72-46b2-917c-7cd271f484c2
JCEF version: 144.0.15-262-b37
This IDE is managed by JetBrains via JetBrains IDE Services.<br>JetBrains IDE Services version: 2026.1.3.93-ij262, <a href="https://tbe.labs.jb.gg">https://tbe.labs.jb.gg</a>
Kotlin analyzer version: 2.4.20-ij262-34
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4000MiB
Cores: 16
Metal Rendering is ON
Registry:
  ide.balloon.shadow.size=0
  ui.app.wide.dimension.service=true
  ide.new.editor.tabs.vertical.borders=true
  new.search.everywhere.font.size.delta=4
  ide.animate.toolwindows=true
  ide.experimental.ui=true
  ide.editor.tab.selection.animation=true
  ide.colorful.toolbar.gradient.radius=2000
  compiler.ref.chain.search=false
  find.in.files.split.actions=false
  debugger.auto.attach.from.console=true
  llm.ignore.default.prompt.rules.aie=false
  llm.nextEdit.render.rating.controls=true
  eslint.additional.file.extensions=svelte
  find.in.files.split=false
Non-Bundled Plugins:
  com.intellij.monorepo.devkit (262.9437.203)
  io.github.crazycoder.copysettingpath (1.5)
  com.intellij.kubernetes (262.9437.203)
  org.jetbrains.toolbox-enterprise-client (2026.1.3.93-ij262)
  org.jetbrains.plugins.gradle (262.9437.203)
  com.intellij.quarkus (262.9437.201)
  com.intellij.spring.data (262.9437.201)
  jtreg (1.1.5)
  com.intellij.javaee.el (262.9437.201)
  com.intellij.kotlin.cri.bazel (262.9437.201)
  com.intellij.spring.boot (262.9437.201)
  org.jetbrains.plugins.node-remote-interpreter (262.9437.195)
  com.intellij.platform.daemon (262.9437.201-mac-arm64)
  NodeJS (262.9437.195)
  org.toml.lang (262.9437.201)
  com.intellij.javaee.extensions (262.9437.201)
  com.intellij.tasks (262.9437.201)
  com.intellij.plugins.webcomponents (262.9437.195)
  com.deadlock.scsyntax (262.9437.195)
  org.jetbrains.plugins.vue (262.9437.196)
  com.intellij.cdi (262.9437.201)
  com.intellij.internalTools (262.9437.201)
  com.jetbrains.intellij.api.watcher (262.9437.201)
  Docker (262.9437.196)
  HtmlTools (262.9437.203)
  XPathView (262.9437.203)
  com.intellij.swagger (262.9437.192)
  com.intellij.spring.integration (262.9437.201)
  com.intellij.jsonpath (262.9437.203)
  com.intellij.javaee (262.9437.203)
  com.intellij.spring.messaging (262.9437.201)
  org.intellij.plugins.markdown (262.9437.201)
  com.intellij.java-i18n (262.9437.201)
  com.intellij.beanValidation (262.9437.201)
  tslint (262.9437.195)
  com.intellij.freemarker (262.9437.201)
  com.intellij.javaee.reverseEngineering (262.9437.201)
  org.jetbrains.junie (262.2144.90)
  com.intellij.react (262.9437.201)
  org.jetbrains.idea.maven (262.9437.203)
  org.jetbrains.plugins.gitlab (262.9437.201)
  com.intellij.hibernate (262.9437.201)
  com.intellij.federatedCompute (262.9437.203)
  com.intellij.javaee.jpa (262.9437.201)
  org.jetbrains.kotlin (262.9437.201-IJ)
  intellij.webp (262.9437.203)
  org.jetbrains.fleet.devkit.intellij (263.1533.0)
  com.intellij.git.instant (262.9437.203)
  com.intellij.spring.security (262.9437.201)
  com.intellij.ml.llm (262.9437.199)
  com.jetbrains.performancePlugin (262.9437.201)
  com.jetbrains.jbr.freeze (0.0.5)
  com.intellij.velocity (262.9437.203)
  com.jetbrains.hserr (1.0.2)
  com.intellij.spring.mvc (262.9437.201)
  Tomcat (262.9437.201)
  intellij.vitejs (262.9437.195)
  com.intellij.LineProfiler (262.9437.201)
  Karma (262.9437.195)
  com.intellij.thymeleaf (262.9437.203)
  JBoss (262.9437.201)
  JavaScriptDebugger (262.9437.201)
  com.intellij.properties (262.9437.201)
  org.jetbrains.security.package-checker (262.9437.203)
  com.jetbrains.restWebServices (262.9437.201)
  com.github.nadiatarashkevich.displayideversion (0.0.2)
  com.chrisrm.idea.MaterialThemeUI (12.1.0)
  com.intellij.settingsSync (262.9437.201)
  com.intellij.micronaut (262.9437.201)
  training (262.9437.196)
  IdeaVIM (2.45.2)
  Refactor-X (262.9437.203)
  intellij.nextjs (262.9437.195)
  org.jetbrains.plugins.yaml (262.9437.201)
  tanvd.grazi (262.9437.201)
  com.jetbrains.restClient (262.9437.201)
  DevKit (262.9437.201)
  com.intellij.copyright (262.9437.201)
  org.editorconfig.editorconfigjetbrains (262.9437.201)
  com.jetbrains.support.KeyCodesTest (2)
  com.intellij.microservices.ui (262.9437.196)
  com.intellij.uiDesigner (262.9437.201)
  com.intellij.liquibase (262.9437.203)
  com.intellij.spring.boot.initializr (262.9437.201)
  com.intellij.spring.cloud (262.9437.201)
  com.jetbrains.space (262.9437.203)
  intellij.prettierJS (262.9437.195)
  JavaScript (262.9437.201)
  com.jetbrains.idea.safepush (262.9437.203)
  org.jetbrains.plugins.github (262.9437.201)
  com.intellij.spring (262.9437.201)
  com.intellij.modules.jcef (262.9437.201-mac-arm64)
  com.intellij.mcpServer (262.9437.203)
  intellij.ktor (262.9437.201)
  com.intellij.flyway (262.9437.203)
Kotlin: 262.9437.201-IJ

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions