KDE Spectable closes HTML select with no way of disabling such behaviour

This might be kind of petty but spectacle is behaving incorrectly when trying to screenshot any page that contains a <select> HTML element.

It doesn’t matter if you configure a delay time, the select element will close as soon as spectacle takes the screenshot. It doesn´t matter if you try to spam it since Spectacle will never take the select element opened.

Is it possible to configure Spectacle so it minds it’s own business and limits itself to taking screenshots only? Is it possible to “deny” such actions over Xorg or at least limit such behaviours from programs?

Can you share an url that shows this behavior?

1 Like

I tried this using a Development project with plain HTML + JS. I was able to reproduce this using the OpenSUSE site at the footer there is a <select> for languages.

Works here…

1 Like

Just for the sake of curiosity. Is that browser chromium based? I haven’t tested if this behaviour appears in Firefox. I did a small html template to test this inside Ungoogled Chromium:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>openSUSE Options</title>
</head>
<body>
    <h1>Select an openSUSE Version</h1>
    <form>
        <label for="versions">openSUSE Versions:</label>
        <select id="versions" name="versions">
            <option value="tumbleweed">openSUSE Tumbleweed</option>
            <option value="leap">openSUSE Leap</option>
            <option value="factory">openSUSE Factory</option>
            <option value="microos">openSUSE MicroOS</option>
        </select>
        <button type="submit">Submit</button>
    </form>
</body>
</html>

imagen

I tried the language menu of www.opensuse.org using ungoogled chromium and no problem, I can make a screenshot like that of @hui above.

1 Like

I could reproduce with the HTML example. I however, found that OpenSUSE lets me uninstall spectacle and replace it with flameshot without ruining system deps.

Flameshot doesn’t close such dialogs, but you’ll need to call the application dialog to set a 1-2s delay.

Thanks a lot for your responses though!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.