maoschanz / emoji-selector-for-gnome

This extension provide a popup menu with some emojis ; clicking on an emoji copies it to the clipboard.
GNU General Public License v3.0
470 stars 76 forks source link

Funny bug #190

Open khaled-0 opened 1 year ago

khaled-0 commented 1 year ago

MAYBE: Don't resize window horizontally at all Tried With vanilla gnome theme. Watch This

VortexAcherontic commented 1 year ago

Can you explain what exactly is the issue? The video has some really strange artifacts which I suppose to be not the issue?

khaled-0 commented 1 year ago

Can you explain what exactly is the issue? The video has some really strange artifacts which I suppose to be not the issue?

Try it on your desktop, put the mouse cursor exactly between "😝" and "🤤" It's not a video artifact. The extension window keeps resizing back n forth because of emoji description being too long.

VortexAcherontic commented 1 year ago

But I suppose this to be an issue with your desktop theme, as for me the whole layout is different compared to yours and I can not reproduce the issue on vanilla Gnome 44.

For example: My grid layout is in that category is 11 x 15 and yours is 12 x 16 (I think it's hard to count)

I meant those artifacts, you video is corrupted: grafik

khaled-0 commented 1 year ago

But I suppose this to be an issue with your desktop theme, as for me the whole layout is different compared to yours and I can not reproduce the issue on vanilla Gnome 44.

For example: My grid layout is in that category is 11 x 15 and yours is 12 x 16 (I think it's hard to count)

I meant those artifacts, you video is corrupted: grafik

Sorry for that I've updated the video and Tried with vanilla theme too

VortexAcherontic commented 1 year ago

Ah, thanks for the update, I think it might be related to the text description of the selected emoji.

"Face with stuck out tongue and closed eyes" which is significantly longer then the other descriptions. I'll take a look at it later.

VortexAcherontic commented 1 year ago

Hey there, sorry for bothering you again but I am still at narrowing down the root cause here.

Do you really have disable all theming of your desktop, as even by lowering my resolution to 1600 x 900 (as what is the resolution of your video) the layout of the emoji selector is different form yours and I can't get the same thing to happen :/

Mine: grafik

Yours: c979de0a-94d7-4a59-a203-7c8e7446ae84

What extensions do you use or did you changed your desktop font size (Default seems to be 11) ?

khaled-0 commented 1 year ago

Hey there, sorry for bothering you again but I am still at narrowing down the root cause here.

Do you really have disable all theming of your desktop, as even by lowering my resolution to 1600 x 900 (as what is the resolution of your video) the layout of the emoji selector is different form yours and I can't get the same thing to happen :/

Mine: grafik

Yours: c979de0a-94d7-4a59-a203-7c8e7446ae84

What extensions do you use or did you changed your desktop font size (Default seems to be 11) ?

It's due to this, you can change how many emoji it should show per line in the extension settings. You have a wider box because of that. The issue won't occur if I show around 14+ emoji per line. But that's not a solution.

The actual solution should be to ellipsize the emoji description instead of letting it increase the entire box size (e.g some-longgg-emoji-descrip...) image

VortexAcherontic commented 1 year ago

Ah many thanks, I'll see if I could find a solid solution for this, either scrolling text or just cutting it off. Dunno we'll see 😄