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

Groupbar title rendering @2x scaling regression #6405

Closed
zachcoyle opened this issue Jun 10, 2024 · 4 comments · Fixed by #6411
Closed

Groupbar title rendering @2x scaling regression #6405

zachcoyle opened this issue Jun 10, 2024 · 4 comments · Fixed by #6411
Labels
bug Something isn't working

Comments

@zachcoyle
Copy link

zachcoyle commented Jun 10, 2024

Bug or Regression?

Regression

System Info and Version

System/Version info
<Paste the output of the command here>

Hyprland, built from branch  at commit ea2501d4556f84d3de86a4ae2f4b22a474555b9f  ().
Date: 2024-06-10
Tag: , commits: 

flags: (if any)


System Information:
System name: Linux
Node name: nixos-laptop
Release: 6.9.3
Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980


GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1002:7340] (rev 43) (prog-if 00 [VGA controller])
04:00.1 Non-VGA unclassified device [0000]: Apple Inc. T2 Bridge Controller [106b:1801] (rev 01)
04:00.2 Non-VGA unclassified device [0000]: Apple Inc. T2 Secure Enclave Processor [106b:1802] (rev 01)


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240607.051f920"
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.11 (Vicuña)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuña)"
VERSION_CODENAME="vicuña"
VERSION_ID="24.11"


plugins:
  hyprtrails by Vaxry ver 1.0

======Config-Start======


Config File: /home/zcoyle/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/bnipzdfv788l7yvgn7k7s7gp76sd1zpz-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
plugin=/nix/store/xscbak4i6lz3szvfnl3f7i83v23mapfd-hyprtrails-0.1/lib/libhyprtrails.so
$mod=SUPER
animations {
  bezier=wind, 0.05, 0.9, 0.1, 1.05
  bezier=winIn, 0.1, 1.1, 0.1, 1.1
  bezier=winOut, 0.3, -0.3, 0, 1
  bezier=liner, 1, 1, 1, 1
  bezier=linear, 0.0, 0.0, 1.0, 1.0
  animation=windowsIn, 1, 6, winIn, slide
  animation=windowsOut, 1, 5, winOut, slide
  animation=windowsMove, 1, 5, wind, slide
  animation=border, 1, 10, default
  animation=borderangle, 1, 100, linear, loop
  animation=fade, 1, 10, default
  animation=workspaces, 1, 5, wind
  animation=windows, 1, 6, wind, slide
  enabled=true
}

cursor {
  inactive_timeout=5
}

decoration {
  blur {
    passes=2
    size=4
  }
  active_opacity=1.000000
  col.shadow=rgba(1d202199)
  dim_inactive=true
  drop_shadow=true
  inactive_opacity=0.800000
  rounding=10
  shadow_offset=0 5
}

dwindle {
  preserve_split=true
}

general {
  col.active_border=rgb(8ec07c) rgb(83a598) 45deg
  col.inactive_border=rgb(665c54)
  layout=dwindle
}

gestures {
  workspace_swipe=true
  workspace_swipe_cancel_ratio=0.300000
  workspace_swipe_fingers=4
  workspace_swipe_min_speed_to_force=25
}

group {
  groupbar {
    col.active=rgba(1d2021CC)
    col.inactive=rgba(665c54CC)
    col.locked_active=rgba(fe8019CC)
    col.locked_inactive=rgba(fb4934CC)
    font_family=Fira Sans
    font_size=12
    height=22
    text_color=rgba(fbf1c7CC)
  }
  col.border_active=rgb(8ec07c) rgb(83a598) 45deg
  col.border_inactive=rgb(665c54)
  col.border_locked_active=rgb(8ec07c) rgb(83a598) 45deg
}

input {
  touchpad {
    clickfinger_behavior=true
    disable_while_typing=true
    drag_lock=true
    natural_scroll=true
    tap-and-drag=true
    tap-to-click=true
  }
  kb_layout=us, us, il
  kb_options=caps:escape,grp:alt_space_toggle
  kb_variant=, colemak, phonetic
  natural_scroll=true
}

misc {
  background_color=rgb(1d2021)
  enable_swallow=true
  swallow_regex=^(kitty)$
  swallow_regex=^(Alacritty)$
}

plugin {
  hyprtrails {
    color=rgba(8ec07c80)
  }
}
bind=SUPER, B, exec, firefox
bind=SUPER, C, exec, rofi -opacity 0 -show calc -display-calc ''
bind=SUPER, E, exec, rofi -opacity 0 -show emoji -display-emoji `random-emoji`
bind=SUPER, Return, exec, alacritty
bind=SUPER, Q, killactive
bind=SUPER, Y, fullscreen, 0
bind=SUPER, U, fakefullscreen, 0
bind=SUPER, T, togglefloating
bind=SUPER, I, layoutmsg, togglesplit
bind=SUPER, SPACE, exec, rofi -opacity 0 -show drun -show-icons -display-drun '' -display-ssh '󰣀' -display-run '' -display-window ''
bind=SUPER, S, togglespecialworkspace, scratchpad
bind=SUPER, 1, workspace, 1
bind=SUPER, 2, workspace, 2
bind=SUPER, 3, workspace, 3
bind=SUPER, 4, workspace, 4
bind=SUPER, 5, workspace, 5
bind=SUPER, 6, workspace, 6
bind=SUPER, 7, workspace, 7
bind=SUPER, 8, workspace, 8
bind=SUPER, 9, workspace, 9
bind=SUPER, 0, workspace, 10
bind=SUPER_SHIFT, 4, exec, grim -g "$(slurp)"
bind=SUPER_SHIFT, 3, exec, grim
bind=SUPER, G, togglegroup
bind=SUPER, N, changegroupactive
bind=SUPER SHIFT, N, changegroupactive, b
bind=SUPER, O, moveoutofgroup
bind=SUPER, semicolon, lockactivegroup, toggle
bind=SUPER_ALT, 1, movetoworkspacesilent, 1
bind=SUPER_ALT, 2, movetoworkspacesilent, 2
bind=SUPER_ALT, 3, movetoworkspacesilent, 3
bind=SUPER_ALT, 4, movetoworkspacesilent, 4
bind=SUPER_ALT, 5, movetoworkspacesilent, 5
bind=SUPER_ALT, 6, movetoworkspacesilent, 6
bind=SUPER_ALT, 7, movetoworkspacesilent, 7
bind=SUPER_ALT, 8, movetoworkspacesilent, 8
bind=SUPER_ALT, 9, movetoworkspacesilent, 9
bind=SUPER_ALT, 0, movetoworkspacesilent, 10
bind=SUPER_ALT, S, movetoworkspacesilent, special:scratchpad
bind=SUPER, TAB, cyclenext
bind=SUPER_SHIFT, TAB, cyclenext, prev
bind=SUPER, period, layoutmsg, orientationnext
bind=SUPER, comma, layoutmsg, orientationprev
bind=SUPER_SHIFT, semicolon, exec, hyprlock
bind=SUPER, D, exec, hyprctl keyword general:layout "dwindle"
bind=SUPER, M, exec, hyprctl keyword general:layout "master"
bind=SUPER, H, movefocus, l
bind=SUPER, J, movefocus, d
bind=SUPER, K, movefocus, u
bind=SUPER, L, movefocus, r
bind=SUPER_SHIFT, H, swapwindow, l
bind=SUPER_SHIFT, J, swapwindow, d
bind=SUPER_SHIFT, K, swapwindow, u
bind=SUPER_SHIFT, L, swapwindow, r
bind=ALT_SHIFT, H, movewindoworgroup, l
bind=ALT_SHIFT, J, movewindoworgroup, d
bind=ALT_SHIFT, K, movewindoworgroup, u
bind=ALT_SHIFT, L, movewindoworgroup, r
bind=SUPER, slash, exec, hyprpicker | wl-copy
bind=SUPER_ALT, backspace, exit
bind=SUPER, P, exec, swww img /nix/store/hma4yc14j385ggdmg1fv73hq91ibiad4-wallpapers/`ls /nix/store/hma4yc14j385ggdmg1fv73hq91ibiad4-wallpapers | shuf -n 1` --transition-fps 60 --transition-type grow --transition-pos 2622,1470
binde=ALT, L, resizeactive, 10 0
binde=ALT, H, resizeactive, -10 0
binde=ALT, K, resizeactive, 0 -10
binde=ALT, J, resizeactive, 0 10
bindl=, switch:Lid Switch, exec, hyprlock
bindl=, XF86AudioPrev, exec, playerctl previous
bindl=, XF86AudioPlay, exec, playerctl play-pause
bindl=, XF86AudioNext, exec, playerctl next
bindl=, XF86AudioMute, exec, volumectl -p toggle-mute
bindle=, XF86AudioRaiseVolume, exec, volumectl -p -u up
bindle=, XF86AudioLowerVolume, exec, volumectl -p -u down
bindle=, XF86MonBrightnessUp, exec, lightctl up
bindle=, XF86MonBrightnessDown, exec, lightctl down
bindle=, XF86KbdBrightnessUp, exec, brightnessctl -d ":white:kbd_backlight" s 10%+
bindle=, XF86KbdBrightnessDown, exec, brightnessctl -d ":white:kbd_backlight" s 10%-
bindle=, XF86Eject, exec, eject
bindm=$mod, mouse:272, movewindow
bindm=$mod, mouse:273, resizewindow
bindm=$mod ALT, mouse:272, resizewindow
env=NIXOS_OZONE_WL, 1
exec-once=copyq --start-server
exec-once=swww init
exec-once=ags
exec-once=libinput-gestures
exec-once=/nix/store/g6pnikxf1jjax1f1j1lf4sfdd74dmjkv-polkit-kde-agent-1-5.27.11/libexec/polkit-kde-authentication-agent-1
exec-once=systemctl --user import-environment PATH && systemctl --user restart xdg-desktop-portal.service
exec-once=nm-applet
exec-once=blueman-applet
exec-once=swaync
exec-once=udiskie -a -n
exec-once=pypr
exec-once=wlsunset -l 40.45 -L -85.37
exec-once=pasystray
exec-once=swww img /nix/store/hma4yc14j385ggdmg1fv73hq91ibiad4-wallpapers/platform.jpg --transition-fps 60 --transition-type grow --transition-pos 2622,1470
layerrule=blur, ags
layerrule=blur, alacritty
layerrule=blur, wlogout
layerrule=blur, avizo
layerrule=blur, rofi
monitor=DP-1, 3072x1920@60, 1920x540, 1
monitor=DP-6, 1920x1080@60, 0x0, 1
windowrule=float, wlogout
windowrule=noanim, wlogout
windowrule=fullscreen, wlogout
windowrule=opacity 1.0 override 1.0 override, title:^Picture-in-Picture$
windowrule=nodim, title:^Picture-in-Picture$
workspace=special:scratchpad, on-created-empty:alacritty

======Config-End========

Description

After #6392 (7ba2c31) was merged, the groupbar titles are now rendered incorrectly at 2x scaling.

How to reproduce

Set hyprland scaling to 2x, start a window group

Crash reports, logs, images, videos

No response

@zachcoyle zachcoyle added the bug Something isn't working label Jun 10, 2024
@zachcoyle
Copy link
Author

20240610_14h27m55s_grim

@zakk4223
Copy link
Contributor

Hmm, thought I'd compensated for that. I'll take a look asap

@vaxerski
Copy link
Member

thanks @zakk4223

@zakk4223
Copy link
Contributor

Please test that PR if you can

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

Successfully merging a pull request may close this issue.

3 participants