Issue Summary
JPEG Multiple Compression tool entry has no corresponding widget in open_tool
Description
The JPEG group ([6] [JPEG]) contains four tools: Quality Estimation, Error Level Analysis, Multiple Compression, JPEG Ghost Maps.
In MainWindow.open_tool, the JPEG group only handles tool == 0 (QualityWidget), tool == 1 (ElaWidget), and tool == 3 (GhostmapWidget); there is no case for tool == 2 (Multiple Compression).
Users selecting "Multiple Compression" see no effect because tool_widget stays None and the function returns.
Steps to Reproduce
- Launch LOOK-DGC, load an image.
- Double-click
[JPEG] → Multiple Compression in the tool tree.
- Observe that no subwindow is created, unlike other JPEG tools.
Expected Result
Selecting "Multiple Compression" should open the corresponding analysis tool for detecting multiple JPEG compressions, as described in the README features.
Actual Result
No window or error is shown; the tool is effectively non-functional due to missing branch in open_tool.
Affected Files
gui/tools.py
gui/look-dgc.py
Suggested Fix
Implement a MultipleCompressionWidget (or similar) and add a elif tool == 2: branch under group == 6 in open_tool, or temporarily hide/disable the tool in ToolTree until implementation is ready.
Issue Summary
JPEG Multiple Compression tool entry has no corresponding widget in
open_toolDescription
The JPEG group (
[6] [JPEG]) contains four tools: Quality Estimation, Error Level Analysis, Multiple Compression, JPEG Ghost Maps.In
MainWindow.open_tool, the JPEG group only handlestool == 0(QualityWidget),tool == 1(ElaWidget), andtool == 3(GhostmapWidget); there is no case fortool == 2(Multiple Compression).Users selecting "Multiple Compression" see no effect because
tool_widgetstaysNoneand the function returns.Steps to Reproduce
[JPEG] → Multiple Compressionin the tool tree.Expected Result
Selecting "Multiple Compression" should open the corresponding analysis tool for detecting multiple JPEG compressions, as described in the README features.
Actual Result
No window or error is shown; the tool is effectively non-functional due to missing branch in
open_tool.Affected Files
gui/tools.pygui/look-dgc.pySuggested Fix
Implement a
MultipleCompressionWidget(or similar) and add aelif tool == 2:branch undergroup == 6inopen_tool, or temporarily hide/disable the tool inToolTreeuntil implementation is ready.