After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 747201 - Crop Ribbon / Control not visible
Crop Ribbon / Control not visible
Status: RESOLVED FIXED
Product: shotwell
Classification: Other
Component: editing
0.22.x
Other Linux
: Normal normal
: ---
Assigned To: Shotwell Maintainers
Shotwell Maintainers
http://forums.linuxmint.com/viewtopic...
: 741582 758885 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-04-01 19:45 UTC by menno
Modified: 2016-11-03 08:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixed hidden crop tool (2.71 KB, patch)
2015-04-03 14:02 UTC, Wolfgang Steitz
accepted-commit_now Details | Review
Shotwell v0.24.0 crop controls placement (386.06 KB, image/png)
2016-11-02 20:07 UTC, Scott Palmer
  Details

Description menno 2015-04-01 19:45:27 UTC
If I hit the Crop button a grey Ribbon appears but the controls are not visible.
I can click the right side of the ribbon. The crop size do appear. But if I choose the manual size I can not fill out the sizes.

If I reset the Crop setting in Terminal

$ gsettings reset-recursively org.yorba.shotwell.crop-settings

I can open shotwell again, use the control once.
But after closing and opening Shotwell again the controls are invisible as before.
Comment 1 Wolfgang Steitz 2015-04-02 06:36:45 UTC
Thanks for reporting the issue. Unfortunately, I cannot reproduce this. Could you tell use what version of shotwell and which linux distribution you are using?
Also the output of
$ gsettings list-recursively org.yorba.shotwell.crop-settings
would be interesting for us. It seems some bogus values are stored there.
Comment 2 menno 2015-04-03 11:37:47 UTC
I am using 0.20.2.
I'm running Mint 17.1 Rebecca
Kernel Linux 3.13..0-37 Generic
Mate 1.8.1

I found several posts in Forums about this issue. Just no solution
So I had the impression I am not the only one ;-)

$ gsettings list-recursively org.yorba.shotwell.crop-settings
org.yorba.shotwell.crop-settings last-crop-height 350
org.yorba.shotwell.crop-settings last-crop-width 990
org.yorba.shotwell.crop-settings last-crop-menu-choice 28

I can enter this value once.
After closing Shotwell the entry’s are no longer accessible in the interface
Comment 3 Wolfgang Steitz 2015-04-03 14:02:59 UTC
Created attachment 300884 [details] [review]
fixed hidden crop tool

Thanks, that helped to reproduce the issue. Menu-choice 28 is custom mode constraint mode. When switching the mode, shotwell hides the crop tool, saves the tool's position, adds some widgets, show the tool again and moves it to the old position. The problem seems to be: when accessing the position of the hidden widget, GTK returns (0,0), not the position of the tool when it was visible. Maybe that behaviour was changed in GTK at some point.

The attached patch fixes the issue, by removing all the showing / hiding that was going on. At least on my machine, that fixes the issue. I also removed all the position saving and repositioning. The crop tool still resizes just fine and does not "jump around".
Comment 4 menno 2015-04-03 14:14:52 UTC
Ok,

Great I could help.
But..Since I am just a simple user ;-)
What can I do with the patch. 
Is it something I can install? And if? Then How?

Kind regards
Comment 5 Wolfgang Steitz 2015-04-03 14:21:26 UTC
Normally, once the patch is reviewed, the code will be committed to shotwell's main repository. And then, with the next release of shotwell, this issue is hopefully fixed.

If you feel adventurous or can't wait, you can of course compile shotwell's source code yourself. The whole procedure is explained here: https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling.
Comment 6 Jim Nelson 2015-04-03 19:42:30 UTC
Review of attachment 300884 [details] [review]:

Please test this out to make sure it's not introducing other bugs (for example, move the main window around, move the crop tool around, etc.)  If it looks good, commit!
Comment 7 Wolfgang Steitz 2015-04-04 08:27:01 UTC
I played around for a while, they only thing I noticed: The tool flickers when the shotwell window is moved with an active crop. But that's the same for all editing tools and it was like that before fixing this bug.

Pushed to master, commit 0c97e78.
Comment 8 menno 2015-04-04 14:09:16 UTC
Hi There,

As I wrote before,

I'm just a simple user ;-)
Is there something I can install? If so....how?

This is how I installed the current version. 0.20.2

sudo add-apt-repository ppa:yorba/ppa
sudo apt-get update
sudo apt-get install shotwell


Kind regards
Comment 9 Wolfgang Steitz 2015-04-06 10:57:46 UTC
*** Bug 741582 has been marked as a duplicate of this bug. ***
Comment 10 menno 2015-05-05 10:03:13 UTC
(In reply to Wolfgang Steitz from comment #7)
> I played around for a while, they only thing I noticed: The tool flickers
> when the shotwell window is moved with an active crop. But that's the same
> for all editing tools and it was like that before fixing this bug.
> 
> Pushed to master, commit 0c97e78.

Hi There,

Is there a newer version that has the fix in it?
How can I obtain it?

kind regards
Menno
Comment 11 Jens Georg 2016-07-23 08:19:55 UTC
*** Bug 758885 has been marked as a duplicate of this bug. ***
Comment 12 Scott Palmer 2016-09-27 15:26:28 UTC
I just tried cropping a photo in Gnome 3.20 (w/ mutter) using Shotwell 0.22.0 and the crop controls didn't show up in the right place.  Crop controls still seems to be an issue.
Comment 13 Jens Georg 2016-09-27 17:07:07 UTC
What's "not in the right place"? Can you provide a screenshot and try again with the latest version?
Comment 14 Scott Palmer 2016-11-02 20:07:14 UTC
Created attachment 338992 [details]
Shotwell v0.24.0 crop controls placement
Comment 15 Scott Palmer 2016-11-02 20:09:19 UTC
attachment 338992 [details] was taken in Fedora 25 with mutter session.

This bug is marked as RESOLVED FIXED.  In what version?
Comment 16 Jens Georg 2016-11-03 08:01:33 UTC
The original ticket (controls only showing once) was fixed in 0.23. Are you on a wayland session or X11?