Author Topic: Lock Tab / ReUse Tab / Open all files read only  (Read 974 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #15 on: May 20, 2011, 07:47:30 am »
smtg like this i had in mind

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #16 on: May 20, 2011, 10:04:09 am »
Quote
Alex> And also very important: I like the feature
And that counts double.
Can be of course, but I have tried to be honest, when I placed in 3-4 place in priorities. If I do not like the bug fix and it is heavy to correct the stuff I any way will do this, even if I do not like... With usability, it is of course not so clear: because "yours" usability criteria should match "my" :)

Quote
I have to test this, but with "associate" you mean system-wide? Then i would open all files in Viewer? And this is not portable.
Yes, system wide. Or you can use context menu instead of double click. The no association necessary.

With screen shot: is it Total Commander? I see some function called "lock" exist, but I would like to check how it is implemented - logic.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #17 on: May 20, 2011, 10:31:52 am »
With screen shot: is it Total Commander? I see some function called "lock" exist, but I would like to check how it is implemented - logic.
Yes, Total Commander.
With file manager this "lock" has an other meaning:
* Lock >  prevent from closing and open new tab for "change directory" command
* Lock, allow browsing > prevent from closing

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #18 on: May 20, 2011, 10:49:12 am »
Quote
A> You need to "explain to user" that such LOCKED tab can be only one. Explain in UI.
It would be enough if this feature would be greyed-out if it is currently used. And it would be explained into the tool tip.
Smth like this: Please, find another tab which is marked as reused, this can not be.
It should be an exclusive switch, which removes "lock" from one tab and set it to new one...

For me, global flag, with opening of new tab, if current is modified, looks more logical and clear..

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #19 on: May 20, 2011, 11:10:40 am »
Smth like this: Please, find another tab which is marked as reused, this can not be.
It should be an exclusive switch, which removes "lock" from one tab and set it to new one...
Ah, i see where you came from. That's why i thought about some kind of flag for the tab like an little icon (which you don't provide right now, i remember. But perhaps smtg like "untitled1 (Locked)") to easily spot the locked tab.

For me, global flag, with opening of new tab, if current is modified, looks more logical and clear..
Still no time to imaging how this works, sorry, later i will, stay tuned.
(i have my opinion of course already, but i will take the change to imagine how this will work before i answer)


And BTW, i didn't expect anything of my suggestions implemented for 1.4* . Maybe 1.52. I just post what i see missing from my POV.

OTOH, if it is easy for you to implement the VS style.... would it be too much to do this .... and talk about my idea later on for 1.6?
Having both options.


give me the weekend

.

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #20 on: May 20, 2011, 02:25:41 pm »
:)

"Locked" term is already occupied, by "Locked" file state (file locked by another process).

It need another icon on tab in addition to read-only. Maybe something like "pin". Generally, maybe this is right term for this, because I am sure that something like this I have already seen in one of editors...

Yes, I understood :) Truthfully, both ways, are not too complex to implement. And maybe you are right, they are intersect but not equivalent.
Let keep them in ideas, and as far I will have free time, I will see what is possible.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #21 on: May 22, 2011, 12:30:49 pm »
The VS style "reuse tab if not dirty,  else open new tab"
would work but is not 100% satisfying for me because i will get new tabs often then too. But it's OK.

An implementation to enable this NON-tab-wise but for each tab would be not-good for me because
most tabs i simple didn't want to be reused, so i have to always enable and disable that feature for my work.

My idea was to have an dedicated tab to use for this lock and reuse thinggy
and all other tabs works as normal (as this feature is not enabled).

If i want to read a few files without to open a lot of new tabs i would activated "my" locked tab.

Maybe at the end its all about how easy i can enable/disable this feature, then VS-style reuse tab would fit too.
Again, i didn't expect this feature right now... after 1.5 is OK too! :D

Offline Alain

  • Newbie
  • *
  • Posts: 32
  • Karma: +1/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #22 on: May 22, 2011, 01:41:44 pm »
Hello

I don't agree  :-[
If you append a new choice for Tab I think this choice in the context menu must be for all Tabs.

So If you don't make any modification in "ReUsed" Tab, that's work as you ask.
But il you make a modification inside text, the standard of HE replace this special "ReUse"
Then you must ask another "ReUse"

Normally, as you write, it's onlu for read text : So this tab will be reused often...

I think this is more global, and more clear : all tab work same
A> New feature should be transparent to user, without reading docu, and not only known by requester or developer.
Full ack., of course. That's my credo too.

Have a good day
Alain

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #23 on: May 22, 2011, 02:33:22 pm »
Such "reuse" flag should be available in context menu of any tab, but state of it should be exclusive. If you set it for one tab, it should be removed for previous one.
I also agree with Alan about if tab is modified, new tab should be open which will get "reuse" flag set automatically (this removes the flag from previous tab). Maybe this situation can be solved in a way that if your current reuse tab is modified, you will get a popup, asking you save, not save or cancel. Cancel in this way will lead to leaving of the current tab open and opening of the new "reuse" tab. But this is also not transparent, maybe new popup, with request to open a new one or saving and reusing current one will be better. And popup with "do not ask again", so this will be one time decision based on user preferences. More or less self explainable...

With such "reuse" feature, for me still not clear a scenario, than not a current tab used for reuse... This will mean that some open document, in tab which is invisible, will be silently replaced. I do not like the situation, that you do no see what is replaced...

But I would repeat, I think it is good in this case to have both as VS as this "reuse" tab way.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #24 on: May 22, 2011, 02:55:38 pm »
AH, if doc is dirty open new tab which inherits the reuse-flag?
Nice one :thumpsup:

Alex>not clear a scenario,...,in tab which is invisible, will be silently replaced
No. The reuse-option would be only active if that special reuse-flagged tab is the active one.
My point is to use only one tab and only if this is the active one.
If an other tab is active i didn't want to use this reuse feature.
If i need this reuse feature i would go to my reuse-flagged tab or flag an another tab for reuse.
OK, for "how to build this into the gui" i can imagine the "Reuse" item is NOT greyed-out, but just set the current tab to reuse (maybe with an confirm dialog like "already tab #3 is flagged")

Once you are ready to implement such feature please provide an intern test build so we have an better impact of the work flow.

.

Offline Alain

  • Newbie
  • *
  • Posts: 32
  • Karma: +1/-0
    • View Profile
Re: Lock Tab / ReUse Tab / Open all files read only
« Reply #25 on: May 22, 2011, 09:46:46 pm »
May be...

ST>>My point is to use only one tab and only if this is the active one.
If an other tab is active i didn't want to use this reuse feature.[/move][/move]


I agree. If the "ReUsed" Tab is not active... a solution as best of two worlds :

Open directly a New Tab (HE standard) and the last one become standard
OR
Display a pop message : "Use the inactive Tab marked ReUse ? Yes No"
Yes = active and display the precedent Tab
No = new one and the precedent become standard
( Default to Yes ou No ? :-[ )
with check for "Don't ask again"

My preference for the second solution
Have a good day
Alain


 

Related Topics

  Subject / Started by Replies Last post
0 Replies
1382 Views
Last post June 29, 2008, 04:19:47 pm
by alex
1 Replies
385 Views
Last post February 25, 2009, 10:21:24 pm
by alex
7 Replies
754 Views
Last post March 21, 2009, 11:42:54 pm
by Stefan
3 Replies
483 Views
Last post April 19, 2009, 08:42:05 am
by Stefan
3 Replies
997 Views
Last post April 29, 2009, 11:03:59 pm
by alex