FS#75151 - [pycharm-community-edition] Arch package of PyCharm breaks focus for popups

Attached to Project: Community Packages
Opened by Arvid Norlander (VorpalGun) - Thursday, 23 June 2022, 12:43 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Leonidas Spyropoulos (inglor)
Levente Polyak (anthraxx)
Orhun Parmaksız (orhun)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



When using the Arch Linux package for PyCharm CE, the focusing for certain popups (such as the new file name one) breaks when running under KDE Plasma and under Cinnamon (other DEs untested).

This works fine if I run directly from the upstream tarball. The AUR package for PyCharm Professional also works properly. I made a short screen recording showing this behaviour: https://www.youtube.com/watch?v=cZikxxSN-Bs

Additional info:
* package version(s): pycharm-community-edition 2022.1.2-1
* link to upstream bug report, if any: Doesn't happen with upstream tarball.

Steps to reproduce:
1. Install pycharm-community-edition
2. In KDE Plasma or Cinnamon, launch PyCharm
3. Create a new project if needed
4. Right click in project tree, select New -> File
5. Start typing file name. Focus is still on the window behind, instead of in the popup as expected.

This works fine with the upstream package.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:04 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/pycharm-community-edit ion/issues/2
Comment by Arvid Norlander (VorpalGun) - Thursday, 23 June 2022, 13:27 GMT
pycharm-community-jre from AUR also works properly. That doesn't necessarily means it is the java version causing this, could be something else that differs between the packages (I have not compared them in detail).
Comment by Sooraj S Prakash (soorajsprakash) - Sunday, 24 July 2022, 03:39 GMT
It's due to some java issue.
I had the same problem, along with Markdown preview issue (https://bugs.archlinux.org/task/72258) while using PyCharm from official repo (extra).
Then i downloaded pycharm community edition tar file, from jetbrains site and now the issue (plus markdown preview issue) is not there.
So I deeply suspect it have something to do with using bundled java.
Comment by Arvid Norlander (VorpalGun) - Thursday, 01 September 2022, 14:27 GMT
Leonidas Spyropoulos (@inglor): I strongly disagree with your change to low priority. It is critical for this package. It makes this package unusable as it breaks many dialog boxes throughout the program. You end up having to use the AUR package instead that actually works to get any work done using the program.
Comment by Levente Polyak (anthraxx) - Thursday, 01 September 2022, 16:39 GMT
@VorpalGun: The Severity is a global uniform scale ending up at "the system doesn't boot". We use severity not per package, but on a global scale to prioritize across packages. Most likely nobody would have touched the severity if you go for "medium" but going full on "Critical" easily triggers such a re-evaluation. Please next time try to judge on a global scale ending on "the system doesn't boot" when trying to categorize the impact of a broken popup focus -- even if disruptive for the application in question.
Comment by Arvid Norlander (VorpalGun) - Thursday, 01 September 2022, 18:07 GMT
Ah okay. That could be made more clear in the reporting form.
Comment by Toolybird (Toolybird) - Thursday, 01 September 2022, 21:03 GMT
@VorpalGun, it's documented here [1] which is linked at the top of every bug reporting form. Unfortunately not all bug reporters read the guidelines :(

[1] https://wiki.archlinux.org/title/Bug_reporting_guidelines#Severity