LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String Ctrl-C/Ctrl-X Bug

This applies to ANY string-containing object (Control/Indicator, Constant, Properties window, etc).

 

When editing a string and using the Ctrl-C (respectively Ctrl-X) shortcut when nothing is selected (admittedly pointless, but something that works -and does nothing- in other programs I have tested), the result is a character "c" (respectively "x").

 

Tested in LV 13, Windows XP 32 bits

Message 1 of 50
(3,619 Views)

I confirm that it occurs on the Mac version of LV 13 also. It behaves the same way in LV 12.

 

Lynn

0 Kudos
Message 2 of 50
(3,610 Views)

I just checked on LabVIEW 7.1 (Windows XP) and it was already present. I would bet that it has been here ever since LabVIEW was introduced.

0 Kudos
Message 3 of 50
(3,599 Views)

I tried several non-LV programs. The Apple programs (Safari, Mail, TextEdit) sound the system Alert Sound when Cmd-X or Cmd-C is pressed with nothing selected. Third party programs just do nothing.  No program I tried did what LV is doing. The LV behavior is clearly inappropriate.

 

Lynn

0 Kudos
Message 4 of 50
(3,596 Views)

I would call this "Expected Behavior."   I've always expected LabVIEW to act this way since it always has.  This may be less than optimally aligned with paradigms in other applications (so is Zoom - but, you know that too.)   I would be willing to bet that the "Other" applications you tried this with do not follow conventions prevallent while LabVIEW integration to the clipboard features were under development.

 

  I'm not convinced that a radical change to align with another paradigm for clipboard operations would offer more benefits to developers than frustrations.  Of course, I still look for Window>>VI Hierarchy sometimes so, this might just be my problem, not a common opinion.Smiley Wink

 

You can always float the thought on the Idea Exchange...


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 50
(3,564 Views)

Jeff, I think that makes sense, now that you have exposed it in detail. If I were to post this "problem" on the idea exchange, I guess I would suggest that the outcome of a pointless "Ctrl-C" or "Ctrl-X" should be user-selectable. For instance, it could be used to paste curse words in a string, or trigger a jingle, or whatever else... What do you think? After all, LabVIEW doesn't have to bother with following standard practice in text-based software, does it?

 

0 Kudos
Message 6 of 50
(3,498 Views)

> I would call this "Expected Behavior."


With such low expectations you must be one happy fellow.  Smiley Happy

 

> ...operations would offer more benefits to developers than frustrations


I should probably pick on AQ here since he has expressed a similar world view a few times recently and gets paid the big bucks to hear us complain, but Jeff queued it up so here goes (not picking on Jeff BTW).  There are three seats at the table, the folks at NI who develop LV, folks inside and outside NI who develop software using LV, and the folks who use the software we develop with LV.  The first two groups are heavily overrepresented in discussions around here, and unless you sit in the third seat once in a while it is easy to neglect them.  When I get spun up it is usually trying to make the voices of the third group heard.  When I really want NI to do something it is often to make my code better for the users, not to make my life easier as a developer (although the two tend to go hand in hand).

 

LV has caused plenty of pain to my backside area in the past couple of decades, and yet I still come back for more.  If this "behavior" was an issue of causing pain to developers, my queue of pet peeves is pretty long and there is always room for one more.

 

The issue here IMO, is that this behavior causes annoyance, confusion and frustration to users of code written in LV.  They may not have chosen LV, or even know what it is.  They want a piece of software that works.  When they see behavior like this that is outside the norm, they do not care that it happens to be the way LV is, they want it fixed.  So yes, I have to put custom handling in all UI strings to properly handle basic cut/copy/paste operations, and not just this behavior. 

 

So I have to be Maude Flanders around here, "Won't somebody please think of the children!". 

 

This is a BUG!

 

I am always curious in these situations.  Is it a lack of code that causes this (unhandled case), a byproduct of other code, or the intended result of code that is in there.  It feels like this was done on purpose, the user pushed a key, we have to do something.  The grey area is what should the clipboard contain.  Most software I have tested leaves the clipboard alone with an empty cut/copy, I could see the desire to clear the clipboard in that case.  That is kind of what I asked for isnt' it.  What I didn't ask for is a letter x or c.

 

Message 7 of 50
(3,483 Views)

Couldn't say it better, and BTW, just in case, my previous post was intended to be humorous.

For NI's eyes only: look for "X_Bug_Report" tags for CARs like this one waiting to be filed. Thanks.

0 Kudos
Message 8 of 50
(3,475 Views)

@X. wrote:

Couldn't say it better, and BTW, just in case, my previous post was intended to be humorous.

For NI's eyes only: look for "X_Bug_Report" tags for CARs like this one waiting to be filed. Thanks.


I'm on your side, too.  It is definitely UNexpected behavior, as far as the user is concerned.

 

Now if it never followed the ctrl-c/ctrl-x convention in the first place, that would be a different story...

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 9 of 50
(3,466 Views)

I would not consider myself to have low expectations  (And thanks for not picking on me)

 

Clipboard operations need to expire the same way the dodo did.  I could not care less for them!  They exist as a stopgap to real information handeling. 

 

I have a piece of gear that stores data.  Why do I need "Tricks" to "move" that data?

 

"Swipe" through that object and link it to a 3D diagram.... Yes,Ideally I could walk around an iconic representation of code, pick a source node and fling it to a sink.  Toss up a virtual pane (or five) and populate them with data displays.  "Z-Order" takes on a holographic new dimention!  "Step into" becomes a reallity not a mere figure of speach! 

 

"Fixing" LabVIEW to mimic outdated paradigms is IMHO folly.  The OS needs an upgrade.


"Should be" isn't "Is" -Jay
0 Kudos
Message 10 of 50
(3,462 Views)