micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.86k stars 461 forks source link

Window preview doesn't work anymore #2202

Closed daniesmar0 closed 5 months ago

daniesmar0 commented 5 months ago

Hi, I have just updated to version 91 and I had configured the middle button of the mouse to cause an application to pop up a preview of its content but it does no longer work (neither with the window focused, minimized nor any other window status) previewNotWorking

prvks commented 5 months ago

same issue

jmgs7 commented 5 months ago

Same issue too.

boddyua commented 5 months ago

same for me, Ubuntu 23.10, Gnome 45.2, no previews in v91 and v90. Release v89 works fine.

vanvugt commented 5 months ago

I can't reproduce the issue in v91, but that screenshot suggests some error should be in the log for the missing widgets. Please check your logs.

catcombo commented 5 months ago

Doesn't work for me too. Looks the same as on screenshots. Fedora 39, GNOME 45.5. I don't have any other extension installed, except Dash-to-dock.

Please check your logs.

Where can I find the logs?

wgorski commented 5 months ago

Same thing here. Fedora 39, Gnome 45.5

logs from journalctl when I click on the application icon:

Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <dashtodockWindowList>[<StBoxLayout>:0x5633d214e1d0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<Gjs_dash-to-dock_micxgx_gmail_com_windowPreview_WindowPreviewMenuItem>:0x5633d00ed6c0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<StBoxLayout>:0x5633d0529230] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<ClutterActor>:0x5633cf42e470] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<StBin>:0x5633cee64ff0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<ClutterClone>:0x5633ccafc8a0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<StButton>:0x5633d308b500] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<StIcon>:0x5633d3fa0a80] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<ClutterActor>:0x5633d26f13d0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<StBin>:0x5633ced04dd0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<StLabel>:0x5633d11297e0] is on because it needs an allocation.
Apr 22 15:05:34 cray gnome-shell[3369]: Can't update stage views actor <unnamed>[<ClutterText>:0x5633d29f5a40] is on because it needs an allocation.
Apr 22 15:05:35 cray gnome-shell[3369]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
Apr 22 15:05:35 cray gnome-shell[3369]: cogl_framebuffer_set_viewport: assertion 'width > 0 && height > 0' failed
[ a lot more of these ]
jmgs7 commented 5 months ago

I also found out that the schema is not detected for any key (at least in dconf editor):

image

image

daniesmar0 commented 5 months ago

Please check your logs.

Where can I find the logs?

vanvugt commented 5 months ago

Where can I find the logs?

journalctl -b0
catcombo commented 5 months ago

Where can I find the logs?

journalctl -b0

https://gist.github.com/catcombo/86f240f040089e2222b284a4a841ede9

3v1n0 commented 5 months ago

It seems this affects only 45, right?

@sergio-costas can you maybe see if one of the porting changes could have affected this?

sergio-costas commented 5 months ago

@3v1n0 I'm on it...

masterdokuro commented 5 months ago

It seems this affects only 45, right?

Today I upgraded to fedora 40 with gnome 46 & dash-to-doc v91 and window preview is working as expected again. Prior to upgrade (fedora 39, gnome 45 & dash-to-doc v91) it did not work.

wgorski commented 5 months ago

I can confirm that it works with Gnome 46 (Fedora 40)

sergio-costas commented 5 months ago

I have to test it in gnome 45.

sergio-costas commented 5 months ago

Ok, I installed it in gnome 45. How can I trigger this bug?

masterdokuro commented 5 months ago

Open up two windows of an application which is on the dash, say firefox as an example. Also, have Show window previews enabled for the click action in behaviour.

When you click the icon no preview is shown, only a bar like in the screenshot from the OP.

sergio-costas commented 5 months ago

Ok... yes, I'm having the same problem in Gnome 45. I'll see what can I do.

sergio-costas commented 5 months ago

I think that I fixed it.