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 788892 - Opening an image does not center it on the canvas
Opening an image does not center it on the canvas
Status: RESOLVED DUPLICATE of bug 701685
Product: GIMP
Classification: Other
Component: User Interface
2.8.22
Other Mac OS
: Normal normal
: ---
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2017-10-12 16:50 UTC by Scott
Modified: 2017-10-30 18:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot of the problem (128.31 KB, image/jpeg)
2017-10-12 16:50 UTC, Scott
Details

Description Scott 2017-10-12 16:50:35 UTC
Created attachment 361442 [details]
screenshot of the problem

I can't find a way to reproduce this perfectly every time but it happens a lot.

1. Open multiple images (seems to work best with 4). They should be reasonably large, but small enough so that they fit central in the window.
2. Go back to the first tab (i.e. the image that was opened first).

It should be centered on the convas like all the others, but it's off to the top left. See attached screenshot.
Comment 1 Jehan 2017-10-12 17:17:54 UTC
Yeah there are a bunch of issues with image centering.
I couldn't reproduce yours though. I tried to open 4 images using File>Open (ctrl-o) and with drag-n-drop. It worked ok in both cases. How do you open the 4 images?
Comment 2 Michael Schumacher 2017-10-13 08:04:19 UTC
This could be similar to bug 786536. But I also recall a bug report specifically about one of multiple images being off-center...
Comment 3 Scott 2017-10-13 12:35:06 UTC
@Jehan yeah I'm just opening with Ctrl+O, selecting multiple images and either clicking Open or pressing the Enter key.

I'm not sure if 4 images is the key here as it just happened with 2 images, and didn't happen with 4 different images. Maybe it's specific images?

The ones I was using were 1920x1276 and were around 2.7MB. It may be something to do with once the second image starts opening, the first one doesn't get moved to the center. But why are they loading off-center in the first place? Seems to happen with all images regardless of size - they load off to the top left and then move into the center.
Comment 4 Michael Schumacher 2017-10-17 19:58:17 UTC
Is this the same as bug 701685?
Comment 5 Michael Natterer 2017-10-17 23:17:54 UTC
It most likely is.

*** This bug has been marked as a duplicate of bug 701685 ***
Comment 6 Scott 2017-10-30 14:59:02 UTC
Yes I guess it's the same as that one. Has it been fixed? What version will the fix be in?
Comment 7 Jehan 2017-10-30 18:12:08 UTC
Yes it has been fixed in master (i.e. development branch). As mitch said (bug 701685 comment 13), this won't be fixed in GIMP 2.8.x, therefore only in the next major (2.10). Sorry.

As usual, the reason is mostly priorities and lack of time and developers. We are not against anyone backporting this fix to 2.8 if one wishes and can make the time for it. :-)