#3198 closed bug (fixed)
System cursor often does not update at the correct time.
Reported by: | diver | Owned by: | stippi |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Servers/app_server | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
Open Pe
Right click text view and select "Save"
Notice that cursor is I-beam
Attachments (1)
Change History (15)
comment:1 by , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Component: | User Interface → Servers/app_server |
---|---|
Resolution: | invalid |
Status: | closed → reopened |
This is actually an app_server problem I recently introduced when I reworked the reference counting of server side cursor resources. It affects other parts of the system. For example, drag a folder from a non-boot partition into a Terminal while passing the Desktop with the mouse. Since the Desktop is on the boot volume, the cursor will change to indicate a file copy would take place if you dropped it there. In the Terminal, after releasing the mouse to drop the folder there, the copy cursor is still being displayed. The specific change I did which could have caused it is that ServerApp had a pointer to the current system cursor, but didn't have it's own reference, which means the pointer could go stale. Now it keeps the reference, which is correct, but seems to point at a problem in the code elsewhere.
comment:3 by , 15 years ago
Summary: | [Pe] I-beam cursor in save dialog → System cursor often does not update at the correct time. |
---|
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I thought Axel fixed this recently. And I cannot reproduce the problems I mentioned above anymore. Even when I right-click a document in Pe, the cursor immediately changes to the hand-cursor within the context menu. It changes back immediately to the beam-cursor when I leave the context menu and immediately back to the hand-cursor when I re-enter it. When I select Save, a file panel opens up, the cursor changes to beam as soon as I move the mouse. I would say this bug is fixed and the remaining issue is a Pe issue. If there even is one. I cannot reproduce the original issue at least.
by , 15 years ago
comment:7 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Yes, I can reproduce it now, thanks for the screenshot. The save panel consistently seems to be using the beam-cursor. If you move the pointer out of the panel, it changes to the system cursor (not above the Pe document of course), and back to the beam cursor when moved back over the panel. This is not the issue I pointed out in comment 2.
comment:8 by , 15 years ago
Just thought of this: If Pe uses the BApplication to set the cursor, then it's indeed a Pe bug (since that's application wide). It should use BView::SetViewCursor. Would have to check the souce, leaving open until me or someone does.
comment:9 by , 15 years ago
Version: | R1/pre-alpha1 → R1/Development |
---|
follow-up: 11 comment:10 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
This is indeed a Pe bug, not very surprising, though, as it works everywhere else.
comment:11 by , 15 years ago
Replying to axeld:
This is indeed a Pe bug, not very surprising, though, as it works everywhere else.
Although I think I've seen such a problem within BTextView too. When moving from selected to non-selected text and vice-versa, the cursor isn't changed correctly.
comment:12 by , 15 years ago
In Beam it works fine. In other BTextViews, it seems to upate after a while, which could be due to SetViewCursor() not being called with the "immediate" flag. Then it happens whenever the link flushes.
For Pe related bugs, please file bug reports on Pe's website: http://pe-editor.berlios.de/
I've opened this one over there, and closing it here.