JaKooLit / Arch-Hyprland

For automated installation of Hyprland on Arch or any arch based distros
GNU General Public License v3.0
1.35k stars 109 forks source link

[Bug]: Rofi is not getting auto focused #46

Closed vaisakhv closed 4 months ago

vaisakhv commented 5 months ago

Bug Report

Description

When pressing super or super+d rofi is getting displayed according to the theme but it is not getting focused. Every time i've to manually focus it by hovering over the window.

Expected Behavior

Whenever i press the super key or super+d keys rofi should appear and be focused automatically, so that i can start typing immediately. image

Actual Behavior

when press super key the rofi window is not focused automatically. image

Environment

Arcolinux in physical machine

Host: 82WU Yoga Slim 6 14IAP8 CPU: 12th Gen Intel i5-1240P (16) @ 4.400GHz GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics]

Additional Information

I use the Arch-hyprland in my desktop pc which is running arch linux, in that i'm not facing the issue.

GertBurger commented 5 months ago

I did a fresh install today on Arch and encountered this.

Sipper1236 commented 5 months ago

idk why that happens, really annoying tbh

GertBurger commented 5 months ago

On Arch I replaced the rofi package with the rofi-lbonn-wayland-acd407 fork for wayland, which seems to behave better.

ahmad9059 commented 5 months ago

I am also facing this also wasted whole night to fix but did not found the problem please anyone can help??

ahmad9059 commented 5 months ago

On Arch I replaced the rofi package with the rofi-lbonn-wayland-acd407 fork for wayland, which seems to behave better.

Thansk Brother Solved!!!!

vaisakhv commented 5 months ago

rofi-lbonn-wayland-acd407

this solved my issue as well.. thanks @JaKooLit could you make the changes in the install script to reflect this.

JaKooLit commented 5 months ago

rofi-lbonn-wayland-acd407

this solved my issue as well.. thanks @JaKooLit could you make the changes in the install script to reflect this.

I have to test myself first...

Mainly because, on my shared configs (same as what I am using daily), with some small changes on startups,

I dont have this issue.

ahmad9059 commented 5 months ago

rofi-lbonn-wayland-acd407

this solved my issue as well.. thanks @JaKooLit could you make the changes in the install script to reflect this.

I have to test myself first...

Mainly because, on my shared configs (same as what I am using daily), with some small changes on startups,

I dont have this issue.

The issue arises when rofi is installed before using the install-script. If we install it fresh, the problem doesn't occur. I've tried it twice and it works fine in that scenario.

JaKooLit commented 5 months ago

rofi-lbonn-wayland-acd407

this solved my issue as well.. thanks @JaKooLit could you make the changes in the install script to reflect this.

I have to test myself first... Mainly because, on my shared configs (same as what I am using daily), with some small changes on startups, I dont have this issue.

The issue arises when rofi is installed before using the install-script. If we install it fresh, the problem doesn't occur. I've tried it twice and it works fine in that scenario.

interesting......But thanks for sharing this comment... I will have a look in about 2 weeks once im at home

JaKooLit commented 4 months ago

Im closing this as 3 of my systems does not experience this issue... and as @ahmad9059 mentioned, could be because rofi is installed before. So Im guessing force reinstalling, or even removing install rofi first, reboot then install rofi-wayland should work

vaisakhv commented 4 months ago

Removing the pre-installed rofi and installing rofi-wayland fixed this. Thank you@JaKooLit

AntoninoAdornetto commented 3 months ago

Glad I looked through the previous issues before opening one. I had rofi installed already and was not getting auto focus on the search input. Reinstalling rofi-wayland did the trick and now works smooth as butter