Discussion:
[Spectacle] [Bug 390335] New: Meta+Shift+Print does not trigger rectangular region screenshot
Simone Gaiarin
2018-02-12 18:18:54 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

Bug ID: 390335
Summary: Meta+Shift+Print does not trigger rectangular region
screenshot
Product: Spectacle
Version: 17.12.1
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: General
Assignee: ***@BaloneyGeek.com
Reporter: ***@gmail.com
Target Milestone: ---

I discovered just today the spectacle shortcuts, but unfortunately the one I
would use the most for taking rectangular regions screenshots is not working.

Shift+PrntScrn and Meta+PrntScrn are working correctly.
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-02-12 22:08:41 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

Nate Graham <***@zoho.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@zoho.com
--
You are receiving this mail because:
You are watching all bug changes.
Henrik Fehlauer
2018-02-13 22:21:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

Henrik Fehlauer <***@lab12.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@lab12.net

--- Comment #1 from Henrik Fehlauer <***@lab12.net> ---
Hmh, works fine for me. Ideas:

- Check "kcmshell keys" → KDE Daemon → "Screenshot" (we should improve the
dialog, BTW…).
- Make sure not to run into Bug 389694, i.e. "killall spectacle".
- Is taking a region screenshot working from the main dialog?
--
You are receiving this mail because:
You are watching all bug changes.
Henrik Fehlauer
2018-02-13 22:46:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #2 from Henrik Fehlauer <***@lab12.net> ---
Also, check your KF5 version (see Bug 385073).
--
You are receiving this mail because:
You are watching all bug changes.
Simone Gaiarin
2018-02-14 06:46:28 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #3 from Simone Gaiarin <***@gmail.com> ---
My kglobalaccel package version is 5.42, quite recent, and
Meta+Shift+[key] works for other things, like moving KWin windows around.

Tried to kill spectacle, nothing changed.

My shortcuts were configured like this:
PrintScreen: None
Start Screenshot Tool: Print
Take Active Window Screenshot: Meta+Print
Take Full Screen Screenshot: Shift+Print

I don't see an entry for Rectangular region.

I now set PrintScreen:Print, and this seems to do nothing. (There is not
picture copied in the clipboard) and spectacle is not triggered.


On a side note: It's very not intuitive to find these shortcuts in the category
"KDE Daemon". I agree that we should improve the dialog, and think of a better
name for that category. I guess that a basic user is not familiar with a
concept of daemon, same for ksmserver.
--
You are receiving this mail because:
You are watching all bug changes.
Henrik Fehlauer
2018-02-14 16:54:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335
Post by Simone Gaiarin
PrintScreen: None
That's odd, I don't have that. Instead it shows "Take Rectangular Region
Screenshot: Meta+Shift+Print" for me.

Also, I discovered a second place you can configure it: "kcmshell khotkeys" –
Maybe something gone wrong there (e.g. deleted by mistake), or a
distro-specific problem? It works for me on Tumbleweed and Neon. Try with a new
user account?
Post by Simone Gaiarin
I agree that we should improve the dialog
From Spectacle's point of view, there are these bugs:

Bug 362061
Bug 388592
Bug 389778

For "kcmshell keys", I could imagine transforming it to look like the
application-specific "configure shortcuts" dialog, i.e. a combined tree view
allowing to search in every component at once, instead of two separate lists.
Wanna work on it ;) ?
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-02-14 16:56:20 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #5 from Nate Graham <***@zoho.com> ---
And don't forget Bug 388592!
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-02-14 16:56:42 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #6 from Nate Graham <***@zoho.com> ---
Oops, ignore that comment, sorry.
--
You are receiving this mail because:
You are watching all bug changes.
Simone Gaiarin
2018-02-14 18:08:10 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #7 from Simone Gaiarin <***@gmail.com> ---
With a new user the entry "Rectangular region" is present in the shortcuts and
it works.

I have reinstalled kglobalaccel

I have removed .config/kglobalshortcutsrc, logout, login to let KDE recreate
it.

Meta+Shift+Key is assigned to PrintScreen (as "Custom")

Tried to copy the entry from .config/kglobalshortcutsrc of the new user to
mine, but apparently is recreated at login (?) .config/kglobalshortcutsrc

Do you know where is the file containing the default shortcuts if any?

Can the fault instead be of an old config file of spectacle?
--
You are receiving this mail because:
You are watching all bug changes.
Henrik Fehlauer
2018-02-14 18:20:05 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

Henrik Fehlauer <***@lab12.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED

--- Comment #8 from Henrik Fehlauer <***@lab12.net> ---
Sorry, I'm just as clueless. What I would try in those cases is to play around
in the config dialogs and look at what files were changed (e.g. "find" all
files changed in the last minute). Or perhaps do a directory/file diff with
KDiff3 between user accounts. For the global config files my trick is to use
"rpm -qf file" to know where it is coming from. Often they have the same name
as in ~/.

Your best bet might be asking an expert on IRC.

Another idea: Press the "Defaults" button everywhere (but it might be broken
there…).

Anyway, we can continue debugging here, but I'll change the status as it is
somehow resolved. Perhaps open new bugs regarding concrete improvements.
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-02-14 18:33:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #9 from Nate Graham <***@zoho.com> ---
This works for me too, FWIW.
--
You are receiving this mail because:
You are watching all bug changes.
Simone Gaiarin
2018-02-15 09:54:13 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=390335

--- Comment #10 from Simone Gaiarin <***@gmail.com> ---
For reference.

I've deleted
~/.config/kglobalshortcutsrc
~/.config/khotkeysrc

and in KCM Global shortcuts set everything to default.

And this somehow solved the problem.

Careful that all the custom shortcuts are gone with this method.
--
You are receiving this mail because:
You are watching all bug changes.
Loading...