ONLYOFFICE / DesktopEditors

An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
https://www.onlyoffice.com
Other
2.65k stars 312 forks source link

Fractional Scaling Not Applied By Desktop Editors #1468

Open TheRoarkster opened 5 months ago

TheRoarkster commented 5 months ago

This issue is unique.

Operating System

Linux (DEB package)

Version information

7.5.1-1

Expected Behavior

DesktopEditors should apply fractional scaling settings as directed by the operating system and scale the entire application, including toolbars, text, etc.

Actual Behavior

DesktopEditors does not apply fractional scaling settings from the operating system. As a result, while all other apps look normal size, DesktopEditors looks teeny tiny (see attached example). I have tried this on two different machines with different sized screens, though both are running Manjaro GNOME.

Reproduction Steps

  1. Install DesktopEditors
  2. Open Operating System Settings and enable Fractional Scaling, set to some large number like 150% or 200%.
  3. Open another application: see application apply Fractional Scaling.
  4. Open DesktopEditors: observe application not apply Fractional Scaling, resulting

OnlyOffice

Additional information

System Information from inxi -Faz:

System:
  Kernel: 6.1.69-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: 
    i915.nomodeset=0 quiet acpi_osi=Linux acpi_backlight=native
    mds=full,nosmt
        initrd=\initramfs-6.1-x86_64.img
  Desktop: GNOME v: 45.2 tk: GTK v: 3.24.39 wm: gnome-shell dm: GDM
    v: 45.0.1 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Convertible System: LENOVO product: 80VF v: Lenovo YOGA 910-13IKB
    serial: <superuser required> Chassis: type: 31 v: Lenovo YOGA 910-13IKB
    serial: <superuser required>
  Mobo: LENOVO model: Agera v: SDK0J40709 WIN
    serial: <superuser required> UEFI: LENOVO v: 2JCN39WW date: 05/31/2017
Battery:
  ID-1: BAT1 charge: 57.8 Wh (100.0%) condition: 57.8/78.0 Wh (74.1%)
    volts: 8.4 min: 7.7 model: Simplo BASE-BAT type: Li-poly
    serial: <filter> status: full
CPU:
  Info: model: Intel Core i7-7500U bits: 64 type: MCP
    arch: Amber/Kaby Lake note: check gen: core 7 level: v3 note: check
    built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 9 microcode: 0x5E
  Topology: cpus: 1x cores: 2 smt: disabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB
    desc: 1x4 MiB
  Speed (MHz): avg: 692 high: 693 min/max: 400/3500 scaling:
    driver: intel_pstate governor: powersave cores: 1: 693 2: 692
    bogomips: 11604
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Vulnerable: No microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache
    flushes, SMT disabled
  Type: mds status: Vulnerable: Clear CPU buffers attempted, no
    microcode; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Vulnerable: Clear CPU buffers
    attempted, no microcode; SMT disabled
  Type: retbleed status: Vulnerable
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass status: Vulnerable
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user
    pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, STIBP: disabled, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: DP-1,DP-2 bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev dri: iris gpu: i915 display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3072x1728 s-dpi: 120
    s-size: 650x366mm (25.59x14.41") s-diag: 746mm (29.37")
  Monitor-1: eDP-1 model: AU Optronics 0x323d built: 2015
    res: 3072x1728 hz: 60 dpi: 253 gamma: 1.2 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: 1920x1080
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl, snd_soc_avs,
    snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71
    class-ID: 0403
  API: ALSA v: k6.1.69-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.0 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module
    tools: pacat,pactl,pavucontrol
Network:
  Device-1: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
    vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 01:00.0 chip-ID: 168c:003e
    class-ID: 0280 temp: 58.0 C
  IF: wlp1s0 state: up mac: <filter>
  IF-ID-1: nordlynx state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth:
  Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8
    type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-8:3
    chip-ID: 0cf3:e300 class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 19 state: up address: <filter>
    bt-v: 4.2 lmp-v: 8 sub-v: 25a hci-v: 8 class-ID: 7c0000
  Info: acl-mtu: 1024:8 sco-mtu: 50:8 link-policy: rswitch hold sniff
    link-mode: peripheral accept service-classes: rendering, capturing,
    object transfer, audio, telephony
Drives:
  Local Storage: total: 238.47 GiB used: 77.1 GiB (32.3%)
  SMART Message: Required tool smartctl not installed. Check
    --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLW256HEHP-000L2 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 1L1QCXB7 temp: 26.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 83.09 GiB size: 81.24 GiB (97.76%)
    used: 74.73 GiB (92.0%) fs: ext4 dev: /dev/dm-0 maj-min: 254:0
    mapped: luks-ce1ee333-e846-41d5-b52c-639d732cc1e8
  ID-2: /boot raw-size: 476.8 MiB size: 451.5 MiB (94.68%)
    used: 140.4 MiB (31.1%) fs: ext4 dev: /dev/nvme0n1p6 maj-min: 259:6
  ID-3: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 234 MiB (91.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
    zswap: yes compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 9.31 GiB used: 2 GiB (21.5%)
    priority: -2 dev: /dev/nvme0n1p9 maj-min: 259:9
Sensors:
  System Temperatures: cpu: 49.0 C pch: 33.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 297 Uptime: 3d 7h 8m wakeups: 16 Memory: total: 8 GiB
  note: est. available: 7.51 GiB used: 6.09 GiB (81.2%) Init: systemd
  v: 254 default: graphical tool: systemctl Compilers: gcc: 13.2.1
  clang: 16.0.6 Packages: 1818 pm: pacman pkgs: 1803 libs: 444
  tools: pamac pm: flatpak pkgs: 15 Shell: Zsh v: 5.9
  running-in: gnome-terminal inxi: 3.3.31
matveevms commented 4 months ago

Hello, @TheRoarkster Please tell me, is the problem still relevant in desktop editors version 8.0.0.99? I checked on Debian Gnome and this problem did not reoccur.

TheRoarkster commented 4 months ago

Hello, @TheRoarkster Please tell me, is the problem still relevant in desktop editors version 8.0.0.99? I checked on Debian Gnome and this problem did not reoccur.

I am on 8.0.0-1. It is still an issue. But I have not rebooted since the install. I will be able to later today and will write back.

TheRoarkster commented 4 months ago

@Rita-Bubnova - rebooted. Still no fractional scaling. Here is the info from the "About" tab: ONLYOFFICE Desktop Editors version 8.0.0.99 (deb).

TheRoarkster commented 1 month ago

Just reporting that this is still an issue with version 8.0.1.31.

matveevms commented 1 month ago

Do I understand you correctly, the whole problem is that the application does not automatically pick up fractional scaling on your system? If you manually specify a scale of 150-200% in the application settings, does the interface become larger? Or doesn't it scale?

TheRoarkster commented 1 month ago

Yes, that is correct. The application does not pick up fractional scaling that is set on my system.

Thank you! I did not know there was a separate scaling setting in the app. That does work, in that it scales to the setting in the app.

That said, it will not automatically adjust for changes to system scaling, like other apps do, so this should still be something that is addressed.

Screenshot from 2024-05-20 09-12-46