Project

General

Profile

Bug #10305

Images displayed in cropped window after upgrade (1.4.2 - 1.6)

Added by Walter de la Internet about 5 years ago. Updated over 4 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
Darkroom
Target version:
-
Start date:
02/01/2015
Due date:
% Done:

100%

Estimated time:
Affected Version:
1.6.0
System:
Mac OS X
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hi all. Just upgraded 1.4.2 to 1.6 and was surprised to see all of my images cropped in to a smaller window at the center of the screen.

Note that, while zooming in or out, the full and expected size of the window temporarily returns, though when the zoom process finishes, the tiny central window re-appeats.

I suspect this may be something to do with your apparently new high resolution support and/or residual settings from the previous version 1.4.2.

I am on OSX 10.9.5 and upgraded by overwriting the application after dragging the newer one to the Applications folder.

I have attached an example screenshot.

If I run '/Applications/darktable.app/Contents/MacOS/darktable -d control' I get the following potentially relevant lines...

[HiDPI] setting ppd to 2.000000
[screen resolution] setting the screen resolution to 110.500002 dpi
[color profile] we got a new screen profile `Display' from the osx color profile api (size: 3880)

darktable-1.6-bug-osx.jpg (630 KB) darktable-1.6-bug-osx.jpg Walter de la Internet, 02/01/2015 05:46 PM
grab.tiff (703 KB) grab.tiff Giancarlo Rosso, 04/25/2015 08:06 AM

Related issues

Has duplicate darktable - Bug #10452: Gray frame around the picture.Duplicate05/10/2015

History

#1 Updated by Walter de la Internet about 5 years ago

I believe this is the same issue reported by 'Jilles van Gurp' on 2014-12-31 at http://www.darktable.org/2014/12/released-darktable-1-6/ .. however it is still present in the .dmg download as of today (2015-02-02).

#2 Updated by Pascal de Bruijn about 5 years ago

That's probably HiDPI related and it was probably fixed in 1.6.1 (released just before christmas).

We'll have 1.6.2 out soon, I'd suggest to wait a day or so (for the new release), and upgrade to 1.6.2 and recheck.

#3 Updated by Walter de la Internet about 5 years ago

I tried the 'screen_ppd_overwrite=1.0' fix suggested by parafin in that thread on January 13.

Result was: yes, it fixed the problem. However, it also caused corruption of certain (but not all) thumbnails that had previously had edits associated with them. Unfortunately I didn't get a screenshot.

I am now going to try removing the setting, validating the problem returns, then installing https://github.com/darktable-org/darktable/releases/download/release-1.6.1/darktable-1.6.1.dmg as recommended in that thread. If that fixes the issue, I will open a new bug to suggest upgrading the dmg download location to the newer version.

#4 Updated by Walter de la Internet about 5 years ago

Yes, removing the setting reliably makes the problem return. Now trying 1.6.1...

#5 Updated by Pascal de Bruijn about 5 years ago

We'll have 1.6.2 out soon enough, we'll adjust the link then, no need to open a separate issue for that.

#6 Updated by Walter de la Internet about 5 years ago

1.6.1 is still affected.

Looking forward to 1.6.2!

#7 Updated by Pascal de Bruijn about 5 years ago

I'm not very well clued into OSX particulars, but... Presumably you do have "maximum width/height of image drawing area" set to reasonable values for your particular display?

#8 Updated by Jesko N about 5 years ago

I can confirm this bug. Unfortunately it still exists with 1.6.2 which I installed some moments ago.
The 'screen_ppd_overwrite' workaround mentioned in http://www.darktable.org/2014/12/released-darktable-1-6/comment-page-2/#comment-41760 seems to help for now (even though I didn't test yet whether there are any sideeffects).

My relevant output of

darktable -d control
if it helps:
[HiDPI] setting ppd to 2.000000
[screen resolution] setting the screen resolution to 110.500002 dpi
[color profile] we got a new screen profile `Display' from the osx color profile api (size: 3892)

If you need more info just leave a message.

#9 Updated by Giancarlo Rosso almost 5 years ago

Hi all, iMac early 2009 here, problem still present. I tried changing settings (screen_ppd_overwrite=1.0) but nothing happened.
Here's what I get on startup:

[HiDPI] setting ppd to 1.000000
[screen resolution] setting the screen resolution to 99.000001 dpi
[color profile] we got a new screen profile `Display' from the osx color profile api (size: 6304)

I attached a screenshot, should be full screen.
Regards.

#10 Updated by Roman Lebedev almost 5 years ago

Most likely, you can fix it by increasing "maximum width of image drawing area"/"maximum height of image drawing area" values in settings.

#11 Updated by Giancarlo Rosso almost 5 years ago

Roman Lebedev wrote:

Most likely, you can fix it by increasing "maximum width of image drawing area"/"maximum height of image drawing area" values in settings.

I read the note above, but my configuration doesn't have those properties. How can I set them? Are those property belonging to general UI or for lighttable/darkroomm and so on.
Regards.

#12 Updated by Giancarlo Rosso almost 5 years ago

Edit: found, it was in preferences. Thanks.

#13 Updated by Roman Lebedev almost 5 years ago

  • Has duplicate Bug #10452: Gray frame around the picture. added

#14 Updated by Jilles van Gurp almost 5 years ago

I reported this issue originally on the release notes forum. The issue still exists on 1.6.6. Roman Lebedev's suggestion above is incorrect. As a user named parafin replied on the forum, there appears to be a hard limit for these settings. He mentions 3000x3000 but it looks more like 2000x2000 to me. This is not enough on a imac 5K screen. With even higher resolution screens coming to market, this problem is likely to start impacting more people. Unlike what he suggests, this limit appears to not have been removed so far.

I've currently set it to 8000x8000. However, when I scale my window the problem occurs as soon as I scale the window beyond about 2000x2000 and disappears if I scale it back. The native resolution is 5120x2880 but when OSX runs in retina mode and you get 2550x1440 effectively by default). I assume the issue is related to Darktable attempting to display the photo at the native resolution which would explain why the problem kicks in as soon as you scale the beyond the limit. The problem did not exist before 1.6.

Another user suggested putting screen_ppd_overwrite=1.0 in ~/.config/darktable/darktablerc. This did not do anything useful for me.

I realize not many of you have access to screens with this resolution, and I'd be more than happy to help in any way I can to resolve this issue. I've tried attaching screenshots but that doesn't seem to be working.

#15 Updated by Rafał Próchniak over 4 years ago

Setting screen_ppd_overwrite=1.0 in ~/.config/darktable/darktablerc works for me on 1.6.7. Find the screen_ppd_overwrite option in the darktablerc file and change from -1.0 to 1.0.

#16 Updated by Jilles van Gurp over 4 years ago

As of 1.6.7 it indeed works with the screen_ppd_overwrite=1.0. Thanks. To get it working, I deleted the darktable config dir, ~/.config/darktable, installed darktable 1.6.7, started it once, shut it down, modified the config file to add screen_ppd_overwrite=1.0 at the end, started darktable, changed the view area to 5000x5000 in the settings. Works beautifully now on my imac 5K.

#17 Updated by Pedro Côrte-Real over 4 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Fixed

Also available in: Atom PDF

Go to top