Cannot disable "No tilebar and frame" window setting for some application

Hi,

I am trying to uncheck the "no tilebar and frame" for some of my applications' settings (you can see it by pressing alt-F3 > More actions).

I usually do it by adding a kde window rule for the application.
In the rule, I add "No tilebar and frame" in the appearance & Fixes" category. I set it to "apply initially".
It works for applications such as Emacs, Konsole, etc. But the setting seems to be overridden for apps like Discord, Firefox-developer Edition, BitWarden and Firedragon.

It works if I set it to "force" instead of "apply initially". But I don't want it to be like that.
(the reason is that unchecking "no tilebar and frame' allows my window decorations to display the borders, but I don't want the border when the window is maximized. Using "force" forces the border to be there all the time).

So I am trying to either prevent my settings to be overridden, or to force them except when the window is maximized.

Any ideas?

System:
Kernel: 6.2.13-zen-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=58b70a39-7d62-4091-81b9-4e1eddaf4642 rw rootflags=subvol=@
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=1ef025ef-4672-4f52-945f-a465a73e149f loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.4 tk: Qt v: 5.15.9 wm: kwin_x11 vt: 1 dm: SDDM
Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: LENOVO product: 81X8 v: IdeaPad 3 15ITL05
serial: <superuser required> Chassis: type: 10 v: IdeaPad 3 15ITL05
serial: <superuser required>
Mobo: LENOVO model: LNVNB161216 v: SDK0T76465 WIN
serial: <superuser required> UEFI: LENOVO v: GCCN21WW date: 06/11/2021
Battery:
ID-1: BAT0 charge: 23.1 Wh (71.5%) condition: 32.3/35.0 Wh (92.3%)
volts: 7.8 min: 7.5 model: SMP L16M2PB2 type: Li-poly serial: <filter>
status: discharging cycles: 244
CPU:
Info: model: 11th Gen Intel Core i5-1135G7 bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
microcode: 0xA6
Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB desc: 4x1.2 MiB L3: 8 MiB
desc: 1x8 MiB
Speed (MHz): avg: 1058 high: 1201 min/max: 400/4200 scaling:
driver: intel_pstate governor: powersave cores: 1: 1191 2: 1195 3: 1035
4: 916 5: 1052 6: 986 7: 1201 8: 888 bogomips: 38707
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Lenovo
driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
ports: active: eDP-1 empty: HDMI-A-1 bus-ID: 0000:00:02.0
chip-ID: 8086:9a49 class-ID: 0300
Device-2: Syntek Integrated Camera type: USB driver: uvcvideo
bus-ID: 3-5:4 chip-ID: 174f:118d class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
compositor: kwin_x11 driver: X: loaded: modesetting
alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: BOE Display 0x0700 built: 2016 res: 1920x1080
hz: 60 dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
ratio: 16:9 modes: 1920x1080
API: OpenGL v: 4.6 Mesa 23.0.3 renderer: Mesa Intel Xe Graphics (TGL GT2)
direct-render: Yes
Audio:
Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Lenovo
driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
bus-ID: 0000:00:1f.3 chip-ID: 8086:a0c8 class-ID: 0403
API: ALSA v: k6.2.13-zen-1-zen status: kernel-api tools: N/A
Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
Server-2: PipeWire v: 0.3.70 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
chip-ID: 8086:a0f0 class-ID: 0280
IF: wlp0s20f3 state: up mac: <filter>
IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
driver: btusb v: 0.8 bus-ID: 3-10:5 chip-ID: 8087:0aaa class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 2 state: down
bt-service: enabled,running rfk-block: hardware: no software: yes
address: <filter>
RAID:
Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
Local Storage: total: 238.47 GiB used: 65.48 GiB (27.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: MZALQ256HBJD-00BL2 size: 238.47 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 5L2QFXM7 temp: 34.9 C scheme: GPT
Partition:
ID-1: / raw-size: 112.97 GiB size: 112.97 GiB (100.00%)
used: 42.05 GiB (37.2%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
ID-2: /boot/efi raw-size: 513 MiB size: 512 MiB (99.80%)
used: 576 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 117.19 GiB size: 117.19 GiB (100.00%)
used: 23.43 GiB (20.0%) fs: btrfs dev: /dev/nvme0n1p3 maj-min: 259:3
ID-4: /var/log raw-size: 112.97 GiB size: 112.97 GiB (100.00%)
used: 42.05 GiB (37.2%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
ID-5: /var/tmp raw-size: 112.97 GiB size: 112.97 GiB (100.00%)
used: 42.05 GiB (37.2%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.56 GiB used: 282.5 MiB (3.6%)
priority: 100 dev: /dev/zram0
ID-2: swap-2 type: partition size: 7.81 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p2 maj-min: 259:2
Sensors:
System Temperatures: cpu: 46.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 285 Uptime: 35m wakeups: 47 Memory: 7.56 GiB
used: 4.09 GiB (54.2%) Init: systemd v: 253 default: graphical
tool: systemctl Compilers: gcc: 12.2.1 alt: 11 clang: 15.0.7 Packages:
pm: dpkg pkgs: 0 pm: pacman pkgs: 1713 libs: 383 tools: octopi,paru
Shell: Zsh v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.26
Garuda (2.6.16-1):
System install date:     2023-03-09
Last full system update: 2023-05-06
Is partially upgraded:   Yes
Relevant software:       snapper NetworkManager dracut
Windows dual boot:       No/Undetected
Failed units: