Ax-Shell icon indicating copy to clipboard operation
Ax-Shell copied to clipboard

weird Gap on shell

Open AmxnMehra opened this issue 1 year ago • 30 comments

There is this gap on my shell's top

Image

AmxnMehra avatar Mar 05 '25 19:03 AmxnMehra

This is really weird, I can't reproduce. I literally ran the curl command and got everything working. How did you install it?

Axenide avatar Mar 05 '25 21:03 Axenide

Only time it happend to me was change the size of tray icon

tr1xem avatar Mar 06 '25 04:03 tr1xem

@Axenide i also ran the curl command it was working fine in the first time but when i relogin it became like this

AmxnMehra avatar Mar 06 '25 05:03 AmxnMehra

@tr1xem i tried reinstalling the shell but getiing the issue #44 is this a BUG or something??

AmxnMehra avatar Mar 06 '25 06:03 AmxnMehra

@Axenide i also ran the curl command it was working fine in the first time but when i relogin it became like this

Really really weird. There is no real reason for that to be inconsistent upon a relogin.

@tr1xem i tried reinstalling the shell but getiing the issue #44 is this a BUG or something??

Try running hyprctl reload in a terminal. If that doesn't fix it, select a wallpaper and run the command again.

Axenide avatar Mar 06 '25 06:03 Axenide

@Axenide i also ran the curl command it was working fine in the first time but when i relogin it became like this

Really really weird. There is no real reason for that to be inconsistent upon a relogin.

@tr1xem i tried reinstalling the shell but getiing the issue #44 is this a BUG or something??

Try running hyprctl reload in a terminal. If that doesn't fix it, select a wallpaper and run the command again.

i tried running the hyprctl reload but it did nothing so i run the py script inside ~/.config/Ax-shell/config but it did nothing as well, can you tell how can i change the wallpaper?without the notch

Image

AmxnMehra avatar Mar 06 '25 06:03 AmxnMehra

Hmph... Well, did it at least open the config window? Did you click accept? Just to know if the Matugen templates are configured. If they are, just run matugen image /path/to/your/image.

Axenide avatar Mar 06 '25 07:03 Axenide

Hmph... Well, did it at least open the config window? Did you click accept? Just to know if the Matugen templates are configured. If they are, just run matugen image /path/to/your/image.

ok so it came back i just run the python ~/.config/Ax-shell/config/config.py and manually select the wallpaper but the gap is still there

AmxnMehra avatar Mar 06 '25 07:03 AmxnMehra

I can't really explain the gap, I'm unable to reproduce.

Axenide avatar Mar 06 '25 08:03 Axenide

Only time it happend to me was change the size of tray icon

can you elaborate how did you do that?? also i think whenever i reload the shell it kinda expend...

AmxnMehra avatar Mar 06 '25 08:03 AmxnMehra

Only time it happend to me was change the size of tray icon

can you elaborate how did you do that?? also i think whenever i reload the shell it kinda expend...

send logs

tr1xem avatar Mar 06 '25 12:03 tr1xem

it got fixed i have to reinstall all the dependencies . also pls create a uninstall script so it can be easy to remove the shell

AmxnMehra avatar Mar 06 '25 14:03 AmxnMehra

it got fixed i have to reinstall all the dependencies . also pls create a uninstall script so it can be easy to remove the shell

i mean... its just removing the folder and dependencies if you like nthg else

tr1xem avatar Mar 06 '25 15:03 tr1xem

Interesting, I wonder why this happened. Seems more like a CSS issue. I might make an uninstall script.

Axenide avatar Mar 06 '25 18:03 Axenide

Image

I seem to be having the same problem. When the shell starts, it seems to be fine for a split second. It might have something to do with why the time island is smaller than the other ones. It looks as if the other islands are increasing in height and hence pushing the notch down a bit.

sayakm avatar Mar 06 '25 20:03 sayakm

Image

Okay. So I managed to fix it temporarily by relaunching the Shell with GTK Inspector and changing the font scale to 0.75. Don't understand why this would be inconsistent at all across installs. But do you use font scaling elsewhere. It seems the icons scale differently from text, that is, the two fonts scale differently. So any bar item with icons increases in size, pushing the notch down.

sayakm avatar Mar 07 '25 07:03 sayakm

I’ll look into it, but this shouldn’t be happening. The icon sizes are different from the font, yes, but they have explicit CSS rules. The rest of the text shouldn’t resize, and based on the screenshots, it doesn’t. I suspect it might be related to the padding inside the notch, but what I can’t figure out is why this issue doesn’t occur for me or most users.

Axenide avatar Mar 07 '25 07:03 Axenide

So I just installed with the curl command and everything seems to work just fine. No gap or anything weird. I'll keep it open just in case this happens randomly, but as you can see, no gap.

Image

Axenide avatar Mar 09 '25 20:03 Axenide

Hmm, looking at the second screenshot where you found that "workaround", it seems like the first workspace is missing. Did you change anything there?

Axenide avatar Mar 09 '25 20:03 Axenide

So I modified some styling, and someone got it solved after that commit. Could you guys please try again?

Axenide avatar Mar 11 '25 22:03 Axenide