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

[Bug]: Panel not working as expected in Plasma 5.27.11 using Wayland #2029

Open
yesrod opened this issue Sep 5, 2024 · 0 comments
Open

[Bug]: Panel not working as expected in Plasma 5.27.11 using Wayland #2029

yesrod opened this issue Sep 5, 2024 · 0 comments
Labels
bug Bug report or bug fix PR triage Issue that hasn't been verified

Comments

@yesrod
Copy link

yesrod commented Sep 5, 2024

What happened?

When using own_window_type = panel and out_to_wayland = true with conky 1.20.2, the conky window doesn't behave as expected.

Specifically, when another window is maximized, it covers the conky window instead of stopping at the border of the conky window.

I have not tested with versions newer than 1.20.2 because of #1960.

Expected behavior:

  • Launch conky with own_window_type = panel and out_to_wayland = true in .conkyrc
  • Maximize another window
  • The maximized window does not cover the conky window

Actual behavior:

  • Launch conky with own_window_type = panel and out_to_wayland = true in .conkyrc
  • Maximize another window
  • The maximized window covers the entire screen, blocking the conky window entirely

Version

1.20.2

Which OS/distro are you seeing the problem on?

Ubuntu

Conky config

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo

Any original torsmo code is licensed under the BSD license

All code written since the fork of torsmo is licensed under the GPL

Please see COPYING for details

Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
]]

conky.config = {
    -- xinerama_head = 1,
    alignment = 'middle_right',
    background = false,
    border_width = 1,
    cpu_avg_samples = 2,
    default_color = 'white',
    default_outline_color = 'black',
    default_shade_color = 'black',
    draw_borders = false,
    draw_graph_borders = true,
    draw_outline = true,
    draw_shades = true,
    use_xft = true,
    font = 'Liberation Mono:size=10',
    gap_x = 5,
    gap_y = 0,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    double_buffer = true,
    out_to_console = false,
    out_to_stderr = false,
    out_to_x = false,
    out_to_wayland = true,
    extra_newline = false,
    own_window = true,
    own_window_class = 'Conky',
    own_window_type = 'panel',
    -- own_window_hints = 'below,skip_taskbar',
    own_window_transparent = false,
    own_window_argb_visual = true,
    own_window_argb_value = 192,
    stippled_borders = 0,
    update_interval = 1.0,
    uppercase = false,
    pad_percents = 1,
    use_spacer = 'left',
    show_graph_scale = false,
    show_graph_range = false
}

conky.text = [[
$nodename - $sysname $kernel on $machine 
${time %A, %B %d, %Y %H:%M:%S}
$hr
${texecpi 300 curl -q wttr.in/Morgantown,%20WV?0q | ansito -}
$hr
${color grey}Uptime:    $color $uptime
${color grey}Load:      $color $loadavg
${color grey}RAM Usage: $color $mem/$memmax
            $memperc% ${membar 4}
${color grey}Swap Usage:$color $swap/$swapmax
            $swapperc% ${swapbar 4}
${color grey}Processes: $color $processes  ${color grey}Running:$color $running_processes
$hr
${color grey}File systems:
${color grey} /      $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${color grey} /home  $color${fs_used /home}/${fs_size /home} ${fs_bar 6 /home}
${color grey}DiskIO: 
 Read:$color ${diskio_read} ${color grey} - Write:$color ${diskio_write}
$hr
${color grey}Networking:
 Up:$color ${upspeed wlp4s0} ${color grey}  - Down:$color ${downspeed wlp4s0}
$hr
${color white}${execi 1000 lspci -d $(grep PCI_ID /sys/class/drm/card1/device/uevent | cut -d= -f2) | rev | cut -d: -f1 | rev | sed 's/]/]\n /g' | sed 's/^ //'}
${color red}Voltage: $color${exec cat /sys/class/drm/card1/device/hwmon/hwmon*/in0_input}mV  ${color red}Edge: $color${exec echo "scale=1; $(cat /sys/class/drm/card1/device/hwmon/hwmon*/temp1_input) / 1000" | bc -l}C  ${color red}Junction: $color${exec echo "scale=1; $(cat /sys/class/drm/card1/device/hwmon/hwmon*/temp2_input) / 1000" | bc -l}C  ${color red}Mem: $color${exec echo "scale=1; $(cat /sys/class/drm/card1/device/hwmon/hwmon*/temp3_input) / 1000" | bc -l}C
${color red}GPU Usage: $color${exec cat /sys/class/drm/card1/device/gpu_busy_percent}% ${execbar cat /sys/class/drm/card1/device/gpu_busy_percent}
${color red}GPU Power: $color${exec echo "scale=2; $(cat /sys/class/drm/card1/device/hwmon/hwmon*/power1_average) / 1000000" | bc -l }W / ${exec echo "scale=2; $(cat /sys/class/drm/card1/device/hwmon/hwmon*/power1_cap) / 1000000" | bc -l }W
${color red}GPU Frequencies: $color  ${color red}Core: $color${exec echo "scale=0; $(cat /sys/class/drm/card1/device/hwmon/hwmon*/freq1_input) / 1000000" | bc -l }MHz  ${color red}Memory: $color${exec echo "scale=0; $(cat /sys/class/drm/card1/device/hwmon/*/freq2_input) / 1000000" | bc -l }MHz
${color red}GPU Fan: $color${cat /sys/class/drm/card1/device/hwmon/hwmon*/fan1_input}RPM
$hr
${color white}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq | cut -d\@ -f1}
${color grey}CPU Temp: $color${hwmon k10temp temp 1}C ${color grey}
${color grey}CPU Usage: $color$cpu% ${cpubar 4}
${color grey}CPU Frequencies: $color
  ${freq_g 1}GHz ${freq_g 9}GHz  ${freq_g 2}GHz ${freq_g 10}GHz
  ${freq_g 3}GHz ${freq_g 11}GHz  ${freq_g 4}GHz ${freq_g 12}GHz
  ${freq_g 5}GHz ${freq_g 13}GHz  ${freq_g 6}GHz ${freq_g 14}GHz
  ${freq_g 7}GHz ${freq_g 15}GHz  ${freq_g 8}GHz ${freq_g 16}GHz
${color grey}CPU Fan: $color${hwmon nct6792 fan 2}RPM
$hr
${color grey}Name                  PID   CPU%   MEM%
${color lightgrey} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${color lightgrey} ${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}
${color lightgrey} ${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}
${color lightgrey} ${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}
${color lightgrey} ${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}
${color lightgrey} ${top name 8} ${top pid 8} ${top cpu 8} ${top mem 8}
]]

Stack trace

No response

Relevant log output

No response

@yesrod yesrod added bug Bug report or bug fix PR triage Issue that hasn't been verified labels Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug report or bug fix PR triage Issue that hasn't been verified
Projects
None yet
Development

No branches or pull requests

1 participant