Jump to content


Double click to edit file selects different pending changelist


  • Please log in to reply
3 replies to this topic

#1 DaveCh

DaveCh

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 15 June 2018 - 10:59 AM

P4V/NTX64/2018.2/1666551

I've got several pending changelists and one of them has a number of text files.

If I right-click and select Open on a file, make some changes in Notepad and save it, all is fine.

If I double-click on a file, make some changes in Notepad and save it, P4V issues a "p4 reopen -c NNNNNN" command and moves the file into one of the other pending changelists.

Looks like double-click on a file doesn't correctly determine which changelist it belongs to, it chooses a different one each time.


Dave

#2 p4rfong

p4rfong

    Advanced Member

  • Staff Moderators
  • 285 posts

Posted 22 June 2018 - 12:06 AM

I cannot reproduce the problem with P4V/NTX64/2018.2/1666551.
I created several changelists and in P4V, View, Pending Changelists, I double-clicked files, made changed, and clicked File, Save, File, Exit in Notepad, and the file remained in its changelist.  When double clicked, does the file move to a nearby one in the View, Pending Changelists view or can it jump to a completely different changelist?

#3 DaveCh

DaveCh

    Advanced Member

  • Members
  • PipPipPip
  • 40 posts

Posted 26 June 2018 - 01:13 PM

It seems to be something to do with how P4V captures the mouse. In my case when I double click on the file in P4V, Notepad opens directly over the top of P4V. When I make changes and close Notepad, it pops up a dialog asking if I want to save the changes. I then click on the Yes box using the mouse. At this point Notepad vanishes, P4V is active again and it seems to be interpreting the next mouse movement as dragging - it'll either move the file to another changelist or display a diff as though I'd dragged it over another file.
Maybe it opens Notepad on the second press of a double click and doesn't receive/handle the mouse button up event?

#4 bmsimpson

bmsimpson

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 27 June 2018 - 08:00 PM

I am having this same issue, and it's causing quite a problem since it's moving files from one changelist to another without the users knowledge.

I have several pending changelists created.  When I double click on a txt based file (though it uses a .car extension in our systems) it will open it in Textpad as I have those files setup to do.  But, the file will then be moved from the current pending changelist to another.   The file doesn't have to be edited, or anything else, just double clicking it will cause the file to be moved.   If I right click and open it with a specific application it won't be moved.

Rev: P4V/NTX64/2018.1/1637591

System information below:

Connection:
User name: Brian_Simpson
Workspace name: BRIAN
Workspace host: BRIAN
Workspace root: F:\p4_fileserver1666_BRIAN
Current directory: f:\p4_fileserver1666_BRIAN
Workspace address:
Security: enabled
Server Name: Perforce
Server address: perforcesrv:1666
Server root: D:\Perforce
Server date: 2018/06/27 15:55:11 -0400 Eastern Daylight Time
Server uptime: 1100:45:47
Server version: P4D/NTX64/2017.1/1511680 (2017/05/05)
Server license:
Server license IP:
Password: enabled
Monitor: enabled
Server case handling: insensitive
Minimum Client Level: 2015.1: 78
tzoffset: -14400
clientLock: none
clientCase: insensitive
peerAddress:
serverServices: standard
Application:
Helix P4V version: Helix Visual Client/NTX64/2018.1/1637591
Qt build library: 5.8.0
Qt runtime library: 5.8.0
Disabled features: P4Swarm, UnloadReload, Streams
Server refresh interval: 5 minute(s)
Maximum files displayed per changelists: 1000
Maximum file preview size: 100 k-byte(s)
Entries fetched at a time: 10000
Perforce Applet Configuration:
Checking permissions table for central settings file
Central settings file specified for user: no path found in permissions table
Computer:
OS name: Microsoft Windows 10 Home Premium Edition, 64-bit
Version: 10.0.17134 Build 17134
System name: BRIAN
System manufacturer: ASUS
System model: All Series
System type: x64
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor: Intel® Core™ i7-4790K CPU @ 4.00GHz
Processor revision: 3c03
Total physical memory: 15.94 GB RAM
Available physical memory: 9.15 GB RAM
Total virtual memory: -2147483,-648 KB RAM
Available virtual memory: -2147483,-648 KB RAM




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users