Giter VIP home page Giter VIP logo

Comments (6)

Tom94 avatar Tom94 commented on September 25, 2024 3

Asked around locally and it seems everyone I talk to has the same experience, so I went ahead with the change. From now on Ctrl+C always copies the image and Ctrl+Shift+C copies the path.

from tev.

tomasiser avatar tomasiser commented on September 25, 2024 2

I see, thanks, I found the relevant part of the code in ImageViewer.cpp, lines 711-744. So it seems that mImageScrollContainer->focused() is the deciding factor.

It's hard to reproduce properly, but I swear that many times even when I click into the canvas, Ctrl+C is not copying the image and it copies the path instead.

I will try to use tev with the command line open so I can see the log messages.

If I don't manage to reproduce it systematically, we can close this issue

from tev.

Tom94 avatar Tom94 commented on September 25, 2024

Hi, Ctrl+C copies the image itself if you previously clicked on the canvas region and it copies the path if you previously clicked on the path (in the image list to the left). If you haven't clicked anywhere after opening tev, it'll copy the image.

from tev.

MKimiSH avatar MKimiSH commented on September 25, 2024

I feel the same about Ctrl+C sometimes. Now when I want to copy the image, I click 3x on the canvas and press 3x Ctrl+C. Works so far 😅

from tev.

Tom94 avatar Tom94 commented on September 25, 2024

Given that 3 power users (also counting @diiigle since he reacted) run into this, I wouldn't mind changing the behavior such that Ctrl+C always copies the image and Shift+Ctrl+C always copies the path.

Any objections / contrary opinions from someone watching?

from tev.

MKimiSH avatar MKimiSH commented on September 25, 2024

First, thanks for counting me as a power user 😁

In my opinion, the current behavior is OK, but I would welcome having Ctrl+Shift+C copying the path and Ctrl+C the image.

I actually believe that it could be less of an issue with Tev, but more of a mismatch between expectation and reality about whether Tev's canvas is focused. It often happens to me that Tev is showing on another screen, and I did some Alt+Tabs hoping to get it in focus but not actually succeeding, causing the subsequent Ctrl+C to fail.

from tev.

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.