Use portal for screen recording.
Currently, Spectacle doesn't make use of portal when screen recording under Wayland. This presents a few issues. First, Spectacle will not benefit from improvements made to portal's screen sharing logic. One notable example is the recently merged support for regional screencasting, which is set to arrive with Plasma 6. This also includes the active recording indicator in the system tray: As it stands right now, there is no indicator whatsoever that informs the user of an ongoing recording - the app may have crashed in the background and the user would be completely unaware.
Secondly, it creates fragmentation which is unnecessary in my opinion. One of the benefits of Wayland is that certain logic (such as screensharing / screencasting) is unified by being routed through portal. A separate implementation that adds nothing significant of value stands in contrast to that.
Therefore, I propose to make Spectacle always perform screen recordings through portal instead of relying on its own logic for window / region selection and recording.