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

Hyprland error banner causes major problems when trying to fix the error #5723

Open
Silverdev2482 opened this issue Apr 23, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@Silverdev2482
Copy link

Hyprland Version

Hyprland, built from branch at commit cdcc5ab ().
Date: 2024-02-17
Tag:

flags: (if any)

System Information:
System name: Linux
Node name: T480
Release: 6.7.4
Version: #1-NixOS SMP PREEMPT_DYNAMIC Mon Feb 5 20:17:12 UTC 2024

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.05.20240217.dirty"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.05 (Uakari)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.05 (Uakari)"
VERSION_CODENAME=uakari
VERSION_ID="24.05"

plugins:

Bug or Regression?

Bug

Description

The error banner are a major problem, when I get an error I will try to go to the wiki or search the web for other advice, however it is insanely hard to obtain the information needed to fix the config error when part of your screen is dead.

At this point your system is a pain to operate. You either need to know a terminal based web browser, have a different computer, or suffer through using a web browser and terminal with the top half cut off. You can't easily resize windows to not be in the area where the error is, only tiling it to the bottom left or right quarter of your screen.

Potential solutions 1: closable error

  • This would fix the problems, but it may lead to people ignoring the error.
  • It also would be a nuisance to get the log pulled up to look at the error once closed.

Potential solution 2: Error displaces windows

  • This would make it so windows simply would be shrunk, instead of being overlapped by the error.
  • It would make people not ignore the error, while not being a major problem while searching for a solution.
  • It would make the error easy to look at to fix
  • The error may still be a problem in insanely low resolutions, however a very small amount of people would be affected by this.

How to reproduce

Do any config change that causes an error

Crash reports, logs, images, videos

No response

@Silverdev2482 Silverdev2482 added the bug Something isn't working label Apr 23, 2024
@Silverdev2482 Silverdev2482 changed the title Hyprland error banner causes malor problems when trying to fix the bug Hyprland error banner causes major problems when trying to fix the bug Apr 23, 2024
@Silverdev2482 Silverdev2482 changed the title Hyprland error banner causes major problems when trying to fix the bug Hyprland error banner causes major problems when trying to fix the error Apr 23, 2024
@vaxerski
Copy link
Member

why is the small banner such an issue to you? Why can't you float a window out of the way?

@jernejmarcic
Copy link

If you have a hard time navigating with the banner I would suggest you just to go the config and comment out wahtever Hyprland is telling you is casing the error and then search for a solution.
I never had a config error or update break the (bare) functionality of Hyprland for me

@SoSeDiK
Copy link
Contributor

SoSeDiK commented Apr 23, 2024

The banner may cover the task bar (e.g. waybar), making it unusable. I can see how this can be an inconvenience, especially on NixOS when using hm flake with plugins since each Hyprland update leads to version mismatch banner constantly flashing on top of the screen, which e.g. blocks GUI access to logout, forcing to use hotkeys (and hotkeys are interrupted by the banner, which is also quite annoying).

@Silverdev2482
Copy link
Author

I never used float so that did not occur to me to do that, I will do that from now on. As for why the small banner is an issue, it covers all tabs in a web browser making it a massive pain to navigate. Terminals are so bad but still annoying, but web browsers are almost unsuable.

@jernejmarcic
Copy link

FYI you can use CTRL+T to open new tabs in browsers and use ALT+1-9 to navigate tabs, at least on firefox

@Silverdev2482
Copy link
Author

I have had plenty of syntax error that can't simply be commented out. Hotkeys for firefox are probably a good idea to use but I don't see a good reason for the errors to not displace windows.

@Root-Core
Copy link

I have had plenty of syntax error that can't simply be commented out.

Why not? You also could rename the file, which is like commenting out the whole file.


Another potential solution:

Make the banner transparent when the mouse hovers over it and make it click through.

@Silverdev2482
Copy link
Author

I didn't know it was a syntax error in the first place. idk how that bracket got deleted, strikes me as really odd, maybe I fat fingered in vim and didn't notice, until the next nixos-rebuild, idk. Still I'd rather just get to fixing the problem instead of pushing it out of the way so I can learn to fix it.

@Silverdev2482
Copy link
Author

transparency is also a good idea though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants