Coder Social home page Coder Social logo

Comments (7)

gnosygnu avatar gnosygnu commented on September 16, 2024

Hmm.... this might be a Windows 10 issue. I haven't personally run XOWA on it..

I wasn't able to reproduce now on my XP box. I list my steps below. Can you try to reproduce on your side and let me know if it fails? If it does fail, I'll try to get a Windows 10 box to reproduce.

Thanks!

  • Run XOWA
  • On the Main Page, use the mouse to highlight "From XOWA: a free, open-source, offline wiki application"
  • Off the Main Menu, pick Edit -> Copy
  • Close XOWA
  • Open Notepad
  • Off the Main Menu, pick Edit -> Paste. The contents should be pasted.

from xowa.

paulkaefer avatar paulkaefer commented on September 16, 2024

I just tried, following your exact steps. It does not paste.

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

Sorry for the extremely late follow-up. I'm still trying to get a Windows 10 machine for setup. I recently freed up a spare machine, so I'll install Windows 10 on it and try to reproduce.

from xowa.

WeaverStever avatar WeaverStever commented on September 16, 2024

I'm on Ubuntu 14 and I'm also having problems with the copy/paste buffer, in the edit mode, but it does work on the published content (and the copy command is displayed in the right click context menu).

In Editing Mode:

  1. Both the Edit menu Copy and CTRL-C will not copy text (en.wikipedia.org).
  2. The Edit menu Select All does not work
  3. No copy or paste command displayed in the right click context menu

On other unwieldy trait, the search function is case specific, which takes some getting used to.

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

Hi! Thanks for the detail!

I'm on Ubuntu 14 and I'm also having problems with the copy/paste buffer

For context's sake below, I'm on openSUSE Leap 42.1. I don't have a Ubuntu box handy, though I'll try to download a Live install

In Editing Mode:

  1. Both the Edit menu Copy and CTRL-C will not copy text (en.wikipedia.org).

For openSUSE, Ctrl-C does work though the menu Copy does not. On Windows, they both work.

  1. The Edit menu Select All does not work

Both openSUSE and Windows handles Select All

  1. No copy or paste command displayed in the right click context menu

Yup. Confirmed. I must have missed this.

Just a technical note. Clipboard operations (Cut / Copy / Paste) and Select All are difficult with SWT and the browser. This is because the browser is a pretty coarse Java interface, and there isn't a simple method like "getSelectedHtml".

Right now, XOWA does this by sending Ctrl+A and Ctrl+C keystrokes. This worked on Windows but doesn't work across all varieties of Linux.

I'll look at it again this week / next week and try to call Javascript directly

On other unwieldy trait, the search function is case specific, which takes some getting used to.

Hmm. Search is actually case-insensitive. For example, in the home wiki, if you search for "ab" you'll pull up "Help/About" and "Diagnostics/Xtns/Score/ABC". Note that Linux distro doesn't matter as the database only has case-insensitive search data.

When you get a chance, let me know what search term you're using and what you're expecting (but XOWA is not showing)

from xowa.

WeaverStever avatar WeaverStever commented on September 16, 2024

More clues;
I checked the Edit mode again this morning, CTRL-C does work, but only on the first instance of using it. Otherwise the buffer stays full with the original copied content. CTRL-X seems to work as expected, I was able to cut and paste to an external editor multiple times.

The search function I'm referring to is within Edit mode. ( I guess I should have made that number 4 to be clear.) Conversely, when searching for an article title, that search function works as expected (not case sensitive).

The problem(s) seem to only be with Edit mode.

One other kind of big thing, I'm not seeing a Cancel button to exit Edit mode, the Back Arrow does not work for this. Close Tab seems to be the nearest substitute, not very handy though if I just want to start my edit over without committing changes.

Thanks!

from xowa.

gnosygnu avatar gnosygnu commented on September 16, 2024

Thanks for the follow-up. I reply inline below.

CTRL-C does work, but only on the first instance of using it. Otherwise the buffer stays full with the original copied content.

That's strange. XOWA doesn't intercept the CTRL-C keystroke deliberately so this may be an interaction between SWT and Ubuntu. I won't know more till I set up a Live Install later

CTRL-X seems to work as expected, I was able to cut and paste to an external editor multiple times.

Same as above as XOWA doesn't intercept Ctrl-X

The search function I'm referring to is within Edit mode. ( I guess I should have made that number 4 to be clear.)

That's also strange as XOWA defaults to case-insensitive "text-finding" by default. I confirmed this just now by doing the following:

  • Going to "home/wiki/Main_Page"
  • Clicking "Edit"
  • Typing in "dis" -> "Disclaimer" is selected

XOWA does allow toggling case-sensitivity. Can you try the following:

  • Press "Ctrl-F" -> The find box opens
  • Press "Alt-C" -> You should see a message in the status bar saying "Case match enabled". Keep pressing "Alt-C" until it reads "Case match disabled"
  • See if the case-sensitivity changes

Conversely, when searching for an article title, that search function works as expected (not case sensitive).

Cool. Glad we're on the same page.

I'm not seeing a Cancel button to exit Edit mode, the Back Arrow does not work for this. Close Tab seems to be the nearest substitute, not very handy though if I just want to start my edit over without committing changes.

Fair enough. I didn't realize that Wikipedia's Edit mode has a Cancel button. I'll add that in for the next release. Thanks for pointing it out!

from xowa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.