teams-for-linux icon indicating copy to clipboard operation
teams-for-linux copied to clipboard

Font changes when copying text to clipboard

Open hendrikiseke1979 opened this issue 1 year ago • 4 comments

Describe the bug Whenever I select some random text in chats and press Ctrl+C (or use the context menu), the application font changes to slightly denser version

To Reproduce Steps to reproduce the behavior:

  1. Pick any message from a chat or a team and select some text.
  2. Press Ctrl+C or right click on selection and pick 'Copy'.
  3. Watch the font change.

Expected behavior Copying text to the clipboard does not change the application font.

Screenshots Before: image

After: image

Desktop:

  • OS: Debian GNU/Linux trixie/sid
  • Installation package: deb
  • Version: 1.4.10

Additional context When clicking 'Refresh' from the task tray context menu or hitting Ctrl+R, the "original" font comes up again.

hendrikiseke1979 avatar Feb 05 '24 11:02 hendrikiseke1979

All this time I thought this issue was probably due to some scuffed OS config since I never saw anyone else in the same boat! Can confirm, it's also been happening to me ever since I first installed teams-for-linux on my Ubuntu 22.04 machine 1 year ago 👀

Shadowfury22 avatar Feb 06 '24 17:02 Shadowfury22

This is wild. Do you see the same problem in the web version?

IsmaelMartinez avatar Feb 08 '24 09:02 IsmaelMartinez

This is wild. Do you see the same problem in the web version?

Yes, but different. :wink: The font seems to get smaller, not just denser.

Before

image

After

image

Browser: Chromium Version 121.0.6167.160 (Official Build) built on Debian trixie/sid, running on Debian trixie/sid (64-bit)

I cannot reproduce this with https://teams.microsoft.com/v2/ or while using Firefox.

hendrikiseke1979 avatar Feb 08 '24 12:02 hendrikiseke1979

This looks like a chromium shenanigans. Electron uses it under the hood...

On Thu, 8 Feb 2024, 12:39 Hendrik Iseke, @.***> wrote:

This is wild. Do you see the same problem in the web version?

Yes, but different. 😉 The font seems get smaller, not just denser. Before

image.png (view on web) https://github.com/IsmaelMartinez/teams-for-linux/assets/53309111/62bcb1fa-1f93-48b3-8c20-02d33023aa22 After

image.png (view on web) https://github.com/IsmaelMartinez/teams-for-linux/assets/53309111/38ffc65e-e9f1-49b3-95b4-a63ea2160e80

Browser: Version 121.0.6167.160 (Official Build) built on Debian trixie/sid, running on Debian trixie/sid (64-bit)

I cannot reproduce with https://teams.microsoft.com/v2/ or while using Firefox.

— Reply to this email directly, view it on GitHub https://github.com/IsmaelMartinez/teams-for-linux/issues/1093#issuecomment-1934032435, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJHEACV77225RVV5MY353YSTBQBAVCNFSM6AAAAABCZ5UEU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGAZTENBTGU . You are receiving this because you commented.Message ID: @.***>

IsmaelMartinez avatar Feb 08 '24 15:02 IsmaelMartinez

This looks like a chromium shenanigans. Electron uses it under the hood...

The latest Election update in v1.4.14 seems to resolve this issue. Thanks a lot to all contributors, closing.

hendrikiseke1979 avatar Mar 14 '24 08:03 hendrikiseke1979