Opened 7 years ago

Last modified 7 years ago

#4978 new defect

Can't invoke a screenshot in Journal when icon popup menu is active — at Version 3

Reported by: FGrose Owned by:
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords:
Cc: Distribution/OS: Fedora
Bug Status: New

Description (last modified by FGrose)

Observed on Fedora-SoaS-Live-x86_64-26-20170423.n.0.iso and Fedora-SoaS-Live-x86_64-26-20170429.n.0.iso

Alt 1 and PrtScn fail to invoke the request when an item popup menu/panel is active. Alt 1 and the Frame screenshot tool work otherwise.

Change History (4)

Changed 7 years ago by FGrose

Log capture

comment:1 Changed 7 years ago by FGrose

  • Summary changed from Can't invoke a screeshot from the keyboard. to Can't invoke a screenshot from the keyboard.

comment:2 Changed 7 years ago 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.

comment:3 Changed 7 years ago by FGrose

  • Bug Status changed from Unconfirmed to New
  • Component changed from Sugar on a Stick (SoaS) to Sugar
  • Description modified (diff)
  • Summary changed from Can't invoke a screenshot from the keyboard. to Can't invoke a screenshot in Journal when icon popup menu is active

Thanks for the directed testing suggestions.

See the modified title and description.

Note: See TracTickets for help on using tickets.