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

[COMPOSER] Selected "rich text menu" do not match current text status #1851

Closed
chibenwa opened this issue May 17, 2023 · 1 comment
Closed
Assignees
Labels
bug Something isn't working composer Medium

Comments

@chibenwa
Copy link
Member

Description

When composing rich text with special attibutes, and I move (click) cursor in an area with text with different , previous rich text attributes of the menu are kept, and becomes out of sink with what I type.

Expected result

When I move the typing cursor, I expect the rich text menu to match the attributes of the text I am typing. Text attributes of the rich text bar needs to match properties of currently selected area.

For instance:

GIVEN I am typing text bold green
WHEN I move (click) the cursor in an area with normal text
THEN the rich text bar shows no option
AND when I type I type normal text


GIVEN I am typing text bold green
WHEN I move (click) the cursor in an area with normal text
AND select bold
THEN the rich text bar is bold
AND when I type the text is bold

Current behavior

GIVEN I am typing text bold green
WHEN I move (click) the cursor in an area with normal text
THEN the rich text bar shows bold green
AND when I type I type normal text

GIVEN I am typing text bold green
WHEN I move (click) the cursor in an area with normal text
AND unselect bold
THEN the rich text bar is not bold
AND when I type the text is bold
color-x-2.mp4

:10 and 1:12

Context

Firefox https://oncommit-tmail.linagora.com v0.7.9+

@QuangHoang1210
Copy link
Collaborator

QuangHoang1210 commented Jun 20, 2023

Verifed 0.8.2 - canary

Chrome:

Actual: Working well with other AC except the one bellow:
Expectation:
1, The font family should be selected which matched with text status when user focus on.

Firefox: Not catch the AC

Actual: All ACs are not working well on firefox
Expectation:
1, The 'B - I - U - S' icon should be selected which matched with text status when user focus on.
2, The color should be selected which matched with text status when user focus on.
3, The paragrap should be selected which matched with text status when user focus on.
4, The font family should be selected which matched with text status when user focus on.

bandicam.2023-06-20.15-12-36-440.mp4

*Additional informatiion:
-- On Firefox only:
The icon Bold Italic Underline is selected/unselected but working incorrectly by click on icon on screen after using hot keys.
For example: Ctrl + B -->

bandicam.2023-06-20.15-32-43-228.mp4

@dab246

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working composer Medium
Projects
None yet
Development

No branches or pull requests

3 participants