LightZone icon indicating copy to clipboard operation
LightZone copied to clipboard

Missing options for Crop

Open howardlshippin opened this issue 1 year ago • 10 comments

Describe the bug The ratio control and lock function seems to be greyed out

To Reproduce Steps to reproduce the behavior:

  1. Go to edit screen
  2. Click on "crop" button
  3. Try to change ratio, etc.

Expected behavior The controls would be present, and dimension ratio could be locked/unlocked Screenshot_20230925_172955

Desktop (please complete the following information):

  • Version 5.0 beta 1
  • MX Linux (Debian 11)

howardlshippin avatar Sep 25 '23 14:09 howardlshippin

You have to click the unlock button (not visible in your screen-print). After that you can change the ratio.

sfink16 avatar Sep 25 '23 18:09 sfink16

Thanks, but the unlock button simply isn't there, to the right of those ratio boxes. It was there in the previous version. I have also tried clicking to the right of those boxes, just in case the button isn't visible. And I have tried resetting the program to its factory settings.

howardlshippin avatar Sep 25 '23 18:09 howardlshippin

Is the rest of the crop mode working (rotate, shrink, expand, etc.) as expected? How about the Region Mode button? Clicking on that, does it bring up the 3 region choices? How about the rest of the modes such as Rotate mode or standard mode? Can you bring up images that have been cropped in previous versions of LZ that have been cropped to your preferred dimensions? How do those images look in this beta version? Do you lose your preferred cropping dimensions?

sfink16 avatar Sep 25 '23 19:09 sfink16

Thanks for your quick response. Those other buttons there all work fine and I can still see the results of previous crops on images. Also, I can still crop now; just not according to a specific aspect ratio.

I do not have long experience with the program, but remember this was working all right before..

howardlshippin avatar Sep 25 '23 19:09 howardlshippin

Not really sure, but it could be one of a couple of things. Perhaps a Java version that you are using. Do you know which Java version you are using. You can start Lightzone from a terminal to find out if you don't know. Another potential is the new ISSUE 273 that was added to change the look of LZ. Other than that, I defer to the developer @ktgw0316 .

sfink16 avatar Sep 26 '23 00:09 sfink16

OK, I'll take a look.

ktgw0316 avatar Sep 26 '23 00:09 ktgw0316

Java version (from java -version in the console): openjdk version "11.0.20" 2023-07-18 OpenJDK Runtime Environment (build 11.0.20+8-post-Debian-1deb11u1) OpenJDK 64-Bit Server VM (build 11.0.20+8-post-Debian-1deb11u1, mixed mode, sharing)

I still have lightzone 4.2.5 available, where it is working, but since it's a flatpak, maybe that includes its own JDK ?

howardlshippin avatar Sep 26 '23 00:09 howardlshippin

@howardlshippin Tested on MX 21 in virtualbox, but the unlock button is there as usual. VirtualBox_MX Linux 21_15_10_2023_12_41_13-crop

Of course, the button is not accessible if window size is not large enough. (This might be a problem on a small screen.) VirtualBox_MX Linux 21_15_10_2023_12_42_16-crop

ktgw0316 avatar Oct 15 '23 04:10 ktgw0316

Thank you for your efforts. The problem remains; I have no explanation why it is happening. It is not something that would stop me using Lightzone, and the latest version works better for me than the earlier version as it seems easier to navigate files on external drives.

Attached are screenshots of the flatpak version and the Debian version. It's a full sized screen, 1920 pixel width. The system used is MX-21.3, running on KDE Plasma 5.20.5, The machine is a Thinkpad T470p, Intel Core i7

All the best,

-- Howard Shippin

howardlshippin avatar Oct 15 '23 09:10 howardlshippin

This seems to be a problem specific to KDE Plasma; perhaps a specific KDE Plasma "style". After changing MX Linux's desktop environment to XFCE, the crop tool bar options show. I cannot say more about whether it's a KDE Plasma problem in general, or only that of a specific Plasma style, because now, after going back into the KDE Plasma desktop environment and changing the theme, LightZone will not open at all (still working fine under XFCE).

howardlshippin avatar Nov 03 '23 02:11 howardlshippin