Skip to content

[Bug] Polybar ignores inheritance lists / multiple inheritance #2269

@0xAdk

Description

@0xAdk

Checklist

  • I have read the appropriate section in the contributing
    guidelines
  • I believe this issue is a problem with polybar itself and not a misconfiguration on my part.
  • I have searched for other open and closed issues that
    may have already reported this problem.
  • I have checked the known issues page for this problem.

Describe the bug

polybar ignores inheritance lists / multiple inheritance
after updating polybar from 3.4.3 to 3.5.0

Expected behavior:

polybar inherits from each section in the list

Actual behavior:

polybar ignores list as if it doesn't exist

Was it working before?
yes

  • Did you also experience this bug in an earlier version of polybar (yes/no/don't know)?
    nope
  • If no, what was the last version where this worked correctly?
    for me, 3.4.3

To Reproduce

[inherit_me]
	modules-left   = i3

[bar/main]
	; works
	; inherit = inherit_me 

	; doesn't
	inherit-0 = inherit_me

[module/i3]
	type = internal/i3

Polybar Log

notice: Parsing config file: mvp.ini
error: No modules created

Environment:

  • WM: i3
  • Distro: Archlinux
  • Output of polybar -vvv:
polybar 3.5.0

Features: +alsa +curl +i3 +mpd +network(libnl) +pulseaudio +xkeyboard

X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor

Build type: Release
Compiler: /usr/sbin/c++
Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG
Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions