I’m confused then. Normal dependencies are not explicitly installed, they’re “Installed as a dependency for another package.” They will be orphans when said package is removed if not needed by anything else. If one installs optional dependencies explicitly, they will not appear as orphans.
One of us is, it might be me though.
I thought that when
pamac removed orphans it would consider packages that were optional dependencies as orphans. However, when I tried to test that just now, it didn’t work that way.
Actually, look at post #5, it is removing
qt5-declarative even though it is an optional dependency of
python-pyqt5. I am not sure why optional dependencies are sometimes considered orphans but not others. Hmm…