For some reason, initializing _comboboxoptions with braces led to a compilation error on Arch-based distributions. I think this might have something to do with the version of clang Arch uses, but I am not sure. Regardless, using parenthesis to construct the field fixed the issue.
I also found and fixed another Arch specific error when testing. It seems ps can sometimes return an underscore for "context" when a process is unconfined. This was leading to an issue when using regular exceptions to parse its output. I fixed the issue and made the regex parsing more resilient to exceptions.
Well, the code auto-formatter made a bunch of changes that are not related to this PR too. That's what I get for pushing changes directly to main earlier.
This fixes issue #53.
For some reason, initializing _comboboxoptions with braces led to a compilation error on Arch-based distributions. I think this might have something to do with the version of clang Arch uses, but I am not sure. Regardless, using parenthesis to construct the field fixed the issue.
I also found and fixed another Arch specific error when testing. It seems
ps
can sometimes return an underscore for "context" when a process is unconfined. This was leading to an issue when using regular exceptions to parse its output. I fixed the issue and made the regex parsing more resilient to exceptions.