[cantor] [Bug 434271] Plotting doesn't work with octave 6.2

2021-03-17 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=434271

--- Comment #4 from Nikita Sirgienko  ---
I have used Ubuntu 20.04.2 LTS.
Can you please verify, that the plots works in Octave 6.2 itself, for example
in octave-cli?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 434271] Plotting doesn't work with octave 6.2

2021-03-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=434271

--- Comment #2 from Nikita Sirgienko  ---
How you get Octave 6.2? Is it from apt packages, builded manually or it from
some container package system like snap?
Because if you get octave 6.2 from snap/flatpack or any other container
technology, when you should add some additional parameters to container,
otherwise the octave will be too isolated and cantor won't able to got any
images for plot due filesystem isolation.
You can check this bugreport to know more about problems (and how to fix them)
between Cantor and Octave from container (from Flatpack in this report):
https://bugs.kde.org/show_bug.cgi?id=420959

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 434271] Plotting doesn't work with octave 6.2

2021-03-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=434271

--- Comment #1 from Nikita Sirgienko  ---
Created attachment 136592
  --> https://bugs.kde.org/attachment.cgi?id=136592=edit
Octave 6.2 plot example

I can't reproduce this problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 434024] Tab completion not working for sage

2021-03-10 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=434024

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 433982] Octave worksheet evaluation hangs on plot() function

2021-03-10 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=433982

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #10 from Nikita Sirgienko  ---
Well, egori, I will test octave 6.2, but it is better, if you create separete
bugreport about octave 6.2.
I have close this, because you say, that the problem have gone and "everything
works fine".

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 433982] Octave worksheet evaluation hangs on plot() function

2021-03-09 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=433982

--- Comment #8 from Nikita Sirgienko  ---
Well, this is also well known problem, that Octave plotting via ftlk can work
incorrect and hang during plotting in some linux distros. At least in Cantor
for sure.
So I think, you can try to disable "Embedded" option in Octave (but ftlt window
can also hang itself) or run 'graphics_toolkit("gnuplot")' command before plot
command and check, is that solves your problem with hanging. And if it have
solves the problem, then you can just add the graphics toolkit change command
in Cantor Octave autorun command, or in Octave startup file itelf.

Additional info about ftlk: On my Ubuntu 20.04 ftlk not working correctly like
from Ubuntu 16.04. In early versions we just always have switched from ftlk to
any other  graphics toolki, but Cantor have had some bugreports about this
solution and additional research have showed, that on some distros its work
smooth, so we stop to change toolkit and leave graphics toolkit manipulations
in user's hand.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 433982] Octave worksheet evaluation hangs on plot() function

2021-03-09 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=433982

--- Comment #5 from Nikita Sirgienko  ---
And about https://bugs.kde.org/show_bug.cgi?id=432892 - I don't think, that you
issue related to that report.
Input function hanging is well known, but the plot commands don't work with
text input and use set of not fully supported commands, so I am sure, that your
report about some Cantor bug or some problem with installation.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 433982] Octave worksheet evaluation hangs on plot() function

2021-03-09 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=433982

--- Comment #4 from Nikita Sirgienko  ---
Hi, as you can see, I can't reproduse this issue.
Can you please run commands "available_graphics_toolkits()" and
"graphics_toolkits()" Cantor and post result here.
Also, can you provide a screenshot from Octave settings ("Settings->Configure
Cantor->Octave")?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 433982] Octave worksheet evaluation hangs on plot() function

2021-03-09 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=433982

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #3 from Nikita Sirgienko  ---
Created attachment 136515
  --> https://bugs.kde.org/attachment.cgi?id=136515=edit
plot command run

Test reported issue, can't reproduse it

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 432892] Handling user input support

2021-02-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=432892

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Hi

Because of how Cantor works with Octave in this moment (via stdin/stdout
actually) - the "input" function and other related with user input don't work
at all I think.

This is related that Cantor positioned as REPL - and input functions more
useful in scripts, so because of lack developers Cantor haven't support this
functions.

Actually, there are some workarounds - instead of control Octave worksheet via
intput, just control it via variables. It's not very convenient sometimes, but
at least it is working solution. Autoevaluation option in Settings can help
with this logic.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 431657] Al seleccionar el motor el programa se cierra

2021-01-16 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=431657

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Hi Mario,

Yes, you right, this is exaclty the problem reported in
https://bugs.kde.org/show_bug.cgi?id=415302

Unfortunately, Qalculate version lower that 3.7 will crashes in Cantor because
some internal problems.

Could you provide version, which used on you KDE Neon (run "apt show
libqalculate-dev" and check "Version: " line)?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430045] Imediate Segfault when starting cantor 20.11.80

2020-12-12 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430045

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #9 from Nikita Sirgienko  ---
Waiting for information ("Is purge uninstallation system Cantor and
reinstallation of builded Cantor solves the problem?")

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430045] Imediate Segfault when starting cantor 20.11.80

2020-12-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430045

--- Comment #8 from Nikita Sirgienko  ---
Yes, the colorful output very useful, thanks

And I have now an idea - do you have installed system Cantor from fedora repos,
right?
It is important, because I see this paths in your plugin loading output:
dir:  "/usr/lib64/qt5/plugins/cantor/panels"
dir:  "/home/jjhough/development/cantor/build/src/cantor/panels" 
So, given a reported zero-function call issue, I just start think, that your
builded Cantor 20.11.80 on startup just loads plugins from system Cantor
20.08.01 from directory /usr/lib64/qt5/plugins/cantor/panels. Because in this
case, the zero call is easy to explain - Cantor 20.08.1 plugins haven't this
function, this is have added recently.
It can happens, because Cantor actually don't have plugin version checking
(which is an issue, on which I will take a look soon)
So, can you uninstall system's Cantor, re-run install step on your manually
builded Cantor and try to start again?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430045] Imediate Segfault when starting cantor 20.11.80

2020-12-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430045

--- Comment #7 from Nikita Sirgienko  ---
My system info:
Qt Version: 5.12.8
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-56-generic x86_64
Windowing system: X11
Distribution: "Ubuntu 20.04.1 LTS"

And I uses this compiler - g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430055] Bash escape sequences visible in the output of qalculate

2020-12-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430055

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/educ
   ||ation/cantor/commit/9556b69
   ||fc03350eb88f5a3f2ef21e6853b
   ||058cf3
   Version Fixed In||20.12.1
 Status|ASSIGNED|RESOLVED

--- Comment #1 from Nikita Sirgienko  ---
Git commit 9556b69fc03350eb88f5a3f2ef21e6853b058cf3 by Nikita Sirgienko.
Committed on 06/12/2020 at 22:25.
Pushed by sirgienko into branch 'master'.

[Qalculate] Fix bug with terminal colour symobls in command results
FIXED-IN: 20.12.1

M  +1-1CMakeLists.txt
M  +2-0cmake/FindQalculate.cmake
M  +3-0src/backends/qalculate/CMakeLists.txt
M  +5-0src/backends/qalculate/qalculatesession.cpp

https://invent.kde.org/education/cantor/commit/9556b69fc03350eb88f5a3f2ef21e6853b058cf3

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430055] Bash escape sequences visible in the output of qalculate

2020-12-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430055

Nikita Sirgienko  changed:

   What|Removed |Added

   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 Status|CONFIRMED   |ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430055] Bash escape sequences visible in the output of qalculate

2020-12-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430055

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 CC||warqu...@gmail.com
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430045] Imediate Segfault when starting cantor 20.11.80

2020-12-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430045

--- Comment #4 from Nikita Sirgienko  ---
Could you also provide result of running Cantor without a patch with "gdb
cantor"?
It will show, where the crash happends.

>  Out of interest what are you running assuming it works for you?
Not sure, that I have understand your question, but if you asking is a Cantor
works for me, then yes, I have never experienced the problem with plugin start
up.
But I remember crash on exit problem - it happened maybe a year ago, Cantor
have crashed  sometimes on exit, but after a few months the problem have gone,
so maybe it was a problem with dependency, but I am not sure.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 430045] Imediate Segfault when starting cantor 20.11.80

2020-12-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=430045

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Hi, Joshua
You have reported an interesting and unique problem
Can you please rebuild Cantor in Debug mode (`cmake -DCMAKE_BUILD_TYPE=Debug
..`) and post startup log here?
This is will be useful for the problem invastigation, if output from line 691
(`qDebug()<<"adding panel for "<name();`) will be available for me.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #9 from Nikita Sirgienko  ---
Ok. I also reproduce it with Sage 9.2 on Ubuntu 20.10

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #7 from Nikita Sirgienko  ---
You use sage 9.2?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #4 from Nikita Sirgienko  ---
Created attachment 11
  --> https://bugs.kde.org/attachment.cgi?id=11=edit
Second execution

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #5 from Nikita Sirgienko  ---
Interesting, because I can't reproduce it with 20.11.80 on Ubuntu 20.04.
(I have a problem with creating desktop recording, so I have just make a few
screenshots)

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #2 from Nikita Sirgienko  ---
Created attachment 133329
  --> https://bugs.kde.org/attachment.cgi?id=133329=edit
Cantor info

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 429078] No way to recover from a syntax error without restarting the kernel

2020-11-14 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=429078

--- Comment #3 from Nikita Sirgienko  ---
Created attachment 10
  --> https://bugs.kde.org/attachment.cgi?id=10=edit
First execution

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428611] Cantor crashes after closing tab with working Sage

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428611

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |LATER

--- Comment #4 from Nikita Sirgienko  ---
About crashing problem - I don't know, how to fix it, because crash appears in
Qt code, and I even don't know why it goes there in first place.
But there is a good news - crash will apears only, when Cantor can't use Sage.
So, for example, the problem don't appears with Sage 9.1, because Cantor works
with this version.
And after script fix - the problems will gone for Sage 9.2 too.
So, this problem is on low priority, and because it appears very rarely and
depends from another bug - i will set status as LATER.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428611] Cantor crashes after closing tab with working Sage

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428611

--- Comment #3 from Nikita Sirgienko  ---
Well, I have created separate bug report for Cantor ans Sage 9.2 problems:
https://bugs.kde.org/show_bug.cgi?id=428961.
The fix, which will make Sage 9.2 workable with Cantor will apears in 20.12,
but you can manually fix it on your version, if you want it - you need only
update Cantor's script file (cantor-execsage, which is placed in
/usr/share/cantor/sagebackend/ or /usr/local/share/cantor/sagebackend, which
depending from your installation). The new script code, which you need is here
-
https://invent.kde.org/education/cantor/-/blob/master/src/backends/sage/cantor-execsage.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428961] Cantor don't work with Sage 9.2

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428961

--- Comment #3 from Nikita Sirgienko  ---
For 20.08.
https://invent.kde.org/education/cantor/commit/0f03eb01b34fc813e00694fa313415ca727d97ef

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428961] Cantor don't work with Sage 9.2

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428961

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/educ
   ||ation/cantor/commit/0c46c2b
   ||6b231373f0dce9a46dd6acd90fc
   ||01ad33
   Version Fixed In||20.12

--- Comment #2 from Nikita Sirgienko  ---
Git commit 0c46c2b6b231373f0dce9a46dd6acd90fc01ad33 by Nikita Sirgienko.
Committed on 11/11/2020 at 10:51.
Pushed by sirgienko into branch 'release/20.12'.

Make Cantor working with Sage 9.2
FIXED-IN: 20.12

M  +10   -0src/backends/sage/cantor-execsage

https://invent.kde.org/education/cantor/commit/0c46c2b6b231373f0dce9a46dd6acd90fc01ad33

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428961] Cantor don't work with Sage 9.2

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428961

Nikita Sirgienko  changed:

   What|Removed |Added

   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 Status|CONFIRMED   |ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428961] Cantor don't work with Sage 9.2

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428961

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #1 from Nikita Sirgienko  ---
The problem have been found: Sage since version 9.2 stop automatically sourcing
sage-env-config, which needed for sage-env, which used by Cantor for running
sage (in cantor-execsage script).

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428961] New: Cantor don't work with Sage 9.2

2020-11-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428961

Bug ID: 428961
   Summary: Cantor don't work with Sage 9.2
   Product: cantor
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: sage-backend
  Assignee: cantor-b...@kde.org
  Reporter: warqu...@gmail.com
  Target Milestone: ---

Originally reported in this bugreport:
https://bugs.kde.org/show_bug.cgi?id=428611
SUMMARY
Cantor don't work with Sage 9.2: computation don't run and each run of entry
causes sage crash and Cantor prints, what the sage process has finished
unexpectedly.

STEPS TO REPRODUCE
1. Install (or build) Cantor with Sage backend
2. Install Sage 9.2 and configure Cantor to use it
3. Start sage session and try to execute "2+2"

OBSERVED RESULT
Cantor prints, that sage process finished unexpectedly and the entry have been
interrupted.

EXPECTED RESULT
Got result of the entry with "4" and entry marked as finished successfully

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428611] Cantor crashes after closing tab with working Sage

2020-11-10 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428611

Nikita Sirgienko  changed:

   What|Removed |Added

   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 Status|CONFIRMED   |ASSIGNED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428611] Cantor crashes after closing tab with working Sage

2020-11-10 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428611

Nikita Sirgienko  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 428611] Cantor crashes after closing tab with working Sage

2020-11-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=428611

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Crash on tab closing happends for Sage tabs or in all tabs?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 427938] Poor quality latex rendering

2020-10-19 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=427938

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM

--- Comment #4 from Nikita Sirgienko  ---
Yes, thanks Antonio for the information, I have check this and I can confirm
that problem is reproduced with system with ghostscript 9.53
So, this is an upstream problem (libspectre, or maybe ghostscript itself)

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 427938] Poor quality latex rendering

2020-10-19 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=427938

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #2 from Nikita Sirgienko  ---
Created attachment 132557
  --> https://bugs.kde.org/attachment.cgi?id=132557=edit
reproduction #1

Can't reproduce this problem on Cantor 20.08.2 (I also have used Dark Breeze
theme).

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 393579] print('> ') not handled correctly

2020-09-23 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=393579

Nikita Sirgienko  changed:

   What|Removed |Added

   Version Fixed In||20.12
  Latest Commit||https://invent.kde.org/educ
   ||ation/cantor/commit/37e5621
   ||b68261a41d8da6e6fcbb20e1a9c
   ||6b67bf
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #2 from Nikita Sirgienko  ---
Git commit 37e5621b68261a41d8da6e6fcbb20e1a9c6b67bf by Nikita Sirgienko.
Committed on 23/09/2020 at 20:09.
Pushed by sirgienko into branch 'master'.

[Lua] Improve Lua parsing code. Also add support for expression queue.
FIXED-IN: 20.12

M  +4-38   src/backends/lua/luaexpression.cpp
M  +1-1src/backends/lua/luaexpression.h
M  +120  -38   src/backends/lua/luasession.cpp
M  +9-3src/backends/lua/luasession.h

https://invent.kde.org/education/cantor/commit/37e5621b68261a41d8da6e6fcbb20e1a9c6b67bf

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 393579] print('> ') not handled correctly

2020-09-23 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=393579

--- Comment #1 from Nikita Sirgienko  ---
Also, code
```
print(3)
print(3*3)
```
doesn't handle correctly - output "9" instead of "3\n9"

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 408335] Plots are not visible [benchmark: the Lorenz example]

2020-09-23 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=408335

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|CONFIRMED   |RESOLVED

--- Comment #8 from Nikita Sirgienko  ---
This problem hasn't been reproduced on Ubuntu 20.04 with Octave 5.2.0 and
Gnuplot 5.2 (patchlevel 8).
So, at least, in modern Ubuntu/Octave this problem have gone.

I think, this is enough evidence for confirming, that the problem origin is
Octave itself, because I have build Cantor before and after my OS migration
from 19.04 to 20.04 (it have took only few days and for testing I have build
some sourcs) - and the problem gone after migration.
So I mark this problem as resolved with upstream reason - looks like this
Octave problem resolved in modern Octave versions (or maybe this is gnuplot
problem, which used by Octave for graphics - I don't sure). And I will increase
recommended Octave version to 5.2.0.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 426636] LaTeX output scrambled

2020-09-23 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=426636

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Interesting. 
Can be related to this recent theme about problem with ghostscript:
https://bbs.archlinux.org/viewtopic.php?id=259223?
I mean, this is Arch Linux (so a rolling release politic) so maybe this is just
a bug in latest release of ghost script or libspectre.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425695] Julia backend does not find sys.so

2020-09-09 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425695

Nikita Sirgienko  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/educ
   ||ation/cantor/commit/76c6c50
   ||126b469181856ff6ff17a9ef19c
   ||382ada
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||20.08.2

--- Comment #2 from Nikita Sirgienko  ---
Git commit 76c6c50126b469181856ff6ff17a9ef19c382ada by Nikita Sirgienko.
Committed on 09/09/2020 at 21:03.
Pushed by sirgienko into branch 'release/20.08'.

[Julia] Add some code for working with wrong path to Julia internal file
"sys.so"
FIXED-IN: 20.08.2

M  +31   -4src/backends/julia/juliaserver/juliaserver.cpp
M  +2-1src/backends/julia/juliaserver/juliaserver.h
M  +23   -1src/backends/julia/juliasession.cpp

https://invent.kde.org/education/cantor/commit/76c6c50126b469181856ff6ff17a9ef19c382ada

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425695] Julia backend does not find sys.so

2020-09-09 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425695

--- Comment #1 from Nikita Sirgienko  ---
Well, I now understand, what cause the problem.
Cantor Julia backend uses Julia C API and this API requests path to some
internal file (the "sys.so" file, which you mentioned before). Julia also
provide method for getting path (but relative) to this file.
Cantor, using information from settings, create absolute path and pass the path
to julia code.
The problem is, that cantor-backend-julia have been builded with system julia
(I suppose, there is package "julia" in KDE Neon repos). But you pass path to
local installation from jill. And relative paths to this internal file don't
equal.
Cantor julia backend uses "../lib/x86_64-linux-gnu/julia/" from system julia
installation (from system library libjulia.so, I suppose), but for in-one-dir
julia installation from jill you actually need a path "../lib/julia" (and if
you manually build Cantor with Julia backend for this jill installation, then
this proper path will be used and passed from Juila C API).
But I have added some code for working with situation like this, so it will
work in future Cantor versions. And have a more proper problem message, if
there is a problem with this internal file.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425695] Julia backend does not find sys.so

2020-08-23 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425695

Nikita Sirgienko  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||warqu...@gmail.com
 Status|REPORTED|ASSIGNED
   Assignee|cantor-b...@kde.org |warqu...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 409137] display variable size instead of ""

2020-08-18 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=409137

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/educ
   ||ation/cantor/commit/691f840
   ||76a435fbcae49beac0d193b9791
   ||c93ddc
 Status|CONFIRMED   |RESOLVED
   Version Fixed In||20.12

--- Comment #7 from Nikita Sirgienko  ---
Added this requested feature in
https://invent.kde.org/education/cantor/commit/691f84076a435fbcae49beac0d193b9791c93ddc

On this moment for Python/Julia/Octave. Instead of  they
will show bytes size.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425454] Issue installing cantor-julia-backend on KDE Neon

2020-08-17 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425454

Nikita Sirgienko  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||warqu...@gmail.com
 Status|REPORTED|CONFIRMED

--- Comment #1 from Nikita Sirgienko  ---
Well, looks like this is problem with packages. We will address this problem to
package team.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425102] Python 3 backend not found although installed

2020-08-08 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425102

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|ASSIGNED|RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425102] Python 3 backend not found although installed

2020-08-07 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425102

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1
   Assignee|cantor-b...@kde.org |warqu...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425102] Python 3 backend not found although installed

2020-08-07 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425102

--- Comment #2 from Nikita Sirgienko  ---
I suppose, that in settings, the backend by default is Python3. Change the
default backend to Python and I suppose the problem will gone.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 425102] Python 3 backend not found although installed

2020-08-07 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=425102

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
This is correct, because before there are two Python backends in Cantor:
Python2 and Python3. But now, after Python 2 end of life, Python2 have been
removed and Python3 now names just Python.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 418358] Tabs action don't work as expacted in particular situation

2020-06-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=418358

Nikita Sirgienko  changed:

   What|Removed |Added

  Latest Commit||afb5d04bd6787c81deae918b60b
   ||971425f8ded40
 Resolution|--- |FIXED
   Version Fixed In||20.08
 Status|ASSIGNED|RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 422411] Fail to create symbolic variables

2020-06-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=422411

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM
 CC||warqu...@gmail.com

--- Comment #2 from Nikita Sirgienko  ---
I don't think, that this is Cantor problems, because of your python trace the
root of problem is Octave(Sage) itself.
As I see, you use Manjaro, right? Manjaro, as based on Arch Linux distributive,
uses rolling release scheme - for providing latest program versions. So, I
suppose, that your sympy packages have been updated recently, but without
proper Octave (Sage) updates. It actually, typical problem of Manjaro -
problems with packages like that (and the reason for stable distros like Ubuntu
LTS to exists).
So, the problem is that, then you run `syms x` Octave (or Sage), as SymPy user,
try to use attribute `integer_types` from `sympy.core.compatibility`, but the
attribute was deleted since SymPy 1.6 , so Octave code for using sympy have
failed and module can't be used, so symobolic variable can't be created.
I have recomend go to Octave/Sage bugtracker and report problem there, with
this python trace message. Or you can just wait some days  - I don't think,
that you are the only user of symbolic packages, so maybe the problem already
reported and will solved in near future sage/octave packages updates.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-13 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #31 from Nikita Sirgienko  ---
See, how it works in attachments, that I have added.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-13 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #30 from Nikita Sirgienko  ---
Created attachment 128431
  --> https://bugs.kde.org/attachment.cgi?id=128431=edit
Cantor screen 4

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-13 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #29 from Nikita Sirgienko  ---
Created attachment 128430
  --> https://bugs.kde.org/attachment.cgi?id=128430=edit
Cantor screen 3

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-13 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #28 from Nikita Sirgienko  ---
Created attachment 128429
  --> https://bugs.kde.org/attachment.cgi?id=128429=edit
Cantor screen 2

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-13 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #27 from Nikita Sirgienko  ---
Created attachment 128428
  --> https://bugs.kde.org/attachment.cgi?id=128428=edit
Cantor screen 1

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-13 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #26 from Nikita Sirgienko  ---
(In reply to avlas from comment #24)
> 
> I think I didn't explain myself quite well. Let me try again:
> 
> I was not trying to get into the ultimate problem of why the test fails
> (which is that cantor uses a different /tmp inside its sandbox).
> 
> I was just mentioning that when the test fails, Cantor should be smart
> enough to only limit these functions that require accessing to system's
> /tmp, i.e. plotting, and work fine otherwise, so that users can execute
> Octave's commands that are not associated with plotting.
Yes, this is correct, and this is actually how new code works. For example,
when use my normally builed Cantor (master branch) and Octave from flatpak
(without enabled access to /tmp), I have gotten error message about disabling
plot integration, but after closing it, Octave backend works correctly and even
plots works (but appears in separate window, because of disabled plot
integration

I have also tried reproduce your problem, but I failed to run Cantor from
flatpak with Octave from flatpak.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-12 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #23 from Nikita Sirgienko  ---
(In reply to avlas from comment #21)
> I tested this fix (using Cantor's nightly flatpak package) and although it's
> informative about missing plotting capabilities, it could be improved.
I don't think, that Cantor as flatpak can be usable, because Cantor needs
executable and filesystem access from host and this is not very good working in
flatpak.
Also, I suppose, you point to your script, that you have mentioned before,
rigth?
```
#!/bin/sh
exec /usr/bin/flatpak run --branch=stable --arch=x86_64 --filesystem=/tmp
org.octave.Octave "$@"
```
I have reproduce this conditions (flatpak Cantor and this script) and well, the
problem is, that inside flatpak package path /usr/bin/flatpak is invalid, so
Cantor just print me error from this sh script. But I suppose, we still need a
code for notice user, if Octave executable finishes suddenly, like in some
other backends.

> First, I don't think the user needs to know about
> /tmp/cantor_octave_plot_integration_test.txt, just telling that access to
> the /tmp was not granted would likely be enough.
But that problem is more complicated and there are some possibilityes: Octave
don't create this file, Cantor haven't permissions to read /tmp, etc. So,
because of that the message have so inconcrete text.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/kde/
   ||cantor/commit/87172a9416a89
   ||49cc80350b733d771d7b01d90f3
   Version Fixed In||20.07.70

--- Comment #20 from Nikita Sirgienko  ---
Git commit 87172a9416a8949cc80350b733d771d7b01d90f3 by Nikita Sirgienko.
Committed on 11/05/2020 at 22:37.
Pushed by sirgienko into branch 'master'.

[Octave] Add check, if Octave can have write in temporary dir
FIXED-IN: 20.07.70

M  +2-1src/backends/octave/CMakeLists.txt
M  +1-1src/backends/octave/octaveexpression.cpp
M  +48   -2src/backends/octave/octavesession.cpp
M  +3-0src/backends/octave/octavesession.h
M  +1-1src/lib/CMakeLists.txt
M  +38   -0src/lib/backend.cpp
M  +8-1src/lib/backend.h

https://invent.kde.org/kde/cantor/commit/87172a9416a8949cc80350b733d771d7b01d90f3

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-05-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

Nikita Sirgienko  changed:

   What|Removed |Added

   Version Fixed In||20.07.70
  Latest Commit||063ba6ef25f008c012782d58a14
   ||b727957ac4f84
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #11 from Nikita Sirgienko  ---
After 20.08 version appears possibility to change used format of plot files 
So, for solving your problem, you just should change the value (in Octave
settings) from 'eps' to 'png' and I think, the problem will be gone. Reopen
this bug, if it is not true.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421229] Some plots are not displayed

2020-05-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421229

--- Comment #3 from Nikita Sirgienko  ---
(In reply to avlas from comment #2)
> (In reply to Nikita Sirgienko from comment #1)
> > I have checked, and this is another variation of bug #408335. This problem
> > is our fix schedule for 20.08.
> > 
> > *** This bug has been marked as a duplicate of bug 408335 ***
> 
> Both 1 and 2 above are actually the same bug?
> 
> Sorry I missed bug 408335

Yes, the same problem - a file of plot, produced by gnuplot, have a gigantic
width, filled on the left by empty space (you can open file in /tmp directory
and see, that there is a plot after this huge area of empty space)

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 408335] Plots are not visible [benchmark: the Lorenz example]

2020-05-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=408335

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||jsar...@gmail.com

--- Comment #7 from Nikita Sirgienko  ---
*** Bug 421229 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||e10eec005fcad4361b9298a34fd
   ||15f79433b54a0
 Resolution|--- |FIXED
   Version Fixed In||20.07.70

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421229] Some plots are not displayed

2020-05-11 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421229

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com
 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #1 from Nikita Sirgienko  ---
I have checked, and this is another variation of bug #408335. This problem is
our fix schedule for 20.08.

*** This bug has been marked as a duplicate of bug 408335 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421065] Improve cantor appearance and castomization via support qss qt files (and maybe settings)

2020-05-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421065

--- Comment #6 from Nikita Sirgienko  ---
Created attachment 128194
  --> https://bugs.kde.org/attachment.cgi?id=128194=edit
Ugly and fast check, if qss will work in Cantor

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421065] Improve cantor appearance and castomization via support qss qt files (and maybe settings)

2020-05-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421065

Nikita Sirgienko  changed:

   What|Removed |Added

Summary|Improve cantor appearance   |Improve cantor appearance
   |and allow for styles in |and castomization via
   |markdown (also when |support qss qt files (and
   |printing/exporting to pdf)? |maybe settings)
 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #5 from Nikita Sirgienko  ---
Well, qss is a good sujestion. Also, Cantor castomization is in a todo list,
for example, we planning to add some font castomization in settings for 20.08
realese

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421065] Improve cantor appearance and allow for styles in markdown (also when printing/exporting to pdf)?

2020-05-06 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421065

--- Comment #3 from Nikita Sirgienko  ---
(In reply to avlas from comment #2)
> (In reply to Nikita Sirgienko from comment #1)
> > We have been considering improving the looks of Cantor worksheets, but there
> > are some limitation here: language (C++) and graphical widget stack (Qt).
> > So, i think, flexibility of Jupyter/Kaggle (with possibility to change view
> > of, well, all existed elements via custom css).
> > So, I don't think, that your request is fully possible. All of this
> > castomizatio comes from flexibility of HTML+CSS, which used in Jupyter and
> > Kaggle.
> > 
> > I am not sure (we still considering using qt web engine in Cantor), but I
> > think, that CSS Markdown styles don't possible in Cantor on this moment-
> > this will work only with fully featured web browser.
> > 
> > Converting worksheet to Markdown is theoretical possible feature, but this
> > is a lot of work and I haven't seen a huge request for this feature, so I
> > don't think, that we will implement this soon.
> > 
> > On this moment, we more focused on improving user expirience, with
> > supporting a good look of program.
> 
> I see. Many thanks for the explanation. QtWebEngine seems like a drastic
> move with pros (the flexibility you talked about) but also some significant
> cons (security, privacy, "weight" and the effort involved in the transition).
> 
> Why not just using nodejs instead? Would this help with the cons?
> 
> Alternatively, I wonder if adding an interface in QML could help making it
> more appealing. Perhaps that is what is needed and people from the design
> team can help.
> 
> Regarding Markdown, I guess you could take a look at projects such as
> Typora. I think it uses nodejs to allow on-the-fly styling based on CSS
> files.

Nodejs no help in this situation at all, because the main limitation is that
Cantor, without web engine, can't fully render (I mean, from text form to
content, visible for user) HTML+CSS. You have been mentioned Typora, but key
component of supporting css styles is that Typora application is actually a
browser (chromium, to be more precisious, - Typora is based on Electron
framework). And because of fully support of HTML+CSS - Typora can have css
style for Markdown, and how it manage the styles - via javascript, or something
else - is not very important in this situation.
Also, I haven't been mistackend, QML can do only what Qt can do because it is
just an another form of UI representation: one form is ordinary (for Qt apps)
ui files (and ui files is just a XML) and another form is a more css styled QML
markup.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421065] Improve cantor appearance and allow for styles in markdown (also when printing/exporting to pdf)?

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421065

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
We have been considering improving the looks of Cantor worksheets, but there
are some limitation here: language (C++) and graphical widget stack (Qt). So, i
think, flexibility of Jupyter/Kaggle (with possibility to change view of, well,
all existed elements via custom css).
So, I don't think, that your request is fully possible. All of this
castomizatio comes from flexibility of HTML+CSS, which used in Jupyter and
Kaggle.

I am not sure (we still considering using qt web engine in Cantor), but I
think, that CSS Markdown styles don't possible in Cantor on this moment- this
will work only with fully featured web browser.

Converting worksheet to Markdown is theoretical possible feature, but this is a
lot of work and I haven't seen a huge request for this feature, so I don't
think, that we will implement this soon.

On this moment, we more focused on improving user expirience, with supporting a
good look of program.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 418358] Tabs action don't work as expacted in particular situation

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=418358

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED
   Assignee|cantor-b...@kde.org |warqu...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421057] Cantor does not use system font by default

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421057

--- Comment #11 from Nikita Sirgienko  ---
(In reply to avlas from comment #9)
> (In reply to Nikita Sirgienko from comment #8)
> > (In reply to avlas from comment #5)
> > > I guess this issue could be rephrase as follows:
> > > 
> > > - Use non-monospace system font for text that is not actually code: raw 
> > > text
> > > input and markdown
> > >
> > > - Display proper font name in the toolbar, i.e., system's monospace 
> > > default
> > > font when using code input and system's non-monospace default font when
> > > using regular text and markdown. Then the user can change those if wanted
> > Yes, you right. Cantor shouldn't use monospace on text and markdown entries.
> > Also, default value of font changer should be fixed too. But actually, this
> > toolbar should work only in text entries. For all another entries there is
> > "Right Click Menu -> Font -> Select".
> 
> I see. Thanks for letting me know.
> 
> One more thing I just realized. Is it possible to edit Markdown entries? It
> seems I cannot modify those, but maybe I'm missing how to do this properly

In what sense edit? Markdown entry have two state "editing" and "rendered". You
can edit the entry with "editing" state but not in "rendered". Evaluation
change state from "editing" to "rendered" (and do render), but double click on
the markdown entry change it from "rendered" to "editing".
So if you want to change already executed Markdown Entry, you just need double
click it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421057] Cantor does not use system font by default

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421057

--- Comment #10 from Nikita Sirgienko  ---
(In reply to avlas from comment #7)
> (In reply to Nikita Sirgienko from comment #6)
> > (In reply to avlas from comment #4)
> > > (In reply to Nikita Sirgienko from comment #2)
> > > > Created attachment 128178 [details]
> > > > Cantor load system font
> > > 
> > > Actually in your screenshot I can see AkrutiMal1 as font in the toolbar.
> > > That's what I refer to actually.
> > 
> > Interesting, because this is a rich text toolbar, which comes from old
> > Cantor part of code and works only in Text entries. Visible value inside the
> > combo lix actually wrong (bug). Also, is this element active in Command
> > entries in your Cantor?
> 
> It starts disabled but it gets enabled by default after:
> 
> - I add a text line or convert to it (and remains enabled in all worksheet
> lines irrespective of type)
> 
> - When I open a secondary worksheet (and remains enabled for all worksheets,
> the first and the second, and all their lines)
> 
> Also having monospace for markdown is not really looking that good, I would
> suggest to move markdown to system's non-monospace default (code inserted in
> markdown will be monospace anyway)

Well, it is a another bug actually.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421057] Cantor does not use system font by default

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421057

Nikita Sirgienko  changed:

   What|Removed |Added

   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #8 from Nikita Sirgienko  ---
(In reply to avlas from comment #5)
> I guess this issue could be rephrase as follows:
> 
> - Use non-monospace system font for text that is not actually code: raw text
> input and markdown
>
> - Display proper font name in the toolbar, i.e., system's monospace default
> font when using code input and system's non-monospace default font when
> using regular text and markdown. Then the user can change those if wanted
Yes, you right. Cantor shouldn't use monospace on text and markdown entries.
Also, default value of font changer should be fixed too. But actually, this
toolbar should work only in text entries. For all another entries there is
"Right Click Menu -> Font -> Select".

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421057] Cantor does not use system font by default

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421057

--- Comment #6 from Nikita Sirgienko  ---
(In reply to avlas from comment #4)
> (In reply to Nikita Sirgienko from comment #2)
> > Created attachment 128178 [details]
> > Cantor load system font
> 
> Actually in your screenshot I can see AkrutiMal1 as font in the toolbar.
> That's what I refer to actually.

Interesting, because this is a rich text toolbar, which comes from old Cantor
part of code and works only in Text entries. Visible value inside the combo lix
actually wrong (bug). Also, is this element active in Command entries in your
Cantor?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421057] Cantor does not use system font by default

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421057

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
(In reply to avlas from comment #0)
> In my system it uses .Helvetica Neue Desk UI, I don't know why, even though
> my system font is Cabin.
> 
> Also, it may actually be good to have an option for specyfing font styles
> (regular and monospace) in settings, but by default Cantor should use
> system's.
> 
> This seems to happen in all backends.

Cantor via Qt load system font for all aplication. Do you really sure, that you
changed "Fixed size" system font? For example, see attachment #1

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 421057] Cantor does not use system font by default

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=421057

--- Comment #2 from Nikita Sirgienko  ---
Created attachment 128178
  --> https://bugs.kde.org/attachment.cgi?id=128178=edit
Cantor load system font

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

Nikita Sirgienko  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 Status|REPORTED|ASSIGNED

--- Comment #16 from Nikita Sirgienko  ---
Well, I will see, how behaviour can be improved in error handling.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #13 from Nikita Sirgienko  ---
Yes, the log looks correct, but as I see Cantor haven't catch any file in /tmp.
So, maybe, as you have said, flatpack Octave Just can't generate plot files in
/tmp directory

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #9 from Nikita Sirgienko  ---
As I have expected, your script from master not Octave script, but cmake
template for it. Real script will produce on install step and haven't contains
end ${PLOT_FILE_FORMAT}. Also, script extention is .m, but template extention
is .m.in

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #6 from Nikita Sirgienko  ---
Please post them.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

--- Comment #4 from Nikita Sirgienko  ---
So, after changing the file cantor_print.m from master to 20.04 version, the
error

error: print: unknown device ${plot_file_format}

gone right? Also, the file posting still will be usefull.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

--- Comment #13 from Nikita Sirgienko  ---
(In reply to avlas from comment #12)
> (In reply to avlas from comment #8)
> > I see, I totally misundderstood the autorun scripts, I thought there were
> > script files to run, not just octave commands, so I tried with the file path
> > to an m file, and nothing happened, now I understand.
> 
> This is just to confirm that if I replace in autorun scripts the path to
> cantor_startup.m in ~/.local/share/cantor/octavebackend/ (folder that cantor
> adds to the octave path at startup), to just the command `cantor_startup`,
> it just works. It's quite obvious but just wanted to mention for the case
> someone would like to create an external cantor_startup script instead of
> pasting one by one in cantor settings.

I suppose, that Cantor just need rename 'autorun scripts' to 'autorun
commands', which is actually more accurate. I think, this will be prevent
future misunderstanding.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 Ever confirmed|0   |1

--- Comment #10 from Nikita Sirgienko  ---
(In reply to avlas from comment #9)
> (In reply to avlas from comment #7)
> 
> > FYI, qt graphics is default in octave for quite some releases now, so this
> > solution you propose I think it's the way to go for the case a user
> > overrides the default with fltk in .octaverc
> 
> And I would suggest replacing ftlk with qt instead of gnuplot because, as I
> said, qt is default in Octave

I think, this depends from disto, for example on my system octave 4.2.2 'qt'
toolkit just not available (not mentioned in `available_graphics_toolkits`) and
fltk is a default (and this toolkit is broken, of course).
Of course, octave 4 is outdated now, but I think, better support situation like
this, because it is not very difficult for Cantor to do it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420959] Error plotting

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420959

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Well, could you please go to /usr/share/cantor/octavebackend and post here your
cantor_print.m file?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

--- Comment #4 from Nikita Sirgienko  ---
(In reply to avlas from comment #2)
> I confirm that .octaverc is executed at startup (the paths that I added
> there are visible in Cantor). However:
> 
> - Cantor executes some code afterwards and overrides its content, for
> instance: I set as specific graphics_toolkit qt, yet once I check it in
> cantor it says gnuplot and I need to specify it again manually in each
> session.

Yes, I have been checked code, and Cantor really set gnuplot as graphics
toolkit, when integrated graphics enabled. But you actually haven't need to
change it to 'qt' manually - use autorun scripts from Octave settings. I have
been add example (attachment #1).

> - Octave's workspace at startup is not initially seen in Cantor workspace.
> For instance, I set a variable in .octaverc like this `x = 2;` and it does
> not appear in Cantor workspace, but if I then type in the console `x`,
> Cantor correctly returns `2` at the time `x` and its value is added to the
> workspace.
Is you write 'x' in first executed entry? Because Cantor update variable list
(variable manager) only first executed entry. For example, my .octaverc works
as expected, see attachment #2

> So, can we make .octaverc the last bit that is executed at startup and have
> Cantor display Octave's initial workspace?
.octaverc can't be executed before Cantor startup because, Cantor init used
--eval octave option. But I think, Cantor can improve currect behaviour,
because  the idea of changing graphics toolkit to gnuplot is avoiding default
fltk, which can freeze octave program (and Cantor too) at all. So, instead of
current "always change toolkit" we can use "change toolkit if fltk" and I
think, this will be solve your problem, because you use 'qt' toolkit, not
'fltk' toolkit.

> Also, I cannot confirm that the script I configure in cantor octave backend
> settings is executed. Following the example above, I set a file in there
> where I have `x = 2;` and when I test it in Cantor, it says x is undefined,
> unlike when I do the same in .octaverc.
Well, this is strange. Do you sure, that after writing "x = 2;" you have
pressed "Add" button? Because this is needed for actual adding script to
autorun, see my attachment #3

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

--- Comment #5 from Nikita Sirgienko  ---
Created attachment 128166
  --> https://bugs.kde.org/attachment.cgi?id=128166=edit
Cantor and .octaverc

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

--- Comment #6 from Nikita Sirgienko  ---
Created attachment 128167
  --> https://bugs.kde.org/attachment.cgi?id=128167=edit
Example of using autorun scripts

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-05 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

--- Comment #3 from Nikita Sirgienko  ---
Created attachment 128165
  --> https://bugs.kde.org/attachment.cgi?id=128165=edit
Autorun script for changing graphics_toolkit

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420960] Startup script is not applied

2020-05-04 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420960

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
That do you mean by 'startup script'? Is it .octaverc startup script?
I have been tested this, and .octaverc run in Cantor Octave backend and also
graphics_toolkit works too.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420929] New: Bad working printing in dark theme

2020-05-02 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420929

Bug ID: 420929
   Summary: Bad working printing in dark theme
   Product: cantor
   Version: unspecified
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: cantor-b...@kde.org
  Reporter: warqu...@gmail.com
  Target Milestone: ---

SUMMARY
Using printing with black theme produce white paper with white text.

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

Nikita Sirgienko  changed:

   What|Removed |Added

   Assignee|cantor-b...@kde.org |warqu...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #10 from Nikita Sirgienko  ---
Well, I think, I known the problem. Looks like one of library (image library),
used by Cantor, named 'LibSpectre', broken. So, when Cantor try to use this
library, the library just have crashed and this is crashes Cantor too. This
problem have already discovered on openSuse, but now we know, that Manjaro is
damaged by this bug too.
In this situation, I usually have recommends to disable integrated plots (them
will just appears in separate window instead of Cantor window), but because of
another bug in 20.04 (already fixed, but the fix will appear only in 20.04.1
(after May 11, according KDE scheldure, but I haven't known a lot of about
Manjaro packages sheldure)), this strategy won't work in the Octave backend
until 20.04.1
I also have plan to add some settings for the Octave backend (allow force use a
png format for plots, which less functional, but don't use libspectre) , which
will also allow to avoid libspectre problem, but this also will be available
only after 20.04.1

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

--- Comment #8 from Nikita Sirgienko  ---
I see. Do you have crash report from Cantor or something like that? Also, do
you have installed Cantor from Manjaro repos or built manually from source?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

--- Comment #6 from Nikita Sirgienko  ---
Created attachment 127952
  --> https://bugs.kde.org/attachment.cgi?id=127952=edit
Worked plot

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

--- Comment #5 from Nikita Sirgienko  ---
Could you please go to Octave settings, disable checkbox 'Integrate Plots in
Worksheet', start new octave worksheet and write this command?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

--- Comment #3 from Nikita Sirgienko  ---
Also, if I am not mistaken, your code just not workable. You declare symbolic
function named 'function', but the word 'function' reserved by Octave, so, if
you will run this in Octave, you will got something like that


>> syms function(x,y)
error: assignin: invalid assignment to keyword 'function'
error: called from
syms at line 175 column 7



Could you will try this?

pkg load symbolic
syms x
syms y
syms f(x,y)
f(x,y)=sin(x)+y
ezsurf(f(x,y))


-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 420708] Crash using ezsurf

2020-04-28 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=420708

Nikita Sirgienko  changed:

   What|Removed |Added

 CC||warqu...@gmail.com

--- Comment #1 from Nikita Sirgienko  ---
Hi, could you please specify the Cantor version?

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 418358] Tabs action don't work as expacted in particular situation

2020-04-19 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=418358

Nikita Sirgienko  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 418665] Latex typesetting doesn't work with sage 9.0

2020-03-24 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=418665

Nikita Sirgienko  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|ASSIGNED|RESOLVED

-- 
You are receiving this mail because:
You are watching all bug changes.

[cantor] [Bug 418665] Latex typesetting doesn't work with sage 9.0

2020-03-15 Thread Nikita Sirgienko
https://bugs.kde.org/show_bug.cgi?id=418665

Nikita Sirgienko  changed:

   What|Removed |Added

   Assignee|cantor-b...@kde.org |warqu...@gmail.com
 CC||warqu...@gmail.com
 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #1 from Nikita Sirgienko  ---
Hi, on this moment, LaTeX support on Sage disable by default, because output
not always correct latex expression (if my understanding of LaTeX is correct).
If you still want to try Sage with LaTeX, you can use a command `%display
latex`

-- 
You are receiving this mail because:
You are watching all bug changes.

  1   2   3   4   >