Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right click causes the app list applet to exit #288

Open
snaggen opened this issue Nov 8, 2024 · 9 comments
Open

Right click causes the app list applet to exit #288

snaggen opened this issue Nov 8, 2024 · 9 comments

Comments

@snaggen
Copy link

snaggen commented Nov 8, 2024

When I right click on some application icons in the dock, the applications goes away. When I check the system log I see:
nov 08 09:19:00 locke cosmic-panel[4219]: com.system76.CosmicAppList: exited with code 0
So, it seems that the app list just exits for some unknown reason.

It doen't happen every time I think, but almost. For some applications I was able to get the context meny some time, but most of the time it just seems to exit. I can easliy reproduce this by right clicking just a few times. It is so bad, that I never dare to right click, since most of the time the applications goes away and I have to restart the dock to get them back.

I'm on Fedora 41 with the cosmic copr packages installed. The version I use is:

cosmic-applets-1.0.0~alpha.3^git20241107.110c68d-1.fc41.x86_64
cosmic-panel-1.0.0~alpha.3^git20241106.d0d7972-1.fc41.x86_64
@snaggen
Copy link
Author

snaggen commented Nov 10, 2024

This might be related to the use of external screens. I normally have the laptop lid closed, with two external screens (one is rotated 90 degrees). When I now used the laptop without the screens, I can right click without any crashes.

@ypli0629
Copy link

+1

@ypli0629
Copy link

I have some error messages

11月 19 13:49:37 pop-os cosmic-panel[2033]: com.system76.CosmicAppletStatusArea: exited with code 0
11月 19 13:49:37 pop-os clash-verge[2087]: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
11月 19 13:49:39 pop-os systemd[1904]: app-cosmic-com.system76.CosmicAppList-9095.scope: Couldn't move process 9095 to requested cgroup '/user.slice/user-1000.slice/[email protected]/app>
11月 19 13:49:39 pop-os systemd[1904]: app-cosmic-com.system76.CosmicAppList-9095.scope: Failed to add PIDs to scope's control group: No such process
11月 19 13:49:39 pop-os systemd[1904]: app-cosmic-com.system76.CosmicAppList-9095.scope: Failed with result 'resources'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit UNIT has entered the 'failed' state with result 'resources'.
11月 19 13:49:39 pop-os systemd[1904]: Failed to start app-cosmic-com.system76.CosmicAppList-9095.scope - Application launched by COSMIC.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit UNIT has finished with a failure.
░░
░░ The job identifier is 615 and the job result is failed.
11月 19 13:49:43 pop-os chronyd[1160]: Selected source 52.10.183.132 (oregon.time.system76.com)
11月 19 13:49:44 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:49:49 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:49:52 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:49:55 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:49:57 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:49:57 pop-os fcitx5[2145]: I2024-11-19 13:49:57.534009 instance.cpp:1187] Running autosave...
11月 19 13:49:57 pop-os fcitx5[2145]: I2024-11-19 13:49:57.613400 instance.cpp:1189] End autosave
11月 19 13:50:00 pop-os com.docker.backend[2202]: [05:50:00.053194338Z][main.idle ] cache << GET /images/json
11月 19 13:50:01 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:50:16 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)
11月 19 13:50:17 pop-os cosmic-comp[1970]: [GL] GL_INVALID_VALUE in glTexSubImage2D(xoffset 0 + width 24 > 10)

@ypli0629
Copy link

@wash2

@wash2
Copy link
Collaborator

wash2 commented Nov 19, 2024

Hi, I've been looking into this, but unfortunately I've not been able to recreate the issue. I'll let you know when I've made progress.

@snaggen
Copy link
Author

snaggen commented Nov 19, 2024

Unfortunately, due to pop-os/cosmic-epoch#1174 and the fact that I need to have my laptop in at least a semi stable state, I cannot fiddle around much to determine how to trigger this case. But I would start by using and external screen, since it seemed to work reliably when I only had my laptop screen.
Also, rotating the screen (or in my case one of two external screens).
Possibly some scaling, since I think I might have a fractional scaling configured on my screens.
This is where I should start my testing.

@ypli0629
Copy link

Hi, I've been looking into this, but unfortunately I've not been able to recreate the issue. I'll let you know when I've made progress.

When I use fractional scaling (set scale to 150%), right click will causes panel crash. if change scale to 100%, crash no longer occur.

@J4ckWh0
Copy link

J4ckWh0 commented Nov 19, 2024

Hi, I've been looking into this, but unfortunately I've not been able to recreate the issue. I'll let you know when I've made progress.

Some of the current crashes related to applets and the panel seem to be related to fractional scaling.

There's something going wrong with the panel and applets at set scaling, though it seems inconsistent at which scaling stuff starts breaking depending on user.

For me if I have scaling set above 150% the time applet and various panel crashes occur. If I leave it at 150% it all works fine.

Link to applet issue I believe is related: pop-os/cosmic-applets#714

@wash2
Copy link
Collaborator

wash2 commented Nov 19, 2024

ok i think i've got a fix for this issue that should be merged sometime today :) pop-os/iced#196 is related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants