Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LXQT Monitor Settings: Monitor icons are not resized on resizing dialog #1053

Closed
jonesmz opened this issue Sep 16, 2024 · 9 comments · Fixed by #1054
Closed

LXQT Monitor Settings: Monitor icons are not resized on resizing dialog #1053

jonesmz opened this issue Sep 16, 2024 · 9 comments · Fixed by #1054
Assignees

Comments

@jonesmz
Copy link

jonesmz commented Sep 16, 2024

Expected Behavior

The size of the displayed icons in the "Set Position" workflow should be reasonable based on the DPI of my screens.
I have 1920x1080 screens (not 4k screens), so the displayed icons should show as a reasonable size for my desktop

Current Behavior

This is how it looks, notice that the test is unreadable and the icons are tiny.

image

here's the same full screened on a single monitor

image

System Information

emerge --info lxqt-meta
Portage 3.0.65 (python 3.12.3-final-0, graphical, gcc-13, glibc-2.39-r6, 6.6.38-gentoo x86_64)

                     System Settings

=================================================================
System uname: Linux-6.6.38-gentoo-x86_64-Intel-R-_Xeon-R-CPU_E3-1240_V2@_3.40GHz-with-glibc2.39
KiB Mem: 32838276 total, 24423800 free
KiB Swap: 134217720 total, 134217720 free
Timestamp of repository gentoo: Mon, 16 Sep 2024 18:33:59 +0000
Head commit of repository gentoo: 35c563d355f114004b5fdebe6ab258daa92a51e2

Head commit of repository jonesmz-public-overlay: 150bad580d7ce5994201b2b2fc59d9cd4f65d48d

Head commit of repository lto-overlay: a46a5749ee6e70bcf2317f9d6e24037779b643a8

Head commit of repository mv: bb5bc8fb24039c9f515cee4f21ce3e2a1918441a

Head commit of repository wsdd: 9c546e56ca51a7f6575e04f5fd9a2ca33758f9f4

Head commit of repository steam-overlay: 946538dd37b9283e8cd2c24ab2961c61fecbc2e1

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.10.1 [disabled]
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.71-r7::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.2::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.5.1::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 3.11.9_p2::gentoo, 3.12.3-r1::gentoo
dev-lang/rust: 1.79.0::gentoo
dev-util/ccache: 4.10.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-apps/systemd: 255.7-r1::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 18.1.8::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:

gentoo
location: /var/db/repos/gentoo
sync-type: git
sync-uri: git://anongit.gentoo.org/repo/sync/gentoo.git
priority: -1000
volatile: False

jonesmz-public-overlay
location: /var/db/repos/jonesmz-public-overlay
sync-type: git
sync-uri: [email protected]:jonesmz/gentoo-overlay.git
masters: gentoo
volatile: False

lto-overlay
location: /var/db/repos/lto-overlay
sync-type: git
sync-uri: https://github.com/InBetweenNames/gentooLTO.git
masters: gentoo mv
volatile: False

mv
location: /var/db/repos/mv
sync-type: git
sync-uri: https://anongit.gentoo.org/git/user/mv.git
masters: gentoo
volatile: False

wsdd
location: /var/db/repos/wsdd-gentoo
sync-type: git
sync-uri: https://github.com/christgau/wsdd-gentoo
masters: gentoo
volatile: False

steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay.git
masters: gentoo
priority: 50
volatile: False

Installed sets: @archive, @Desktop-Applications, @lxqt, @pc-base-system, @portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@free"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --jobs --keep-going --newrepo --newuse --changed-use --changed-deps --changed-slot --deep --tree --unordered-display --backtrack=3000 --complete-graph --with-bdeps=y --rebuild-if-new-rev --rebuild-if-new-ver --rebuild-if-unbuilt --rebuilt-binaries --binpkg-respect-use=y --binpkg-changed-deps=y --usepkg=y --buildpkg-exclude='virtual/' --buildpkg-exclude='sys-kernel/' --buildpkg-exclude='/-bin' --buildpkg-exclude='acct-user/' --buildpkg-exclude='acct-group/' --buildpkg-exclude='app-alternatives/' --buildpkg-exclude='dev-perl/' --usepkg-exclude='virtual/' --usepkg-exclude='sys-kernel/' --usepkg-exclude='/-bin' --usepkg-exclude='acct-user/' --usepkg-exclude='acct-group/' --usepkg-exclude='app-alternatives/' --usepkg-exclude='dev-perl/'"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=" /etc/init.d/* /etc/cron./ /etc/runlevels//* /usr/share/doc/*/ /usr/share/applications/htop.desktop /usr/share/applications/xterm.desktop /usr/share/applications/uxterm.desktop /usr/share/applications/elementary_perf.desktop /usr/share/applications/elementary_test.desktop /usr/share/applications/spicy-spice-gtk.desktop /usr/share/applications/linguist6-qttools-6.desktop /usr/share/applications/assistant6-qttools-6.desktop /usr/share/applications/qdbusviewer6-qttools-6.desktop"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_US"
MAKEOPTS="-j10"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="zstd"
PORTAGE_COMPRESS_FLAGS="-15"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 branding bzip2 cairo cdda cdr cet crypt dbus dri dts dvd dvdr encode exif flac gdbm gif gnome-keyring gpm gstreamer gtk gui hardened iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf pic pie png policykit ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell ssl ssp startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xtpax xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 mmxext sse sse3 lm cmov cx8 fpu fxsr mmx syscall sse2 cx16 lahf_lm popcnt ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_TARGETS="AArch64 AMDGPU BPF WebAssembly X86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" QEMU_SOFTMMU_TARGETS="aarch64 x86_64" QEMU_USER_TARGETS="aarch64 x86_64" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="vesa modesetting radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
Package Settings

lxqt-base/lxqt-meta-2.0.0::gentoo was built with the following:
USE="archiver desktop-portal display-manager filemanager lximage policykit screenshot sddm trash window-manager -about -admin -nls -powermanagement -processviewer -ssh-askpass -sudo -terminal" ABI_X86="(64)"
CFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
CXXFLAGS="-O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -flto=auto -fuse-linker-plugin -march=core2 -mtune=generic -mpopcnt -O2 -pipe"

@stefonarch
Copy link
Member

stefonarch commented Sep 17, 2024

Cannot reproduce, I've one 1920x1080 monitor and a smaller one, that's how it looks here:

monitor1
monitor2

But I noticed that the size changes if the window is resized or fullscreen (where the monitor screens are ~1/3 of the screen) and reopened. Remembering size was introduced only some days ago though. It looks like it takes in count a real small size at yours at startup.

Which window manager are you using?

@tsujan
Copy link
Member

tsujan commented Sep 17, 2024

Not reproducible here either.

But I have only two monitors. Whether this depends on the number of monitors is a question that only the reporter could answer.

@jonesmz
Copy link
Author

jonesmz commented Sep 19, 2024

I'm using KWin 6.1.4

I'll try it with fewer screens attached, thanks.

@jonesmz
Copy link
Author

jonesmz commented Sep 19, 2024

No obvious difference with fewer screens.

smallest window size

image

Full screen

image

@stefonarch
Copy link
Member

No obvious difference with fewer screens.

It looks to me like there is: on your first screenshot with 6 monitors and minimal size the text wasn't readable.

Do you have the possibility to test lxqt-config from git where the window size is remembered? The monitor size gets adjusted only on reopening.

@Chiitoo
Copy link
Contributor

Chiitoo commented Sep 20, 2024

The most recent pictures look similar to what I see with three displays here (1 x 1080p 2 x 1440p), with current 'git master' on Gentoo Linux.

Last image after re-opening.

Monitor_Settings_2024-09-20_13-12-28_196329982

Monitor_Settings_2024-09-20_13-12-31_027688984

Monitor_Settings_2024-09-20_13-14-45_707039562

@tsujan
Copy link
Member

tsujan commented Sep 20, 2024

With my old laptop, whose monitor is broken, I have an external monitor and LXQt 1.3.0. I tested with it and saw that the monitor icons weren't resized on resizing the dialog.

The only change in the current git master is that, if the dialog is resized and closed, the monitor icons will also be resized the next time it is opened. That's shown in @stefonarch's and @Chiitoo's last screenshots.

Therefore, this is a very old issue that, by chance, is made tolerable with the git lxqt-config.

@tsujan tsujan transferred this issue from lxqt/lxqt Sep 20, 2024
@tsujan tsujan changed the title LXQT Monitor Settings app 'Set Position' workflow unreadable due to small size LXQT Monitor Settings: Monitor icons are not resized on resizing dialog Sep 20, 2024
@tsujan tsujan self-assigned this Sep 20, 2024
tsujan added a commit that referenced this issue Sep 20, 2024
Also, the images are made a little larger by default.

Closes #1053
@tsujan
Copy link
Member

tsujan commented Sep 20, 2024

The fix is here: #1054

Tests would be very appreciated.

@stefonarch
Copy link
Member

Looks fine:
Screencast_20240920_231320.webm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants