STEPS TO REPRODUCE 1. launch KMM 2. highlight any money field on Home page 3. right click on highlight 4. the Copy option is no longer available
I am unable to duplicate the behavior with a native application installed but see the problem using the latest stable AppImage. The latest master AppImage does not have the problem either. The stable branch is either using QWebEngine or QWebKit for the display of the homepage whereas master is using the QTextBrowser. I am using Qt 5.12.7 when building, the AppImage is based on Qt 5.15.2. Looks like my local version is using QWebEngine and the AppImage is build with QWebKit. What your version is based on? I expect the cause to be somewhere in that area. Just too many options.
(In reply to Thomas Baumgart from comment #1) > I am unable to duplicate the behavior with a native application installed > but see the problem using the latest stable AppImage. The latest master > AppImage does not have the problem either. The stable branch is either using > QWebEngine or QWebKit for the display of the homepage whereas master is > using the QTextBrowser. I am using Qt 5.12.7 when building, the AppImage is > based on Qt 5.15.2. Looks like my local version is using QWebEngine and the > AppImage is build with QWebKit. What your version is based on? I expect the > cause to be somewhere in that area. Just too many options. In synaptic, qt packages are all 5.15.3
Ubuntu is 22.04 LTS.
This discovery further complicates this bug: In Reports/Investments/Investment Performance by Type, right clicking on a selected area DOES work as expected and provides the user with the option to Copy.
This problem also affects Fedora 36.
I just removed kmymoney and kmymoney-common packages using synaptic. I then downloaded appimage #385. The inability to copy still persists. Do you have a fix?
Per Thomas' comment #1 it seems like you need to find a version compiled with QWebEngine instead of QWebKit, as long as you are running stable (5.1.x) instead of master. I am aware that is far more easily said than done. One way would be to compile your own version. It might also be possible to find a "working" version from a different distribution, as long as it is reasonably easy for you to install in place of the Ubuntu version. However, as a separate possibility, what graphics system are you using? With Xorg, if you select any text, is is put in the X cut buffer (not sure if that's the proper term) and you can paste it with a middle mouse click (it will paste where the cursor it, so a single left click at the target before pasting is a good idea.
(In reply to Jack from comment #7) > Per Thomas' comment #1 it seems like you need to find a version compiled > with QWebEngine instead of QWebKit, as long as you are running stable > (5.1.x) instead of master. I am aware that is far more easily said than > done. One way would be to compile your own version. It might also be > possible to find a "working" version from a different distribution, as long > as it is reasonably easy for you to install in place of the Ubuntu version. > > However, as a separate possibility, what graphics system are you using? > With Xorg, if you select any text, is is put in the X cut buffer (not sure > if that's the proper term) and you can paste it with a middle mouse click > (it will paste where the cursor it, so a single left click at the target > before pasting is a good idea. Since appimages are supposed to be stand alone products, why not "just" compile a version with QWebEngine instead of QWebKit and call it #386?
On my recent Core i7 CPU, this appimage #385 loads as slow as molasses. Is this normal? Is there a deb file?
There is likely a deb file available for any distribution that uses that format for packages, but KDE does not provide any. https://repology.org/project/kmymoney/versions lists available versions by distro, but does not say what format each uses. Unfortunately, it appears distrowatch no longer covers kmymoney, as of last December. The issue with creating appimages is that the KMyMoney team does not have full control over the system on which they are produced, and so do not always have full choice of alternate libraries (i.e., QWebEngine vs. QWebKit.)
(In reply to Jack from comment #10) > There is likely a deb file available for any distribution that uses that > format for packages, but KDE does not provide any. > https://repology.org/project/kmymoney/versions lists available versions by > distro, but does not say what format each uses. Unfortunately, it appears > distrowatch no longer covers kmymoney, as of last December. > > The issue with creating appimages is that the KMyMoney team does not have > full control over the system on which they are produced, and so do not > always have full choice of alternate libraries (i.e., QWebEngine vs. > QWebKit.) A money management software from which it is no longer possible to copy/paste is severely crippled. For some, it may no longer be usable. Can you please find a way, moving mountains if necessary, to make this basic copy/paste functionality work.
Are you running Xorg? If so, have you tried selecting with the mouse and then pasting from the xbuffer with a middle mouse click? That's how I mostly do it, whether or not the full copy/paste works or not. Also, copying DOES work - depending on how the program is compiled. The KMyMoney team does not control how each distribution compiles the program. Have you asked your distribution if they will consider compiling KMyMoney with QWebengine instead of QWebKit? I'm sure the developers will look into whether the Appimage version can be compiles with QWebEngine, but, as I said, that may not be possible.
(In reply to Jack from comment #12) > Are you running Xorg? If so, have you tried selecting with the mouse and > then pasting from the xbuffer with a middle mouse click? That's how I > mostly do it, whether or not the full copy/paste works or not. > > Also, copying DOES work - depending on how the program is compiled. The > KMyMoney team does not control how each distribution compiles the program. > Have you asked your distribution if they will consider compiling KMyMoney > with QWebengine instead of QWebKit? I'm sure the developers will look into > whether the Appimage version can be compiles with QWebEngine, but, as I > said, that may not be possible. My distribution (Ubuntu 22.04) uses Wayland. Xorg, through great efforts, has been deprecated, as far as I know. How do you explain comment 4? Why does the copy/paste work there? If it can work there, why not everywhere?
(In reply to Pete from comment #5) > This problem also affects Fedora 36. Out of interest what window manager are you using? KDE, Gnome or something else? I see the same issue using Gnome on Fedora 36.
(In reply to Ian Neal from comment #14) > (In reply to Pete from comment #5) > > This problem also affects Fedora 36. > > Out of interest what window manager are you using? KDE, Gnome or something > else? > I see the same issue using Gnome on Fedora 36. Ubuntu 22.04 default version of Gnome, which is slightly different than Gnome from Fedora (gnome.org)
I don't use Wayland, so I don't know if it has any equivalent of Xorg's xbuffer. I would try to look into that, at least as a temporary workaround. I would also ask the Ubuntu devs if they would consider building KMyMoney with QWebEngine instead of QWegKit. They may not agree, but it isn't going to change if nobody asks. As for why KMyMoney does not behave identically in all Views, different pages are generated using different underlying libraries. The layout approach for each view was chosen by the developer when that view was originally created (or during a major re-write.) Given that master seems better than 5.1 right now (at least for the Home Page) indicates we are moving in the right direction, even if not fast enough for everyone. Unfortunately, backporting the changes in the Home Page from master to 5.1 is just not feasible. There are also not enough developer hours to address everything every user wants. Their time is being spent on what they think is most important to the overall progress of the program.
>ask the Ubuntu devs if they would consider building KMyMoney with QWebEngine instead of QWegKit Would it not be easier to enhance QWebkit?
Which Linux distro is configured by default to properly run KMyMoney with QWebEngine? I am thinking of running these in a virtual machine.
it is not how it is run, it is how it is compiled, and I do not know of anywhere such information is collected. I suspect you can download a distribution's package, unpack it, and run ldd on the kmymoney executable. and grep -i for qweb or qtq5web. Otherwise, you would have to ask on a distro forum or mailing list. It is also not that hard to compile from source yourself, and then you have full control over all build options.
(In reply to Jack from comment #19) > it is not how it is run, it is how it is compiled, and I do not know of > anywhere such information is collected. I suspect you can download a > distribution's package, unpack it, and run ldd on the kmymoney executable. > and grep -i for qweb or qtq5web. Otherwise, you would have to ask on a > distro forum or mailing list. > It is also not that hard to compile from source yourself, and then you have > full control over all build options. >It is also not that hard to compile from source yourself Where can I find complete instructions on how to do that?
You can start at https://invent.kde.org/office/kmymoney/-/wikis/home. It is not very difficult, but if you are not used to compiling from source, it can be daunting just to get basic development environment set up, as you need development versions of many packages since the regular packages exclude many files needed for compiling. If nothing else, it's a great way to learn more about software development. Note that if you do have questions or get stuck, feel free to ask for help - but not in this bug. See https://kmymoney.org/support.html for the various support options available.