Bug 145841 - Not entrance for ^ in math formuls
Summary: Not entrance for ^ in math formuls
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
7.2.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-22 21:31 UTC by marcelopires
Modified: 2022-05-06 08:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Vídeo error (726.79 KB, video/webm)
2021-11-22 21:34 UTC, marcelopires
Details
Video LibreOffice GTK3 interface vs x11 interface (4.15 MB, video/webm)
2021-11-25 18:28 UTC, marcelopires
Details
LibreOffice 6.4.7.2 and LibreOffice 7.2.2.2 (12.84 MB, video/mp4)
2021-11-26 22:17 UTC, marcelopires
Details
Vídeo simbol ^ not entrance (15.86 MB, video/mp4)
2022-03-01 13:21 UTC, marcelopires
Details
Found without GTK+ (15.57 MB, video/mp4)
2022-03-01 13:25 UTC, marcelopires
Details
Vídeo simbol ^ entrance (1.59 MB, video/webm)
2022-05-05 22:29 UTC, marcelopires
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marcelopires 2021-11-22 21:31:32 UTC
Description:
When I enter formulas that contain exponents, the ^ symbol does not appear if typed from the keyboard.

Steps to Reproduce:
1.Insert
2.Formulas Math
3.2^3 for examples. The symbol ^ no insert for keyboard

Actual Results:
not entrance for ^ symbol for keyboard 

Expected Results:
Entrance for ^ symbol


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
log_10 10^x = 200
Comment 1 marcelopires 2021-11-22 21:34:34 UTC
Created attachment 176433 [details]
Vídeo error
Comment 2 Michael Warner 2021-11-23 16:01:10 UTC
I'm not sure I understand your bug report, because when I watch the video you attached, I can see you typing the ^ symbol at 1:01, and it causing writer to insert an exponent in the formula.
Comment 3 marcelopires 2021-11-23 18:58:29 UTC
That wasn't very smart of me. I was typing ^ on the keyboard. By typing the symbol from the keyboard, the symbol simply does not appear in the Math Editor. Appears only if selected on the functions tab.
Comment 4 Michael Warner 2021-11-24 14:30:23 UTC
Can you paste here the information from Help->About LibreOffice...?

I'm not able to reproduce this in:

Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 10; OS: Mac OS X 10.16; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 5 marcelopires 2021-11-25 18:15:14 UTC
Ok. 

Version: 7.2.2.2 / LibreOffice Community
Build ID: 02b2acce88a210515b4a5bb2e46cbfb63fe97d56
CPU threads: 6; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: pt-BR
Calc: threaded
Comment 6 marcelopires 2021-11-25 18:28:00 UTC
Created attachment 176506 [details]
Video LibreOffice GTK3 interface vs x11 interface
Comment 7 marcelopires 2021-11-25 18:28:22 UTC
Looks like something GTK3 related. Follow the Video.
Comment 8 QA Administrators 2021-11-26 04:45:13 UTC Comment hidden (obsolete)
Comment 9 Michael Warner 2021-11-26 16:31:02 UTC
From the video, the problem I see is the horizontal scrollbar that appeared and covered up the formatted formula as soon as it tried to display the subscript for log_2, when using VCL: X11. But other than that, entering exponents seemed to work.
Comment 10 marcelopires 2021-11-26 22:03:16 UTC
The ^ symbol enters, when Writer with GTK3, only if selected in the functions tab of the Math Editor. If you try to enter the ^ symbol via the keyboard (ABNT), it does not appear.
Comment 11 marcelopires 2021-11-26 22:17:26 UTC
Created attachment 176531 [details]
LibreOffice 6.4.7.2 and LibreOffice 7.2.2.2
Comment 12 Jean-Baptiste Faure 2022-02-25 09:15:03 UTC
It's not a bug, it's the mean to say to the editor to transform what is after ^ in an exponent. Idem with _ which transforms next character in indice. 
If you want to see ^, depending on the meaning you give to this operator, you can use AND operator or place ^ between "" (type " then ^ the space the ").

Closing as NotABug.

Best regards. JBF
Comment 13 marcelopires 2022-03-01 13:21:35 UTC
Created attachment 178593 [details]
Vídeo simbol ^ not entrance
Comment 14 marcelopires 2022-03-01 13:22:03 UTC
Attached are the videos of the problem. I'm using Ubuntu 20.04, but on notebook with Debian 11, it also has the same problem.
Comment 15 marcelopires 2022-03-01 13:25:20 UTC
Created attachment 178594 [details]
Found without GTK+

It seems to be a problem with GTK, as when running LibreOffice7+ without GTK+, the ^ key works from the keyboard.
Comment 16 Rafael Lima 2022-05-05 20:49:11 UTC
> It seems to be a problem with GTK, as when running LibreOffice7+ without
> GTK+, the ^ key works from the keyboard.

Hi Marcelo, I am from Brazil as well and I'm running LO 7.3.3 with the Gtk3 VCL plugin. Everything is working as expected and I cannot reproduce the bug.

Pressing the ^ key will enter the "^" character in the formula editor as expected. My keyboard is ABNT2.


Version: 7.3.3.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: gtk3
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.3~rc2-0ubuntu0.21.10.1~lo1
Calc: threaded
Comment 17 marcelopires 2022-05-05 22:29:44 UTC
Created attachment 179950 [details]
Vídeo simbol ^ entrance

Hello Rafael Lima, After distro upgrade, Ubuntu 20.04 to Ubuntu 22.04, the error is no longer repeated. Follow video. From what I had noticed, the error only happened when using GTK+ as an interface in LibreOffice. Some GTK+ update should have fixed it. Thanks.
Comment 18 Jean-Baptiste Faure 2022-05-06 08:19:59 UTC
(In reply to marcelopires from comment #17)
> Created attachment 179950 [details]
> Vídeo simbol ^ entrance
> 
> Hello Rafael Lima, After distro upgrade, Ubuntu 20.04 to Ubuntu 22.04, the
> error is no longer repeated. Follow video. From what I had noticed, the
> error only happened when using GTK+ as an interface in LibreOffice. Some
> GTK+ update should have fixed it. Thanks.

Thank you. Closing as WorksForMe.

Best regards. JBF