← Back to team overview

hugin-devs team mailing list archive

[Bug 2012946] Re: Masks-Crop Window Displays Itself Fully In Child Window

 

I committed a further modification. Hopefully it is now fixed.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/2012946

Title:
  Masks-Crop Window Displays Itself Fully In Child Window

Status in Hugin:
  Fix Committed

Bug description:
  In a new session, I import 6 files and click the "Masks" tab and then
  select the first file in my list.  I then select the "Crop" button
  below the file listing and the entire parent window starting with the
  "#|Filename |Number of masks|..." where I am clicking the "Crop"
  button displays in the the pane where the photo with the crop lines
  should show.  This makes it impossible to properly place the crop
  marks.  Notice in the screenshot accompanying this report that the
  child window of the image appears, but with its parent and the crop
  marks are placed over the unwanted parent portion.

  
  This occurs in Gentoo Linux.  Here is my installation information:

  eos /etc/portage/package.use # date; eix -I hugin
  Mon Mar 27 08:05:54 PDT 2023
  [I] media-gfx/hugin
       Available versions:  2022.0.0 **9999*l {debug lapack python raw sift L10N="ca ca-valencia cs da de en-GB es eu fi fr hu it ja nl pl pt-BR ro ru sk sv zh-CN zh-TW" PYTHON_SINGLE_TARGET="python3_9 python3_10 python3_11"}
       Installed versions:  2022.0.0(10:15:02 03/18/23)(raw sift -debug -lapack -python L10N="-ca -ca-valencia -cs -da -de -en-GB -es -eu -fi -fr -hu -it -ja -nl -pl -pt-BR -ro -ru -sk -sv -zh-CN -zh-TW" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11")
       Homepage:            http://hugin.sf.net
       Description:         GUI for the creation & processing of panoramic images

  eos /etc/portage/package.use #

  From the About-System window:

  	Operating System: Linux 5.15.85-gentoo-dist x86_64
  	Architecture: 64 bit
  	Free memory: 8556908 kiB

  	Hugin
  	Version: 2022.0.0.a0962865f932
  	Path to resources: /usr/share/hugin/xrc/
  	Path to data: /usr/share/hugin/data/
  	Hugins camera and lens database: /home/jlpoole/.hugindata/camlens.db
  	Multi-threading using C++11 std::thread and OpenMP

  	Libraries
  	wxWidgets: wxWidgets 3.0.5
  	wxWidgets Library (wxGTK port)
  	Version 3.0.5 (Unicode: wchar_t, debug level: 1),
  	compiled at Mar 16 2023 07:58:05

  	Runtime version of toolkit used is 3.24.
  	Compile-time GTK+ version is 3.24.35.

  	libpano13: 2.9.21 
  	Boost: 1.81.0
  	Exiv2: 0.27.6
  	SQLite3: 3.40.1
  	Vigra: 1.11.1
  	LittleCMS2: 2.14

  What should happen is that the image displays in the child pane and
  the crop outline appears and can be manipulated.

  I have Hugin installed on WIndows 7 and have not experienced this
  problem.  What can I provide or do to give further insight into what
  is happening here. I could rebuild the project with debug flags.  Also
  I noticed this build uses Python 3_10.  The Gentoo ebuild file has the
  following specifications:

  	eos /etc/portage/package.use # date; cat /var/db/repos/gentoo/media-gfx/hugin/hugin-2022.0.0.ebuild 
  	Mon Mar 27 08:17:21 PDT 2023
  	# Copyright 1999-2023 Gentoo Authors
  	# Distributed under the terms of the GNU General Public License v2

          EAPI=7

  	WX_GTK_VER="3.0-gtk3"
  	PYTHON_COMPAT=( python3_{9..11} )

          inherit python-single-r1 wxwidgets cmake xdg

  	DESCRIPTION="GUI for the creation & processing of panoramic images"
  	HOMEPAGE="http://hugin.sf.net";
  	SRC_URI="mirror://sourceforge/${PN}/${P/_/}.tar.bz2"

  	LICENSE="GPL-2+ BSD BSD-2 MIT wxWinLL-3 ZLIB FDL-1.2"
  	SLOT="0"
  	KEYWORDS="amd64 arm64 x86"

  	LANGS=" ca ca-valencia cs da de en-GB es eu fi fr hu it ja nl pl pt-BR ro ru sk sv zh-CN zh-TW"
  	IUSE="debug lapack python raw sift $(echo ${LANGS//\ /\ l10n_})"

  	CDEPEND="
  		dev-db/sqlite:3
  		dev-libs/boost:=
  		dev-libs/zthread
  		>=media-gfx/enblend-4.0
  		media-gfx/exiv2:=
  		media-libs/freeglut
  		media-libs/glew:=
  		media-libs/libjpeg-turbo:=
  		>=media-libs/libpano13-2.9.19_beta1:=
  		media-libs/libpng:=
  		media-libs/openexr:=
  		media-libs/tiff:=
  		>=media-libs/vigra-1.11.1-r5[openexr]
  		sci-libs/fftw:3.0=
  		sci-libs/flann
  		sys-libs/zlib
  		virtual/glu
  		virtual/opengl
  		x11-libs/wxGTK:${WX_GTK_VER}=[X,opengl]
  		lapack? ( virtual/blas virtual/lapack )
  		python? ( ${PYTHON_DEPS} )
  		sift? ( media-gfx/autopano-sift-C )"
  	RDEPEND="${CDEPEND}
  		media-libs/exiftool
  		raw? ( media-gfx/dcraw )"
  	DEPEND="${CDEPEND}
  		dev-cpp/tclap
  		sys-devel/gettext
  		virtual/pkgconfig
  		python? ( >=dev-lang/swig-2.0.4 )"

          REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

          DOCS=( authors.txt README TODO )

          S=${WORKDIR}/${PN}-$(ver_cut 1-2).0

  	pkg_setup() {
  		use python && python-single-r1_pkg_setup
  		setup-wxwidgets
  	}

  	src_prepare() {
  		sed -i \
  			-e "/COMMAND.*GZIP/d" \
  			-e "s/\.gz//g" \
  			"${S}"/doc/CMakeLists.txt || die
  		cmake_src_prepare
  	}

  	src_configure() {
  		local mycmakeargs=(
  			-DBUILD_HSI=$(usex python)
  			-DENABLE_LAPACK=$(usex lapack)
  		)
  		cmake_src_configure
  	}

  	src_install() {
  		cmake_src_install
  		use python && python_optimize

  		local lang
  		for lang in ${LANGS} ; do
  			case ${lang} in
  				ca) dir=ca_ES;;
  				ca-valencia) dir=ca_ES@valencia;;
  				cs) dir=cs_CZ;;
  				*) dir=${lang/-/_};;
  			esac
  			if ! use l10n_${lang} ; then
  				rm -r "${ED}"/usr/share/locale/${dir} || die
  			fi
  		done
  	}
  	eos /etc/portage/package.use # 

  I so have Python 3_11 installed, but the it looks like 3_10 was
  selected for the hugin install.

  	eos /etc/portage/package.use # eix -I dev-lang/python
  	[I] dev-lang/python
  	     Available versions:  
  	     (2.7)  2.7.18_p16-r1^t
  	     (3.8)  3.8.16_p2^t 3.8.16_p3^t
  	     (3.9)  3.9.16_p1^t 3.9.16_p2^t
  	     (3.10) 3.10.9-r1^t ~3.10.10_p1^t 3.10.10_p2^t
  	     (3.11) 3.11.1-r1^t ~3.11.2_p1^t
  	     (3.12) ~3.12.0_alpha4-r1^t ~3.12.0_alpha5^t
  	       {berkdb bluetooth build +ensurepip examples gdbm hardened libedit lto +ncurses pgo +readline +sqlite +ssl test tk valgrind verify-sig wininst +xml}
  	     Installed versions:  3.10.10_p2(3.10)^t(12:06:20 03/02/23)(ensurepip gdbm ncurses readline sqlite ssl xml -bluetooth -build -examples -hardened -libedit -lto -pgo -test -tk -valgrind -verify-sig) 3.11.1-r1(3.11)^t(11:03:41 02/21/23)(ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build -examples -hardened -libedit -lto -pgo -test -tk -valgrind -verify-sig)
  	     Homepage:            https://www.python.org/ https://github.com/python/cpython/
  	     Description:         An interpreted, interactive, object-oriented programming language

  	[I] dev-lang/python-exec
  	     Available versions:  (2) 2.4.10^t
  	       {+native-symlinks test PYTHON_TARGETS="pypy3 python3_9 python3_10 python3_11"}
  	     Installed versions:  2.4.10(2)^t(10:10:05 02/21/23)(native-symlinks -test PYTHON_TARGETS="pypy3 python3_9 python3_10 python3_11")
  	     Homepage:            https://github.com/projg2/python-exec/
  	     Description:         Python script wrapper

  	[I] dev-lang/python-exec-conf
  	     Available versions:  (2) 2.4.6
  	       {PYTHON_TARGETS="pypy3 python3_9 python3_10 python3_11"}
  	     Installed versions:  2.4.6(2)(10:05:15 02/21/23)(PYTHON_TARGETS="python3_10 -pypy3 -python3_9 -python3_11")
  	     Homepage:            https://github.com/mgorny/python-exec/
  	     Description:         Configuration file for dev-lang/python-exec

  	Found 3 matches
  	eos /etc/portage/package.use # 

  
  I mention the python 3_10 vs. 3_11 in case there is anything in Python's windowing code which might be at play here and whether I should try to build this using Python 3_11.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2012946/+subscriptions



References