[Bugs] #4978 Sugar on a Stick (SoaS) UNSP: Can't invoke a screenshot from the keyboard.
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon May 1 22:18:53 EDT 2017
#4978: Can't invoke a screenshot from the keyboard.
----------------------------------------+-------------------------------
Reporter: FGrose | Owner:
Type: defect | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified
Component: Sugar on a Stick (SoaS) | Version: Unspecified
Severity: Unspecified | Resolution:
Keywords: | Distribution/OS: Fedora
Bug Status: Unconfirmed |
----------------------------------------+-------------------------------
Comment (by quozl):
Thanks for the logs; but they have nothing indicative.
Fedora 26 is using Sugar 0.110 as released with one patch from master.
There are 30 other patches in master not included, but none of them are in
the screenshot or global hotkey features.
I can't afford a download of those ISOs at this time, but as you've got
them already please do some more tests;
* try the frame activation of screenshot, see test case 2 below; this
should narrow the problem to either global hotkey response ''or'' journal
datastore writing,
* try the `Alt` key in the home view activity ring; it should cause
activities with journal entries to lose colour; this proves whether Sugar
is properly receiving the key event,
* in {{{/usr/share/sugar/extensions/globalkey/screenshot.py}}} in the
{{{handle_key_press}}} function, change
{{{
def handle_key_press(key):
take_screenshot()
}}}
to
{{{
import sys
def handle_key_press(key):
print >>sys.stderr, repr(take_screenshot())
}}}
and then restart Sugar without rebooting, try taking a screenshot using
`Alt+1`, and look at `shell.log` for the response; this should prove the
hotkey is responded to.
----
Test case 1; press `F5` to display Journal, then `Alt+1` and a 'Screenshot
of "Journal"' entry with image viewer icon should be shown.
Test case 2; press `F5` to display Journal, then `F6` to display frame,
then right-click on the display icon, and select "Take a screenshot", and
a 'Screenshot of ' entry should be shown.
--
Ticket URL: <https://bugs.sugarlabs.org/ticket/4978#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list